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: <[email protected]>, OpenPGP-Key-ID: 0xA2591E231E251F36
Key fingerprint: E3C5 114C 0C5B 4C49 BA03 0991 A259 1E23 1E25 1F36
My signed E-Mails are trustworthy.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Password-Store mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/password-store
