[pass] bug?: pass looking for a different keyid on init, generate and insert

Víctor Cuadrado Juan me at viccuad.me
Thu Sep 17 23:48:22 CEST 2015


This seems like a possible bug:
When I try to 'pass generate', 'insert', or 'init', I get a gpg error:
Unusable public key.
I have my public key from a previous initialization on .gpg-id:

    $ cat .password-store/.gpg-id
    0xA2591E231E251F36

Pass seems to look for my public key id in a different encoding
(0x7413065A8F779586):

    $ LC_ALL=C pass generate foo 3
    gpg: 0x7413065A8F779586: There is no assurance this key belongs to
the named user
    gpg: [stdin]: encryption failed: Unusable public key
    fatal: pathspec '/home/vic/.password-store/foo.gpg' did not match
any files
    The generated password for foo is:
    *E0

Both encodings point to my public key id[1][2].My gpg.conf is here[3].


[1]: https://pgp.mit.edu/pks/lookup?search=0xA2591E231E251F36&op=index
[2]: http://pgp.mit.edu/pks/lookup?search=+0x7413065A8F779586&op=index
[3]: https://github.com/viccuad/dotfiles/blob/master/gpg/.gnupg/gpg.conf

-- 
Víctor

--
E-Mail: <me at viccuad.me>, OpenPGP-Key-ID: 0xA2591E231E251F36
Key fingerprint: E3C5 114C 0C5B 4C49 BA03  0991 A259 1E23 1E25 1F36
My signed E-Mails are trustworthy.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20150917/73f56345/attachment.asc>


More information about the Password-Store mailing list