Commit Graph

4 Commits

Author SHA1 Message Date
NIIBE Yutaka
3c715bb580 Fix test to default use of Ed25519 and no use of RSA for Gnuk.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2022-05-20 20:06:42 +09:00
NIIBE Yutaka
1ba3b76796 Merge tests from rsa-removal branch.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2021-11-02 16:15:35 +09:00
Vincent Pelletier
f29889ac5d tests/card_test_personalize_card.py: Exercise ECDH, X25519 and ED25519.
ECDH curves exercised are OpenPGP recommended set: ANSIx9p{256,384,521}r1
and BRAINPOOLp{256,384,512}r1, plus X25519 and ED25519.
Signature is only tested (for now ?) with ED25519 as other signature schemes
are (usually) non-deterministic and require implementing the signature
verification algorithm rather than just testing for equality with a test
vector.

Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>
2021-03-19 16:09:56 +09:00
NIIBE Yutaka
53ed5e0a42 Test suite improvement. 2018-04-04 15:10:52 +09:00