diff options
| author | Petteri Räty <github@petteriraty.eu> | 2024-12-03 14:11:03 +0200 |
|---|---|---|
| committer | Eric Biggers <ebiggers3@gmail.com> | 2024-12-03 09:54:35 -0800 |
| commit | 094d62bfc76262da865a305783e9bb809af7998d (patch) | |
| tree | 51f566fe478b19fbd6c9072995795f10f0e53cc4 /cmd | |
| parent | 068b9f8f5dec46b222470f6d3f03244ba5b65f5c (diff) | |
Document stdin behaviour for getting raw key
Document the logic described in makeRawKey.
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/fscrypt/flags.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/fscrypt/flags.go b/cmd/fscrypt/flags.go index 7285133..3d3c51d 100644 --- a/cmd/fscrypt/flags.go +++ b/cmd/fscrypt/flags.go @@ -222,7 +222,8 @@ var ( Usage: `Use the contents of FILE as the wrapping key when creating or unlocking raw_key protectors. FILE should be formatted as raw binary and should be exactly 32 bytes - long.`, + long. When running non-interactively and no key is provided, + will try to read the key from stdin.`, } userFlag = &stringFlag{ Name: "user", |