[pass] help re-encrypting DB

Lenz Weber mail at lenzw.de
Tue Jun 23 22:56:17 CEST 2015


Hi,
are you by any chance using multiple GPG versions side-by-side?

>From 1/2 to 2.1 the key storage format has changed, so you might be
using 2.1 in emacs and 1 or 2 otherwise - or the other way round.

Regards,
Lenz

Am 23.06.2015 um 21:26 schrieb Kosta Harlan:
> Hi all,
> 
> I have a primary GPG key in `~/.gnupg/gpg.conf`, the key ID is
> CECED648.
> 
> I created a new GPG key just for the purposes of managing my
> password store, the key ID is 18F113C9.
> 
> Everything was encrypted under CECED648 and I could use `pass`
> together with `gpg-agent` to access my data without needing to
> re-enter my password all the time. I re-encrypted my data using
> `pass init 18F113C9`; that worked fine. But now when I do `pass
> someentry` I get this message: `gpg: decryption failed: No secret
> key`
> 
> Using the password-store package for Emacs, I can access the data
> (I don't get prompted for a passphrase), but not from the command
> line.
> 
> I have a backup of my data encrypted with my primary key, so I
> guess I could go back to that, but before I do I was wondering if
> anyone has insight into what I'm doing wrong. Is there a way to add
> multiple keys to gpg-agent?
> 
> Thanks,
> 
> Kosta
> 
> 
> 
> _______________________________________________ Password-Store
> mailing list Password-Store at lists.zx2c4.com 
> http://lists.zx2c4.com/mailman/listinfo/password-store
> 


More information about the Password-Store mailing list