Files
gnuk/tests
Vincent Pelletier dcef6e0ffa 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:03 +09:00
..
2018-04-04 16:34:51 +09:00
2018-04-04 16:34:07 +09:00
2016-10-12 10:22:57 +09:00
2016-10-12 10:22:57 +09:00
2016-10-12 10:22:57 +09:00
2016-10-12 10:22:57 +09:00

Here is a test suite for OpenPGP card.

For now, only TPDU card reader is supported for OpenPGP card.
Gnuk Token is supported as well.


You need to install:

   $ sudo apt install python3-pytest python3-usb python3-cffi

Please run test by typing:

    $ py.test-3 -x