diff options
author | Werner Koch <[email protected]> | 2024-12-09 12:23:39 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-12-09 12:23:39 +0000 |
commit | 36dbca3e6944d13e75e96eace634e58a7d7e201d (patch) | |
tree | 7c3fad3e7b96f3e37fd271892ca13e78e9cf1753 /g10/t-keydb-get-keyblock.c | |
parent | speedo: Change the default to build a 64 bit version (diff) | |
download | gnupg-36dbca3e6944d13e75e96eace634e58a7d7e201d.tar.gz gnupg-36dbca3e6944d13e75e96eace634e58a7d7e201d.zip |
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.
Diffstat (limited to 'g10/t-keydb-get-keyblock.c')
0 files changed, 0 insertions, 0 deletions