--- id: soft-webauthn version: "0.1.4" license: unclear license_treatment: permissive maintenance: abandoned --- # soft-webauthn — Python webauthn software authenticator License: permissive · Maintenance: abandoned · Downloads: 143.7K/mo ## What it is and what it does soft-webauthn provides a SoftWebauthnDevice class that mimics a WebAuthn authenticator for testing passwordless authentication flows in web applications. It exports navigator-like methods (create, get) and credential initialization helpers so developers can write integration tests without physical security keys or live browser automation. The package is designed to sit within a test suite alongside application-specific code that handles credential exchange between the test client and the web application under test. It depends on cryptography and fido2 for the underlying cryptographic operations and FIDO2 protocol implementation. Use it for: - Write unit tests for WebAuthn registration and authentication flows in web applications during CI/CD - Emulate authenticator behavior in integration tests without requiring hardware tokens - Test passwordless login flows in development without setting up a full browser environment - Validate credential creation and assertion handling in custom WebAuthn relying party implementations ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Emulates a WebAuthn authenticator in Python for testing web applications that use passwordless authentication, without requiring physical security keys. Yes, if you are actively testing WebAuthn flows and can tolerate an abandoned package. The low install friction and permissive license make it straightforward to adopt, but verify that it works with your current dependency versions and WebAuthn spec version before relying on it in production CI—no updates are forthcoming. ## Install pip install soft-webauthn uv add soft-webauthn poetry add soft-webauthn ## Installing soft-webauthn Before you install: Low install friction with only two runtime dependencies (cryptography and fido2). However, the project is abandoned—last release was 2022-07-08 and last commit 2023-06-09—so expect no maintenance or security updates. License in practice: MIT license permits free use, modification, and distribution with minimal restrictions, making it safe to incorporate into test suites. Quickstart: pip install soft-webauthn from soft_webauthn import SoftWebauthnDevice device = SoftWebauthnDevice() device.cred_init(rp_id='example.com', user_handle=b'user') attestation = device.cred_as_attested() Verify before relying: - Whether the package works with current versions of cryptography and fido2 dependencies, given its abandoned status since mid-2023 - Compatibility with modern WebAuthn specifications and browser implementations - Whether it handles all WebAuthn credential types and algorithms in current use ## Package facts - License: not declared (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 143.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags webauthn testing, software authenticator, fido2 emulation, passwordless auth testing, webauthn mock device, browser credential simulation, web app security testing, webauthn, testing, authentication [View on SkillFed](https://skillfed.io/packages/soft-webauthn) · [View on PyPI](https://pypi.org/project/soft-webauthn/)