From: Petteri Räty Date: Tue, 3 Dec 2024 12:11:03 +0000 (+0200) Subject: Document stdin behaviour for getting raw key X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=094d62bfc76262da865a305783e9bb809af7998d;p=fscrypt.git Document stdin behaviour for getting raw key Document the logic described in makeRawKey. --- 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",