diff --git a/tests/pico-fido/test_020_register.py b/tests/pico-fido/test_020_register.py index 6a3ab73..378a13e 100644 --- a/tests/pico-fido/test_020_register.py +++ b/tests/pico-fido/test_020_register.py @@ -20,6 +20,7 @@ from fido2.client import CtapError from fido2.cose import ES256, ES384, ES512 +from utils import ES256K import pytest @@ -121,7 +122,7 @@ def test_bad_type_pubKeyCredParams(device): device.doMC(key_params=["wrong"]) @pytest.mark.parametrize( - "alg", [ES256.ALGORITHM, ES384.ALGORITHM, ES512.ALGORITHM] + "alg", [ES256.ALGORITHM, ES384.ALGORITHM, ES512.ALGORITHM, ES256K.ALGORITHM] ) def test_algorithms(device, info, alg): if ({'alg': alg, 'type': 'public-key'} in info.algorithms): diff --git a/tests/pico-fido/test_021_authenticate.py b/tests/pico-fido/test_021_authenticate.py index 9de69bf..433adca 100644 --- a/tests/pico-fido/test_021_authenticate.py +++ b/tests/pico-fido/test_021_authenticate.py @@ -20,7 +20,7 @@ from fido2.client import CtapError from fido2.cose import ES256, ES384, ES512 -from utils import verify +from utils import verify, ES256K import pytest def test_authenticate(device): @@ -49,7 +49,7 @@ def test_empty_allowList(device): assert e.value.code == CtapError.ERR.NO_CREDENTIALS @pytest.mark.parametrize( - "alg", [ES256.ALGORITHM, ES384.ALGORITHM, ES512.ALGORITHM] + "alg", [ES256.ALGORITHM, ES384.ALGORITHM, ES512.ALGORITHM, ES256K.ALGORITHM] ) def test_algorithms(device, info, alg): if ({'alg': alg, 'type': 'public-key'} in info.algorithms):