aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/samplemsgs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests: Updated PQC test data to the final Kyber algo id.Werner Koch2024-09-115-270/+502
| | | | | | | | -- We actually reuse the private keys here by having deleted the subkey and crated a new one using the option "From existing key". Of course the encrypted data changed while the plaintext stayed the same.
* tests: Add two plaintext test mailsWerner Koch2024-08-292-0/+48
| | | | --
* gpg: Support Kyber with Brainpool512r1.Werner Koch2024-04-233-0/+120
| | | | | | | | | | | | | | * common/openpgp-oid.c (oidtable): Add GCRY_KEM_RAW_BP512. * agent/pkdecrypt.c (ecc_table): Support bp512 * g10/pkglue.c (do_encrypt_kem): Ditto. * tests/openpgp/samplekeys: Add sample keys for kyber_bp256, bp384, and bp512. * tests/openpgp/privkeys: Add corresponding private keys. * tests/openpgp/samplemsgs: Add sample messages for those keys. -- GnuPG-bug-id: 6815
* tests: Add two Kyber sample keys and messages.Werner Koch2024-04-232-0/+183
| | | | | | -- GnuPG-bug-id: 6815
* tests: Add symmetric decryption tests.Werner Koch2022-11-024-0/+40
| | | | | | | | | | | | | * tests/openpgp/decrypt-sym.scm: New. * tests/openpgp/samplemsgs/enc-sym-cfb-1.asc: New. * tests/openpgp/samplemsgs/enc-sym-cfb-2.asc: New. * tests/openpgp/samplemsgs/enc-sym-ocb-1.asc: New. * tests/openpgp/samplemsgs/enc-sym-ocb-2.asc: New. -- It's time to have some OCB tests in our suite so that we don't forget to run the tests from our RNP interop tests. Also adds new tests for CFB messages.
* tests: Add test importing a revocation certificate.Justus Winter2016-12-061-0/+8
| | | | | | | | * tests/openpgp/Makefile.am (XTESTS): Add new test. * tests/openpgp/import-revocation-certificate.scm: New file. * tests/openpgp/samplemsgs/revoke-2D727CC768697734.asc: Likewise. Signed-off-by: Justus Winter <[email protected]>
* common: Fix iobuf_peek corner case.Justus Winter2016-07-261-0/+7
| | | | | | | | | | | | | | | Previously, iobuf_peek on a file smaller than 'buflen' would hang. * common/iobuf.c (underflow): Generalize by adding a target parameter. (iobuf_peek): Use this to prevent looping here. * tests/openpgp/Makefile.am (TESTS): Add new test. * tests/openpgp/setup.scm (dearmor): Move function... * tests/openpgp/defs.scm (dearmor): ... here. * tests/openpgp/issue2419.scm: New file. * tests/openpgp/samplemsgs/issue2419.asc: Likewise. GnuPG-bug-id: 2419 Signed-off-by: Justus Winter <[email protected]>
* tests: 3 more sample messagesWerner Koch2016-07-133-0/+70
| | | | --
* tests: Add four more sample messages for the two new keys to the repo.Werner Koch2016-06-234-0/+0
| | | | | | -- These are uncompressed signed messages
* tests: Add a set of sample messages for the two new keys to the repo.Werner Koch2016-06-2242-0/+421
-- Signed-off-by: Werner Koch <[email protected]>