summaryrefslogtreecommitdiffstats
path: root/openpgp/tests
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2021-08-19 14:30:35 +0200
committerJustus Winter <justus@sequoia-pgp.org>2021-09-08 11:08:19 +0200
commit0c0621ed263657e1d1348a62d7ceb59f2823bf76 (patch)
tree89f51764e2dc8bdca6b671f716108d6fcce37a59 /openpgp/tests
parentf6abef476d180fc1f16e95641248eac230f3c10e (diff)
openpgp: Constrain AEAD chunk sizes.
- Make sure that chunk sizes are between 64B and 4MiB. - Fixes a DoS resulting from unconstrained, attacker-controlled heap allocations. - Fixes #738.
Diffstat (limited to 'openpgp/tests')
-rw-r--r--openpgp/tests/data/messages/aed/msg-aes128-eax-chunk-size-4194304-password-123.pgpbin0 -> 5314 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/openpgp/tests/data/messages/aed/msg-aes128-eax-chunk-size-4194304-password-123.pgp b/openpgp/tests/data/messages/aed/msg-aes128-eax-chunk-size-4194304-password-123.pgp
new file mode 100644
index 00000000..145ab4a4
--- /dev/null
+++ b/openpgp/tests/data/messages/aed/msg-aes128-eax-chunk-size-4194304-password-123.pgp
Binary files differ