Python webauthn software authenticator
Project description
Python software webauthn token
Package is used for testing webauthn enabled web applications. The use-case is authenticator simulation during web application development CI, eg. FIDO2 token emulation during registration and authentication process.
SoftWebauthnDevice
class is deliberately mixing some client and authenticator
behavior, the interface exported mimic navigator.credentials create() and get()
functions. Note that communication protocol between Client and Relaying
Party is out-of-scope of Webauthn specification as well as credential storage
and it's association with the user identity.
Example usage code can be found in tests/test_interop.py
(Token/Client vs RP
API) and tests/test_example.py
(Token/Client vs RP HTTP). Despite internal
usage of yubico/python-fido2
package, the project should be usable againts
other RP implementations as well.
References
Development
git clone https://github.com/bodik/soft-webauthn
cd soft-webauthn
ln -s ../../git_hookprecommit.sh .git/hooks/pre-commit
# OPTIONAL, create and activate virtualenv
make venv
. venv/bin/activate
# install dependencies
make install-deps
# profit
make lint
make test
make coverage
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for soft_webauthn-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a956d8db23213d86ab8bf74db262257ce29aa99eb5edb5f5bb1ca17dce58620e |
|
MD5 | 5b24c701cc925711580ff1194a1442ff |
|
BLAKE2b-256 | 6dfe0e9a412514128b10cf5739c5b3081fc23fa58093e3193ea50e49f410dcae |