gnuk/tests
NIIBE Yutaka af3ebbca50 tests: Fix KDF required handling.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2022-07-12 14:47:32 +09:00
..
000_config Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
001_initial_check Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
010_kdfnone tests: KDF required. 2022-07-11 13:26:31 +09:00
020_kdffull Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
030_kdfsingle Fix the previous commit. 2022-07-06 15:09:44 +09:00
090_finalize Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
brainpoolp256r1_keys.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
brainpoolp384r1_keys.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
brainpoolp512r1_keys.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_const.py Fix test to default use of Ed25519 and no use of RSA for Gnuk. 2022-05-20 20:06:42 +09:00
card_reader.py tests/card_reader.py: Ignore CCID devices which report card absence. 2021-02-18 14:42:47 +09:00
card_test_0_set_attr.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_1_import_keys.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_1_keygen.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_2_pkop_kg.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_2_pkop.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_3_ds_counter1.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_3_ds_counter2.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_ansix9p256r1.py tests/card_test_personalize_card.py: Exercise ECDH, X25519 and ED25519. 2021-03-19 16:09:56 +09:00
card_test_ansix9p384r1.py tests/card_test_personalize_card.py: Exercise ECDH, X25519 and ED25519. 2021-03-19 16:09:56 +09:00
card_test_ansix9p512r1.py tests/card_test_personalize_card.py: Exercise ECDH, X25519 and ED25519. 2021-03-19 16:09:56 +09:00
card_test_brainpoolp256r1.py tests/card_test_personalize_card.py: Exercise ECDH, X25519 and ED25519. 2021-03-19 16:09:56 +09:00
card_test_brainpoolp384r1.py tests/card_test_personalize_card.py: Exercise ECDH, X25519 and ED25519. 2021-03-19 16:09:56 +09:00
card_test_brainpoolp512r1.py tests/card_test_personalize_card.py: Exercise ECDH, X25519 and ED25519. 2021-03-19 16:09:56 +09:00
card_test_check_card.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_ds_counter1.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_ds_counter2.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_ed25519.py tests/card_test_personalize_card.py: Exercise ECDH, X25519 and ED25519. 2021-03-19 16:09:56 +09:00
card_test_empty_card.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_kdf_full.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_kdf_single.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_keygen.py tests: Fix selecting keys (For Gnuk, use 25519). 2022-06-07 11:42:45 +09:00
card_test_kg_pko_dsc_brainpoolp256r1.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_kg_pko_dsc_brainpoolp384r1.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_kg_pko_dsc_brainpoolp512r1.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_kg_pko_dsc_curve25519.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_kg_pko_dsc_nistp256r1.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_kg_pko_dsc_nistp384r1.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_kg_pko_dsc_nistp521r1.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_kg_pko_dsc_rsa2k.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_kg_pko_dsc_rsa4k.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_kg_pko_dsc_secp256k1.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_ki_pko_dsc_brainpoolp256r1.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_ki_pko_dsc_brainpoolp384r1.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_ki_pko_dsc_brainpoolp512r1.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_ki_pko_dsc_curve25519.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_ki_pko_dsc_nistp256r1.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_ki_pko_dsc_nistp384r1.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_ki_pko_dsc_nistp521r1.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_ki_pko_dsc_rsa2k.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_ki_pko_dsc_rsa4k.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_ki_pko_dsc_secp256k1.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_personalize_admin_less_1.py Revert "Reject resetting code after admin-less mode setup." 2022-07-07 14:51:48 +09:00
card_test_personalize_admin_less_2.py tests: Fix selecting keys (For Gnuk, use 25519). 2022-06-07 11:42:45 +09:00
card_test_personalize_card_1.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_personalize_card_2.py tests: Fix selecting keys (For Gnuk, use 25519). 2022-06-07 11:42:45 +09:00
card_test_personalize_reset.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_public_key_operations_alt.py tests: Fix selecting keys (For Gnuk, use 25519). 2022-06-07 11:42:45 +09:00
card_test_public_key_operations_kg.py tests: Fix selecting keys (For Gnuk, use 25519). 2022-06-07 11:42:45 +09:00
card_test_public_key_operations.py tests: Fix selecting keys (For Gnuk, use 25519). 2022-06-07 11:42:45 +09:00
card_test_remove_keys.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_reset_attr.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_reset_pw3.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_set_attr.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
card_test_x25519.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
conftest.py tests: Power off the reader at the end of test suite. 2019-04-09 10:55:38 +09:00
constants_for_test.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
curve25519_keys.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
func_pso_auth.py tests/card_test_personalize_card.py: Exercise ECDH, X25519 and ED25519. 2021-03-19 16:09:56 +09:00
kdf_calc.py More tests (2). 2018-04-04 16:34:51 +09:00
nistp256r1_keys.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
nistp384r1_keys.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
nistp521r1_keys.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
openpgp_card.py tests: Fix KDF required handling. 2022-07-12 14:47:32 +09:00
pk_25519_with_libgcrypt.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
pk_signed_mpi_with_libgcrypt.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
pubkey_crypto.py tests: Fix selecting keys (For Gnuk, use 25519). 2022-06-07 11:42:45 +09:00
README More tests. 2018-04-04 16:34:07 +09:00
rsa_keys.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
secp256k1_keys.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
skip_gnuk_only_tests.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
skip_if_gnuk.py Fix tests for Gnuk emulation (skip test with no KDF setup). 2021-03-19 17:40:13 +09:00
skip_if_kdfreq.py tests: Fix KDF required handling. 2022-07-12 14:47:32 +09:00
skip_if_no_kdf_support.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
skip_if_yubikey.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
unused_test_030_pso.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +09:00
util.py Merge tests from rsa-removal branch. 2021-11-02 16:15:35 +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