age/cmd/age/testdata
Filippo Valsorda 30d8e65e03 internal/stream: disallow empty final chunks
A non-empty payload of length a multiple of the chunk size can be
encrypted in two ways: with the last chunk full, or with an extra empty
last chunk. This is mostly an oversight in the original spec.

Both age and rage generate full last chunks, so we should be still in
time to pick one of the two, and avoid the underspecification. It's not
the one I would have picked originally, maybe, because disallowing full
last chunks would have avoided the trial decryption, but oh well.
2022-05-24 15:47:13 +02:00
..
default_key.txt cmd/age: expand test vectors suite 2021-02-08 19:55:28 +01:00
default_password.txt cmd/age: expand test vectors suite 2021-02-08 19:55:28 +01:00
fail_bad_hmac.age age: move the scrypt lone recipient check out of Decrypt 2021-06-15 14:00:10 +02:00
fail_large_filekey_scrypt.age cmd/age: expand test vectors suite 2021-02-08 19:55:28 +01:00
fail_large_filekey_x25519.age cmd/age: expand test vectors suite 2021-02-08 19:55:28 +01:00
fail_last_empty.age internal/stream: disallow empty final chunks 2022-05-24 15:47:13 +02:00
fail_scrypt_and_x25519.age cmd/age: expand test vectors suite 2021-02-08 19:55:28 +01:00
fail_scrypt_work_factor_23.age cmd/age: expand test vectors suite 2021-02-08 19:55:28 +01:00
good_ed25519.age age: move the scrypt lone recipient check out of Decrypt 2021-06-15 14:00:10 +02:00
good_ed25519_key.txt age: move the scrypt lone recipient check out of Decrypt 2021-06-15 14:00:10 +02:00
good_ed25519_key.txt.pub age: move the scrypt lone recipient check out of Decrypt 2021-06-15 14:00:10 +02:00
good_empty_payload.age internal/stream: disallow empty final chunks 2022-05-24 15:47:13 +02:00
good_empty_recipient_body.age age: move the scrypt lone recipient check out of Decrypt 2021-06-15 14:00:10 +02:00
good_last_full.age internal/stream: disallow empty final chunks 2022-05-24 15:47:13 +02:00
good_rsa.age age: move the scrypt lone recipient check out of Decrypt 2021-06-15 14:00:10 +02:00
good_rsa_key.txt age: move the scrypt lone recipient check out of Decrypt 2021-06-15 14:00:10 +02:00
good_rsa_key.txt.pub age: move the scrypt lone recipient check out of Decrypt 2021-06-15 14:00:10 +02:00
good_scrypt_work_factor_10.age age: move the scrypt lone recipient check out of Decrypt 2021-06-15 14:00:10 +02:00
good_simple.age age: move the scrypt lone recipient check out of Decrypt 2021-06-15 14:00:10 +02:00
nomatch_scrypt.age cmd/age: expand test vectors suite 2021-02-08 19:55:28 +01:00
nomatch_x25519.age cmd/age: expand test vectors suite 2021-02-08 19:55:28 +01:00