{"id":22138779,"url":"https://github.com/trussed-dev/fido2-tests","last_synced_at":"2025-07-25T22:32:13.458Z","repository":{"id":35045213,"uuid":"199939051","full_name":"trussed-dev/fido2-tests","owner":"trussed-dev","description":"Test suite for FIDO2, U2F, and other security key functions","archived":false,"fork":false,"pushed_at":"2024-03-20T15:30:01.000Z","size":146,"stargazers_count":47,"open_issues_count":12,"forks_count":38,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-04-20T08:02:08.404Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trussed-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-07-31T22:46:07.000Z","updated_at":"2024-04-20T08:02:09.899Z","dependencies_parsed_at":"2024-04-20T08:12:16.366Z","dependency_job_id":null,"html_url":"https://github.com/trussed-dev/fido2-tests","commit_stats":null,"previous_names":["trussed-dev/fido2-tests"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trussed-dev%2Ffido2-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trussed-dev%2Ffido2-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trussed-dev%2Ffido2-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trussed-dev%2Ffido2-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trussed-dev","download_url":"https://codeload.github.com/trussed-dev/fido2-tests/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227621872,"owners_count":17795021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-01T20:11:57.738Z","updated_at":"2024-12-01T20:11:58.205Z","avatar_url":"https://github.com/trussed-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fido2-tests\n\nTest suite for FIDO2, U2F, and other security key functions\n\n# Setup\n\nNeed python 3.6+.\n\n`make venv` and `source venv/bin/activate`\n\nOr simply `pip3 install --user -r requirements.txt`\n\n# Running the tests\n\nRun all FIDO2, U2F, and HID tests:\n\n```\npytest tests/standard -s\n```\n\nRun vendor/model specific tests:\n\n```\npytest tests/vendor -s\n```\n\nRun subset of tests with `-k` flag, example:\n```\npytest -k \"getinfo or hmac_secret\" -s\n```\n\nTo run tests via nfc, supply the `--nfc` option.\nMake sure that you have `pyscard` python module installed properly and have updated `python-fido2` (by Yubikey) library to lastest version\n\n```\npytest --nfc tests/standard -s\n```\n\nNote that in most cases when testing a hardware authenticator, `-s` must be supplied to disable stdin/stdout capturing.  This is so the prompts to power cycle the authenticator can be seen and continued.\n\n# Running against simulation\n\nTo run tests against a \"simulation\" build of the Solo authenticator, supply the `--sim` option.\n\n```\npytest --sim tests/standard\n```\n\nAll tests should pass without having to use `-s` or provide any interaction.\n\n# Notes\n\nInitial SoloKeys models truncates the displayName, which causes a couple of the tests to fail.\nTo succeed all tests, pass `--vendor solokeys` as an option.\n\n# Contributing\n\nWe use `black` and `isort` to prevent code formatting discussions.\n\nThe `make venv` setup method installs git pre-commit hooks that check conformance automatically.\n\nYou can also `make check` and `make fix` manually, or use an editor plugins.\n\n# License\n\nApache-2.0 OR MIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrussed-dev%2Ffido2-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrussed-dev%2Ffido2-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrussed-dev%2Ffido2-tests/lists"}