GnuPG 2.0.17 does not work with Libgcrypt 1.5.0

Werner Koch wk at
Sat Jul 2 20:12:31 CEST 2011

On Sat,  2 Jul 2011 17:40, arfrever.fta at said:
> The following error occurs when trying to use GnuPG 2.0.17 with Libgcrypt 1.5.0:
> gpg: pkglue.c:41: mpi_from_sexp: Assertion `data' failed.

Ah right - I forgot about it.  There is already a patch in 2.0.17.

2011-06-13  Werner Koch  <wk at>

	* pkglue.c (mpi_from_sexp, pk_decrypt): Use GCRYMPI_FMT_USG for
	gcry_sexp_nth_mpi.  This fixes a problem with a recent bug fix in

See commit 13290b0e0fcf3a493e4848b29329d56b69bc4dd9.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gcrypt-devel mailing list