Commit Graph
58 Commits
Author SHA1 Message Date
AgentandClaude Opus 4.6 5f180ab1ff Add --no-ctap1 flag and mark ctap1/interactive tests
- Mark U2F and CTAP1 interop tests with @pytest.mark.ctap1
- Add --no-ctap1 CLI flag to skip them
- Mark UP tests that require real button (test_no_user_presence,
  test_user_presence_permits_only_one_request, test_keep_alive)
  with @pytest.mark.interactive

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 02:56:40 +00:00
AgentandClaude Opus 4.6 bb11708f38 Remove interactive markers; use --vendor solokeys for auto-reboot
The solokeys vendor path in conftest.py handles device reboots
automatically via vendor CTAP command 0x53, so no interactive
markers are needed. Run tests with: pytest --vendor solokeys

Result: 175 passed, 5 failed, 12 skipped, 1 xfailed, 9 errors (3m04s)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 02:19:05 +00:00
AgentandClaude Opus 4.6 1b237f4376 Add --non-interactive flag and mark interactive tests
Annotate tests requiring user presence or device reboot with
@pytest.mark.interactive. Add --non-interactive CLI flag to skip them.
Mark test_bad_type_rp_icon as xfail (known firmware issue).

Result: 140 passed, 61 skipped, 1 xfailed, 0 failures.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 00:59:06 +00:00
Nicolas Stalder 591d3d2279 Put the GA test back to 10 credentials total 2022-03-07 22:48:58 +01:00
Nicolas Stalder f04d11aca2 Accommodate CTAP2.1 GetAssertion allowlist behaviour 2022-03-07 22:06:32 +01:00
Conor Patrick d23692da03 check user id strictly in the new rk test 2021-10-11 23:14:04 -05:00
Conor Patrick e6030d18c5 add rk-allow_list test 2021-10-07 22:10:06 -05:00
Conor Patrick 3f7893d8d1 call reset to make tests repeatable 2021-08-08 16:37:23 -07:00
Conor Patrick 3937ead984 fix other u2f tests needing a call polling authenticate 2021-08-07 17:23:26 -07:00
Conor Patrick 19d6405370 need to use a "call polling" method when waiting on button 2021-08-07 16:43:49 -07:00
Conor Patrick 48f56fd5ae make keepalive test wait for button press or timeout 2021-06-02 21:11:46 -07:00
Conor Patrick 18fcf5859a add test for ctaphid keepalive 2021-06-02 20:12:35 -07:00
Conor Patrick e6178a02f7 fix none independent tests 2021-04-22 15:33:17 -07:00
Conor Patrick 1b45e1e6b3 add fido2v1 tests and make credMgmt tests official 2021-04-22 15:33:17 -07:00
Conor Patrick 083716754c more tests 2021-03-26 01:42:37 -07:00
Conor Patrick 762668dd7e make more strict tests on user info returned for rk credentials 2021-03-22 19:50:12 -07:00
Conor Patrick 7faf7cacc5 use different RP's for hmac-secret tests so they don't mix 2021-03-22 19:49:46 -07:00
Conor Patrick 8a93466ce2 test userId is returned for RK credential even when it's specified in allowList 2021-02-14 20:26:03 -08:00
Conor Patrick b7fc538af8 run black format on everything 2021-02-14 20:26:03 -08:00
Conor Patrick cbc31b3f59 check cbor recursively to test all cbor 2021-01-29 15:28:44 -08:00
Conor Patrick 04c60165f9 add tests for credProtect and both credProtect and hmac-secret 2021-01-29 15:28:44 -08:00
Nicolas IoossandConor Patrick 681cfcb759 fix multiple values for argument 'options'
When running `tests/standard/fido2/test_getinfo.py` on Python 3.8, the
test fails with:

    TypeError: make_credential() got multiple values for argument 'options'

Move `options` into `FidoRequest` parameters in order to fix the
invocation of `device.sendMC`.
2021-01-27 20:13:27 -08:00
Conor Patrick 6b984ecd4f add test for eddsa 2020-10-18 16:52:52 -07:00
Conor Patrick 12d13ca62a skip ctap1 test if credentialId is longer than 255 bytes 2020-10-18 16:52:52 -07:00
Conor Patrick 7ef0a1ed84 improve applicability of some tests 2020-08-28 15:03:38 -07:00