Force pass to use specific GPG key

Lucas Hoffmann l-m-h at web.de
Tue Feb 14 23:04:25 CET 2017


Shouldn't gpg just ask for the key that is used to the encrypted data?
With which key id did you do `pass init` (or what is in
$PASSWORD_STORE_DIR/.gpg-id)?  Or check which key was used to encrypt
the file in question with `gpg -d` directly.

If the password store was initialized with the wrong gpg key (id) you
can change it with another `pass init` (see the man page for more).

Quoting George Rawlinson (2017-02-14 22:50:32)
> I've got a Yubikey 4 with some GPG keys on it, but I do not want to use
> this for pass. I wish to use my other keys but GPG/pass wishes for my key
> to be inserted.
>
> How can I get around this?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: signature
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20170214/6093ecef/attachment.asc>


More information about the Password-Store mailing list