Commit Graph
21 Commits
Author SHA1 Message Date
Robin Krahl f82effbf79 Make firmware version configurable depending on credential ID version 2026-06-01 13:26:07 +02:00
Robin Krahl b7becd0020 Make credential ID version configurable
This patch adds the credential_id_version field to Config, making it
possible to select the credential ID version for new credentials. To
avoid invalidating existing credentials, this value is only used on the
first boot or after a factory reset.
2026-06-01 13:18:44 +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 96a96316f0 ctap2.1: alwaysUv + toggleAlwaysUv (CTAP 2.1 §6.4, §6.11.2, §7.2) — full implementation 2026-05-28 19:11:04 +02:00
Emanuele CesenaandRobin Krahl 01a4be28c4 ctap: getinfo advertises algorithms, firmwareVersion, remainingDiscoverableCredentials 2026-05-22 13:08:44 +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 01a2653c37 Update trussed to use new virtual store 2025-05-15 11:52:59 +02:00
Robin Krahl 2c8efe16c2 tests: Inspect filesystem after test runs 2025-02-19 12:34:22 +01:00
Robin Krahl 83477813bf tests: Add helper trait and use exhaustive 2025-02-18 10:46:09 +01:00
Robin Krahl c9512c7bdf Use released dependencies 2025-01-13 10:42:44 +01:00
Robin Krahl d61a9ac7d3 Update dependencies for trussed-core and ctaphid-app 2025-01-08 11:28:43 +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 9ece79676d tests: Add ctap1 upgrade test 2024-06-24 23:13:44 +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 487b469247 tests: Add basic logging 2024-05-22 23:03:19 +02:00
Robin Krahl efed1896bc tests: Add Request trait and reply types 2024-05-22 22:55:32 +02:00
Robin Krahl aad05b9573 tests: Handle CTAP2 errors 2024-05-22 11:03:00 +02:00
Robin Krahl 8135721c7d tests: Use separate Channel instance for each test
This patch changes the test setup to use separate Channel instances for
each test case.  This means that a panic in one test case does not
affect other test cases.
2024-05-22 11:02:54 +02:00
Robin Krahl db4a63dd58 Update trussed-hkdf to v0.2.0
With this patch, we update trussed-hkdf to v0.2.0, the version that is
provided by the trussed-staging crate.  This also means we no longer
have to manually implement the dispatch for the usbip example and the
tests and can instead use trussed_staging::virt::Dispatcher.
2024-03-25 13:41:03 +01: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