Skip to content

Add native support for ssh keys for age #779

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

musjj
Copy link

@musjj musjj commented Apr 21, 2025

Adds support for the age's native SSH feature from getsops/sops#1692.

Also deprecates sops.age.sshKeyPaths as it should no longer be necessary.

Closes #744

@folliehiyuki
Copy link

sops.age.sshKeyPaths has an advantage of allowing users to specify multiple private SSH key files. This behavior cannot be replicated to sops' native SSH feature.

(
cfg.age.sshKeyPaths != [ ]
&& cfg.gnupg.sshKeyPaths == [ ]
&& cfg.gnupg.home == null
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is still needed for native gpg support. So I would skip on that.

Suggested change
&& cfg.gnupg.home == null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

remove ssh-to-pgp rsa instructions
3 participants