Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#31386 closed defect (duplicate)

gnupg2: Assertion failed: (data), function mpi_from_sexp, file pkglue.c, line 41.

Reported by: schwern@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: waqar@…, boeyms@…
Port: gnupg2

Description

When making a signature, gpg2 fails with "Assertion failed: (data), function mpi_from_sexp, file pkglue.c, line 41."

To reproduce, run "gpg2 --clearsign" on any file. It fill fail with the message and produce an incomplete signature file containing the PGP SIGNED MESSAGE block but not the PGP SIGNATURE block.

FreeBSD reports similar problems and has a patch. http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2011-July/214517.html

I haven't used gpg2 in a while, so I don't know when it started failing. I have run "port selfupdate" and "port upgrade gnupg2" to no avail.

It appears to be a problem with libgcrypt 1.5.0, unfortunately I don't have an earlier deactivated version (I wiped them to save space) to test.

Change History (3)

comment:1 Changed 13 years ago by schwern@…

This would likely be solved by #31087 and is a duplicate of #30293.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: waqar@… boeyms@… added
Keywords: gnupg2 removed
Resolution: duplicate
Status: newclosed

If you want to test with an older version of libgcrypt, read wiki:howto/InstallingOlderPort.

comment:3 Changed 13 years ago by schwern@…

Thanks, that helps mitigate the problem.

Note: See TracTickets for help on using tickets.