aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/samplemsgs (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-09-11tests: Updated PQC test data to the final Kyber algo id.Werner Koch5-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.
2024-08-29tests: Add two plaintext test mailsWerner Koch2-0/+48
--
2024-04-23gpg: Support Kyber with Brainpool512r1.Werner Koch3-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
2024-04-23tests: Add two Kyber sample keys and messages.Werner Koch2-0/+183
-- GnuPG-bug-id: 6815
2022-11-02tests: Add symmetric decryption tests.Werner Koch4-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.
2016-12-06tests: Add test importing a revocation certificate.Justus Winter1-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]>
2016-07-26common: Fix iobuf_peek corner case.Justus Winter1-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]>
2016-07-13tests: 3 more sample messagesWerner Koch3-0/+70
--
2016-06-23tests: Add four more sample messages for the two new keys to the repo.Werner Koch4-0/+0
-- These are uncompressed signed messages
2016-06-22tests: Add a set of sample messages for the two new keys to the repo.Werner Koch42-0/+421
-- Signed-off-by: Werner Koch <[email protected]>