]> the.earth.li Git - onak.git/commit
Add ability to drop overly large packets
authorJonathan McDowell <noodles@earth.li>
Tue, 9 Apr 2019 19:54:57 +0000 (20:54 +0100)
committerJonathan McDowell <noodles@earth.li>
Tue, 9 Apr 2019 19:54:57 +0000 (20:54 +0100)
commitadc800dbc424a1e246dd4a82a0c2e88eeda25531
tree948786ee3c193525be1631ffe06d8da5957ba3e9
parenta0d1c99184eeb07a6a7711e168c3db4b8c0937eb
Add ability to drop overly large packets

As per draft-dkg-openpgp-abuse-resistant-keystore add the ability to
drop "large" packets. These are defined as UIDs more than 1024 bytes
long, UATs greater than 64k in size and all other packets larger than
8383 bytes (the maximum that will fit in a 2 byte new format packet
length). Disabled by default, enable with "check_packet_size" in the
verification config section.
cleankey.c
cleankey.h
onak-conf.c