Python software webauthn token
Package is used for testing webauthn enabled web applications. The use-case is authenticator and browser emulation during web application development continuous integration.
SoftWebauthnDevice class interface exports basic navigator interface used for
webauthn features:
SoftWebauthnDevice.create(...)akanavigator.credentials.create(...)SoftWebauthnDevice.get(...)akanavigator.credentials.get(...)
To support authentication tests without prior registration/attestation, the class exports additional functions:
SoftWebauthnDevice.cred_init(rp_id, user_handle)SoftWebauthnDevice.cred_as_attested()
There is no standard/specification for Client (browser) to Relying party (web application) communication. Therefore the class should be be used in a web application test suite along with other code handling webapp specific tasks such as conveying CredentialCreationOptions from webapp and PublicKeyCredential back to the webapp.
The example usage 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
Metadata
Release files for soft-webauthn 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| soft-webauthn-0.1.4.tar.gz | 3.5 kB | Without provenance | Details for soft-webauthn-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| soft_webauthn-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for soft_webauthn-0.1.4-py3-none-any.whl |
Total release size: 7.9 kB
Release files / soft-webauthn-0.1.4.tar.gz
| Download URL | soft-webauthn-0.1.4.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e96513342e69bbfde5a60adcb03ab0d562d70d5d2e20ee7203fcfbdf4f1b06d0
|
|
BLAKE2b-256 checksum How to use checksums |
613165cf69054dced6c143ca8631ce3075cdbb9d096739b8a5254467baa38ec8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / soft_webauthn-0.1.4-py3-none-any.whl
| Download URL | soft_webauthn-0.1.4-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eacb98e406b0bc170455f9fd00977400d6129e7c557f872cf118e9431d1cb9e1
|
|
BLAKE2b-256 checksum How to use checksums |
e25bcd4b1738509cdb9382d632c503be0b242d589e4dfe39dcc75d74fcf1618c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Security for soft-webauthn 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.