Skip to content

encrypt keys using gpg secret key #2

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
PACordonnier opened this issue Mar 27, 2025 · 1 comment
Open

encrypt keys using gpg secret key #2

PACordonnier opened this issue Mar 27, 2025 · 1 comment

Comments

@PACordonnier
Copy link

Keyser only supports symmetric KEYSER_GPG_MODE. We could use asymettric encryption. User should define a KEYSER_GPG_ID with its secret key id.

When encrytping, the public key will be used.
When decrypting the user will be prompted by gpg-agent to its secret key password and gpg will proceed with decryption

e.g: https://github.com/zx2c4/password-store

@wdavidw
Copy link
Member

wdavidw commented Mar 27, 2025

I left it as a future improvement.

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

No branches or pull requests

2 participants