GPG sub-keys

Grégoire Détrez ⠬⠆ gregoire at fripost.org
Tue Jan 4 10:20:41 UTC 2022


On Mon, Jan 03, 2022 at 11:26:55AM -0800, Akiva Levy wrote:
> I keep my master secret key offline and issue each of my devices a
> unique sub-key. I have tried using these device sub-key IDs when
> initialising a new password store (ie. `pass init 0x123... 0x456...`),
> but  it seems sub-keys aren't working as I only get `decryption
> failed: No secret key` errors. To verify, I have tried using my e-mail
> address and temporarily using my offline master key ID with GPG and
> that does work. Is there a way to solve this problem for my use-case?

If I remember correctly you need to add ! to force gnupg to use specific
subkeys. E.g. `pass init 1234! abcd!`.
Cheers,

/ǵ


More information about the Password-Store mailing list