-
-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
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
separate public/private key files #104
Conversation
"age-keygen" with no flags will generate ~/.age/me.pub and ~/.age/me.key "age-keygen -o filename" now generates ~/.age/filename.pub and ~/.age/filename.key "age -d" will load ~/.age/*.key as well as ~/.ssh/id_rsa and ~/.ssh/id_ed25519 "age -r me" will encrypt using the key found in ~/.age/me.pub "age -r marysmith" will encrypt using the key found in ~/.age/marysmith.pub
You should use |
@str4d thanks! updated. |
I'm wondering whether all pub keys should be put into a single file with annotated alias or should they be in separate files @FiloSottile already had a proposal in his doc:
I feel that the alias approach is more concise and easier for #110 (if applicable). If so, then |
We went through a few different ideas for how to add these conveniences, but ultimately none of them felt right because age is meant to be an explicit tool without opinions on how keys are exchanged or managed. We ended up removing aliases, as well as default identities, and we don't have a |
for anyone missing the conveniences of default keys, I made a shell script that tries to emulate the gpg experience. i.e.
|
Closes #91
"age-keygen" with no flags will generate ~/.age/me.pub and ~/.age/me.key
"age-keygen -o filename" now generates ~/.age/filename.pub and ~/.age/filename.key
"age -d" will load ~/.age/*.key as well as ~/.ssh/id_rsa and ~/.ssh/id_ed25519
"age -r me" will encrypt using the key found in ~/.age/me.pub
"age -r marysmith" will encrypt using the key found in ~/.age/marysmith.pub