rnpgp / rnp

RNP: high performance C++ OpenPGP library used by Mozilla Thunderbird
https://www.rnpgp.org
Other
201 stars 55 forks source link

Add support for DSA-4096 keys and signatures. #2260

Open ni4 opened 3 months ago

ni4 commented 3 months ago

Description

There are some keys in a wild which use DSA 4096 bits (example: https://bugzilla.mozilla.org/show_bug.cgi?id=1903976), and those are supported/validated correctly by GnuPG. We should consider supporting them as well, as currently we limit Q parameter size to 256 bits, while DSA 4096 would need 384.