-
Notifications
You must be signed in to change notification settings - Fork 894
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
Add support for Age SSH #898
Conversation
Any news on this PR? |
This fixes #692 and would allow a really streamlined process combined with gitops tools like argocd or flux. |
GitOps tool maintainer here (Flux). Thanks a lot for this contribution, I have no doubt this will be extremely useful to quite some users. 🥇 I have assigned this to myself to review, but am waiting for #1064 to land first as I have a gut feeling it would be better to merge the two key source into one than to introduce an additional one. For this, I need a clear view on the state of |
Sorry for the wait folks, this has been on my to-do list for some time but #1072 and #1085 had a bit more priority. Based on a quick study of the current key source implementation in |
Hello @hiddeco! |
Would also love to have this. Perhaps there is somebody else who can pick up the review? |
While I really do appreciate your work here @iamd3vil, I am going to close this in favor of #1134 which incorporates the feedback I gave in #898 (comment). Thank you very much nonetheless! 🙇 |
Currently sops only supports age with age keys. This PR adds support for using SSH keys for encryption, decryption using age.
Usage
Encryption
--ssh
flag here denotes the ssh keys for encrypting.Decryption
If there is no
SOPS_AGE_SSH_PRIVATE_KEY
env variable given, sops will check~/.ssh/id_ed25519
and fallbacks to~/.ssh/id_rsa
.Let me know if I need to do any changes.
P.S: I have updated to the latest version as well.