It sounds like you only have the public key. You can try the description
manually to check.

gpg --decrypt < ~/.password-store/foo.gpg

The public key can be used to insert (encrypt) but you will need the
private key in order to show (decrypt) the passwords. This is because
pass uses asymmetric cryptography.

On 03/04/16 11:36 AM, Daniel Sousa wrote:
> I am trying to use pass, but I always get the same error
> 
> ➜  ~  pass init ACBBA601 
> Password store initialized for ACBBA601
> ➜  ~  pass generate foo 10
> The generated password for foo is:
> D-afY9}7:T
> ➜  ~  pass foo
> gpg: decryption failed: No secret key
> 
> gpg2 has the key:
> ➜  ~  gpg2 --list-keys
> (...)
> pub   rsa2048/ACBBA601 2016-04-03 [SC]
> uid         [ultimate] Daniel Sousa (Passwords) <[email protected]>
> sub   rsa2048/E670104C 2016-04-03 [E]
> 
> Can someone help me find the problem?
> 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to