Force pass to use specific GPG key

HacKan hackan at gmail.com
Thu Feb 16 00:33:17 CET 2017


Check gpg --card-status if you are using a card. Install scdaemon.
Maybe this can help you: https://github.com/drduh/YubiKey-Guide
I have a yubikey and I use it with pass among other things. 
Issue gpg --with-fingrprint -K to show full fingerprint of main key and subkeys. 
Maybe you want to use a subkey for encryption/signing.

Let me know if you need more info. 
Since this is not a pass issue, you might want to contact me directly instead of writing the whole list.

Cheers!


On 02/14/2017 07:11 PM, George Rawlinson wrote:
> 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
> <mailto: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?
>
>
>
>
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/password-store

-- 
HacKan || Iván
GPG: 0x35710D312FDE468B

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20170215/4f8c92ad/attachment.html>


More information about the Password-Store mailing list