Page MenuHome GnuPG

Assertion failure in gpg
Closed, InvalidPublic

Description

When doing a sign+encrypt operation, I get this error:

gpg: pubkey_encrypt failed: Provided object is too short
gpg: pubkey_encrypt failed: Provided object is too short
gpg: Ohhhh jeeee: Assertion "a->filter == block_filter" in iobuf_set_partial_body_length_mode failed (iobuf.c:2629)

Details

Version
2.3.4

Event Timeline

Closing as I believe this is a downstream bug.

Reopening as gpg’s handling of the situation is very much suboptimal.

I will try, but it will likely be a while. In any case I believe you will need a Red Hat-family distro to trigger the bug; it happens when gpg trys to encrypt with a key that uses a public key algorithm libgcrypt does not support.

werner added a project: RHEL.

Please report such bugs to RedHat - they use a modified Libgcrypt and thus it's there bug.