Commit Graph
25 Commits
Author SHA1 Message Date
Robin Krahl 92f3642345 Add tests for signature counter 2026-05-31 17:00:48 +02:00
Emanuele CesenaandRobin Krahl e91fb4779f ctap2.3: advertise smart-card transport when CCID is enabled 2026-05-28 22:07:03 +02:00
Emanuele CesenaandRobin Krahl bcec723f1b ctap2.2: implement hmac-secret-mc extension at MakeCredential time
Fixes: https://github.com/trussed-dev/fido-authenticator/issues/52
2026-05-28 21:58:18 +02:00
Emanuele CesenaandRobin Krahl a7e869b8c5 ctap2.1: test user field in RK allowlist GetAssertion response 2026-05-28 19:24:40 +02:00
Emanuele CesenaandRobin Krahl e3c79dfd85 ctap2.1: §6.5.5 PIN management — code-point validation + reject same-PIN under forcePINChange + align setPin/getPinToken error codes
Fixes: https://github.com/trussed-dev/fido-authenticator/issues/43
2026-05-28 19:23:29 +02:00
Emanuele CesenaandRobin Krahl 3daba7d8a3 ctap2.1: setMinPINLength (§6.11.4) + minPinLength extension at MakeCredential (§10.1.2.1) 2026-05-28 19:02:26 +02:00
Robin Krahl 94c439d726 Add tests for credBlob extension 2026-05-22 16:53:27 +02:00
Sosthène GuédonandRobin Krahl 4e118bba70 Update to heapless 0.9 and trussed-core 0.2 2026-03-25 18:34:39 +01:00
Robin Krahl 91a57756c0 tests: Use hmac-secret extension in TestGetAssertion 2025-05-07 15:54:54 +02:00
Robin Krahl fed17e9b35 tests: Remove exhaustive dependency 2025-02-19 12:34:23 +01:00
Robin Krahl dfcaf94096 tests: Add getNextAssertion tests 2025-02-18 10:46:12 +01:00
Robin Krahl fd6fc9b8a8 tests: Extend setPin tests 2025-02-18 10:46:11 +01:00
Robin Krahl 726ce464be tests: Add getPinRetries tests 2025-02-18 10:46:11 +01:00
Robin Krahl add1cebd26 tests: Extend getPinToken tests 2025-02-18 10:46:11 +01:00
Robin Krahl 9e4cd65e54 tests: Extend getAssertion tests 2025-02-18 10:46:11 +01:00
Robin Krahl 10b0334fed tests: Extend makeCredential tests 2025-02-18 10:46:11 +01:00
Robin Krahl d0885e1ccb Extend credential management tests
This patch adds tests for deleting discoverable credentials and for
updating the user information for existing credentials.
2025-01-21 10:23:25 +01:00
Robin Krahl e9dfefd715 tests: Add credential management tests
This patch introduces the authenticator module that provides a
simple high-level interface for testing FIDO2 functionality.  It uses
the module to implement tests for credential management, namely for
listing credentials and for the behavior if the credential limit is
reached or the filesystem is full.
2024-10-23 16:00:16 +02:00
Robin Krahl 09271b68b4 Add tests for attestation formats preference 2024-06-27 12:50:58 +02:00
Robin Krahl 30e2b909ad Implement third-party payment extension 2024-06-27 12:50:57 +02:00
Robin Krahl 4f52ab13ab tests: Add get_assertion test 2024-06-27 10:51:33 +02:00
Robin Krahl ca493254b8 tests: Setup attestation certificate and key 2024-06-24 20:17:44 +02:00
Robin Krahl a2b0280e93 tests: Add basic tests for credential management 2024-05-22 23:39:57 +02:00
Robin Krahl efed1896bc tests: Add Request trait and reply types 2024-05-22 22:55:32 +02:00
Robin Krahl 7db98dd731 Setup basic integration tests
This patch adds basic integration tests that use the ctaphid library to
send CTAPHID commands to the authenticator over ctaphid-dispatch.
Unfortunately, usbd-ctaphid does not provide a public interface to its
packet handling code, so we have to copy that code for the time being.
2024-03-21 21:16:42 +01:00