Skip to content
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

Multiple GPG Private keys #653

Open
nash169 opened this issue Nov 7, 2024 · 0 comments
Open

Multiple GPG Private keys #653

nash169 opened this issue Nov 7, 2024 · 0 comments

Comments

@nash169
Copy link

nash169 commented Nov 7, 2024

Hi,
I am using pass with multiple GPG key pairs. Basically I have one key pair for the root location (~/.password-store/) and another one for a subfolder within the root location (~/.password-store/subfolder/). Each one has its own .gpg-id.

If understood well from #147 after #375 it should be possible to use multiple keys by concatenating them when exporting:
gpg --export-secret-subkeys -a SUBKEY1! SUBKEY2! > subkey
gpg --export -a SUBKEY1! SUBKEY2! > subkey.pub

Nevertheless, after having imported them, when I try to decrypt I get "Unable to decrypt. Nothing to decrypt or missing private key". When I try to encrypt it works but it seems to be using only the first key no matter if I am in ~/.password-store/ or ~/.password-store/subfolder/.

Am I doing something wrong or I misunderstood #147?

Thanks a lot!

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

1 participant