
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
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(...)
aka navigator.credentials.create(...)
SoftWebauthnDevice.get(...)
aka navigator.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.
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
FAQs
Python webauthn software authenticator
We found that soft-webauthn demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.