We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create public key file
rc@pxl:~/code/age$ ls -al ~/.age.key -r-------- 1 ryanc ryanc 189 May 18 11:25 /home/ryanc/.agekey rc@pxl:~/code/age$ age-keygen -y ~/.age.key > ~/age.pub Warning: writing secret key to a world-readable file.
I'm not writing a secret key here.
If I instead remove ~/age.pub and run age-keygen -y -o ~/age.pub ~/.age.key I do not get the warning.
~/age.pub
age-keygen -y -o ~/age.pub ~/.age.key
The text was updated successfully, but these errors were encountered:
Don't warn about writing secret when converting
8078f26
Fixes FiloSottile#267
Ah, good catch, thank you!
Sorry, something went wrong.
cmd/age-keygen: don't warn about world-readable output for public keys (
759a88d
#268) Fixes #267
11659e8
Successfully merging a pull request may close this issue.
Environment
What were you trying to do
Create public key file
What happened
I'm not writing a secret key here.
If I instead remove
~/age.pub
and runage-keygen -y -o ~/age.pub ~/.age.key
I do not get the warning.The text was updated successfully, but these errors were encountered: