Force pass to use specific GPG key

George Rawlinson george at rawlinson.net.nz
Tue Feb 14 23:11:53 CET 2017


I don't know what's going on, but GPG just locks up when I try and decrypt
anything with my keys.

On 15 February 2017 at 11:04, Lucas Hoffmann <l-m-h at web.de> wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20170215/705596f9/attachment.html>


More information about the Password-Store mailing list