Skip to content

Commit

Permalink
docs: add doc for env variable in help text
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian committed Jan 3, 2025
1 parent 59c858f commit af7afeb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cmd/age-plugin-fido2-hmac/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ Examples:
$ cat identity.txt | grep 'public key' | grep -oP 'age1.*' > recipient.txt
$ echo 'secret' | age -R recipient.txt -o secret.enc
$ age -d -i identity.txt secret.enc # when you created an identity
$ age -d -j fido2-hmac secret.enc # when there is no identity`
$ age -d -j fido2-hmac secret.enc # when there is no identity
Environment Variables:
FIDO2_TOKEN This variable can be used to force a specific device path. Please note that
/dev/hid* paths are ephemeral and fido2 tokens (mostly) have no identifier.
Therefore, it's in general not recommended to use this environment variable.`

func main() {
var (
Expand Down

0 comments on commit af7afeb

Please sign in to comment.