{"repo":"duo-labs/py_webauthn","free":true,"listed":false,"github":"https://github.com/duo-labs/py_webauthn","clone":"git clone https://github.com/duo-labs/py_webauthn.git","description":"Pythonic WebAuthn 🐍","language":"Python","stars":1057,"topics":["webauthn","python","fido2","pip","pypi","duo","security","python3"],"license":"BSD-3-Clause","category":"security-tools","readme_excerpt":"py webauthn A Python3 implementation of the server-side of the WebAuthn API focused on making it easy to leverage the power of WebAuthn. This library supports all FIDO2-compliant authenticators, including security keys, Touch ID, Face ID, Windows Hello, Android biometrics...and pretty much everything else. Installation This module is available on PyPI : pip install webauthn Requirements - Python 3.10 and up Usage The library exposes just a few core methods on the root webauthn module: - generate registration options() - verify registration response() - generate authentication options() - verify authentication response() Two additional helper methods are also exposed: - options to json() - base64url to bytes() Additional data structures are available on webauthn.helpers.structs . These dataclasses are useful for constructing inputs to the methods above, and for providing type hinting to help ensure consistency in the shape of data being passed around. Generally, the library makes the following assumptions about how a Relying Party implementing this library will interface with a webpage that will handle calling the WebAuthn API: - JSON is the preferred data type for transmitting registration and authentication options from the server to the webpage to feed to navigator.credentials.create() and navigator.credentials.get() respectively. - JSON is the preferred data type for transmitting WebAuthn responses from the browser to the server. - Bytes are not directly transmittable in e","default_branch":null,"files":null,"tree":[],"storefront":"/r/duo-labs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/duo-labs/py_webauthn/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}