Skip to content

Commit

Permalink
Document stdin behaviour for getting raw key
Browse files Browse the repository at this point in the history
Document the logic described in makeRawKey.
  • Loading branch information
betelgeuse authored and ebiggers committed Dec 3, 2024
1 parent 068b9f8 commit 094d62b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/fscrypt/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 094d62b

Please sign in to comment.