Skip to main content

Python webauthn software authenticator

Project description

Python software webauthn token

Build Status

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

soft-webauthn-0.0.1.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

soft_webauthn-0.0.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page