I'm using the pass for quite a long time; but after exporting my key storage and gpg keys to another machine I see following output:
$ gpg --list-key
/home/shved/.gnupg/pubring.gpg
------------------------------
pub 2048R/FA829B53 2015-04-28
uid [ultimate] Yury Shvedov (shved) <shved@lvk.cs.msu.su>
sub 2048R/74270D4A 2015-04-28
My key imported and trusted, but not usable:
pass insert test
Enter password for test:
Retype password for test:
gpg: 2048R/FA829B53: skipped: No public key
gpg: [stdin]: encryption failed: No public key
fatal: pathspec '/home/shved/.password-store/test.gpg' did not match any files
What can I do to use my key again?
gpgnotgpg2. And gpg2 is just a redesign. Only with version 2.1 did some changes come (combining public and private keys in the public keyring. – Anthon Sep 27 '15 at 13:10This implies that 'pass' uses gpg unless gpg2 is present on the same system.
– Łukasz Lis Sep 27 '15 at 20:46