1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

tests: Add tests to check that OCB is only used for capable keys.

* tests/openpgp/samplekeys/ed25519-cv25519-sample-2.asc: New.
* tests/openpgp/samplekeys/ed25519-cv25519-sample-1.asc: Add AEAD
preference.
* tests/openpgp/defs.scm (tr:gpgstatus): New.
(create-legacy-gpghome): Also import .key private keys.
* tests/openpgp/encrypt.scm: Add OCB tests.
This commit is contained in:
Werner Koch 2022-11-04 11:11:53 +01:00
parent 82c4f26b67
commit 1be272d04e
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
8 changed files with 121 additions and 11 deletions

View file

@ -0,0 +1,5 @@
Created: 20220916T120000
Key: (private-key (ecc (curve Curve25519)(flags djb-tweak)(q
#409651F6DD19C8F562792274BCE044F8916609FBDA25EE3DFA21207DCE8CBA0C63#)
(d #778955D781825551C8B8025DF6A9D7A00613331DE35711F56C65676A98E565F8#)
))

View file

@ -0,0 +1,5 @@
Created: 20220916T120000
Key: (private-key (ecc (curve Ed25519)(flags eddsa)(q
#403905D615CA9A98D674F1CC7AA8B5E9F948D7D2FB2E7536ED6027B014B1F948E6#)
(d #F1E5A1387736A9BD0976AA1FA1D217C3A75EC636605EA8EEAF3C84A9C13E01B4#)
))