Hello,

After a recent update I'm getting this error whenever I try to encrypt or decrypt using gnupg. Here's error:

gpg: selftest for CTR failed - see syslog for details
gpg: Ohhhh jeeee: ... this is a bug (seskey.c:61:make_session_key)
Aborted

And the syslog:

gpg[8945]: Libgcrypt warning: AES-CTR-128 test failed (plaintext mismatch)



It started after a recent update that included gnupg and libgcrypt. The versions before the update where libgcrypt-1.7.3 and gnupg-2.1.15. After the update 1.7.6 and 2.1.18 respectively. I tried downgrading both packages but it didn't help.

I tried to delete the whole ~/.gnupg directory and re-import the keys but it fails with the same error.

I have another keyring on the same machine that I use with the --homedir option and I have not problems with it.

When I try to generate a new key I get the following error:

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: agent_genkey failed: Missing key
Key generation failed: Missing key



Any ideas?


--

Fernando Rodriguez

Reply via email to