libgcrypt 1.12.0: g_mime_multipart_encrypted_decrypt failing on i386

Stuart Henderson stu at spacehopper.org
Tue Feb 17 16:20:08 CET 2026


On 2026/02/11 11:07, NIIBE Yutaka wrote:
> NIIBE Yutaka <gniibe at fsij.org> wrote:
> > Could you please narrow down the failure?  IIUC, when the
> > _check_session_keys program fails, invoking gpg must fail too.
> > If so, debug output of gpg (and/or gpg-agent) helps.
> 
> I mean, I'd like to locate the bug.
> 
> There are two things in the notmuch/configure script.
> 
> (1) importing the secret key
> (2) running the _check_session_keys program
> 
> Does the failure occur in (1) or (2)?  And what version of gpg and
> gpg-agent you are running? Those information helps us.

It occurs in (2) for me, never seen it in (1).

gpg, gpg-agent: 2.5.16
libgpg-error: 1.58
libassuan: 3.0.2
libksba: 1.6.7
libnpth: 1.8

Same happens if I import the secret key into gpg and then try to use
gpg --decrypt on the encrypted message from the .eml file.

> I created the ticket:
> 
>     https://dev.gnupg.org/T8094
> 
> I put the tag of "libgcrypt" for this, but it may be other
> parts of program (gnupg, libgpg-error, etc.) which cause
> the issue.
> -- 



More information about the Gcrypt-devel mailing list