libgcrypt selftest failed

Ingo Klöcker kloecker at
Thu Jan 28 08:42:03 CET 2021

On Donnerstag, 28. Januar 2021 01:51:30 CET Christopher Mansfield wrote:
> Hi there,
> I'm running libgcrypt-1.9.0 on a Gentoo linux arm64. (actually I have 3
> arm64 machines and one x86_64 machine, all running Gentoo). I use the
> keepassxc application on all of these machines. After updating libgcrypt
> in the past couple of days, keepassxc won't start on my arm64 machines
> anymore. If I start it from a terminal, I see this message:
> libgcrypt selftest: kdf  (34): invalid tests data
> Selftest failed
> The same keepassxc application works just fine on my x86_64 machine.
> I created a small c program that calls GCRYTL_SELFTEST and it gives the
> same error on my arm64 machine. No error from my x86_64 machine.

Several problems with arm64 have been reported for libgcrypt-1.9.0, e.g.

I suggest to report your findings also at to ensure 
that it's fixed in 1.9.1.

Also: The gcrypt-devel mailing list [1] is better suited for reports/questions 
about libgcrypt.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the Gnupg-users mailing list