[Users] Decryption fails since changing key [solved]

Christian Lerrahn sc at penpal4u.net
Thu Nov 10 06:15:08 CET 2016


Hi again,
On Thu, 10 Nov 2016 15:54:24 +1100
Christian Lerrahn <sc at penpal4u.net> wrote:
> > I am not sure if this is a CM or a GPG Agent problem. I am also
> > sure I have solved it before but I can't figure it out any more.
> > So, I have to start somewhere.
> > 
> > My GPG key expired recently and I generated a new one. Now, I have
> > the problem that while I can still decrypt all the old emails which
> > were encrypted with the expired key, all emails which were
> > encrypted with the new key will just show a "Couldn't decrypt:
> > Decryption failed" without me ever being asked for a password.
> > 
> > I have played with all the settings I can find but I just can't
> > figure out why it's always the expired key that's matched instead
> > of the current one.
> > 
> > What am I doing wrong?  

As it turns out I just had a mess of gpg vs gpg2 keyrings. I had
accidentally generated the new keys on gpg while gpg-agent uses the
gpg2 keyring. After exporting all secret keys from gpg and importing
them to gpg2, the decryption works as expected.

Cheers,
Christian



More information about the Users mailing list