Home GnuPG
Diffusion GnuPG 36dbca3e6944

gpg: Allow for longer signature subpackets.

Description

gpg: Allow for longer signature subpackets.

* g10/parse-packet.c (parse_signature): Increase the cap for hashed
subpackets to 30000.  Print the value in the error message.  Do not
return an error but skip a too long signature.

The limit of 10000 served us well for decades but given the option to
put a key into the signature, a larger limit will eventually be
useful. The second part makes things a bit robust against rogue
subpackets on a keyserver.

Details

Provenance
wernerAuthored on Mon, Dec 9, 1:23 PM
Parents
rG4c830b240c5f: speedo: Change the default to build a 64 bit version
Branches
Unknown
Tags
Unknown