2025-05-13 22:02:04 +09:00
|
|
|
# Virtual WebAuthn
|
|
|
|
|
|
2025-05-14 07:12:00 +09:00
|
|
|
### Locally stored WebAuthn Passkey
|
2025-05-13 22:02:04 +09:00
|
|
|
|
2025-05-14 07:12:00 +09:00
|
|
|
### `passkey.py`
|
2025-05-13 22:02:04 +09:00
|
|
|
|
|
|
|
|
Virtual WebAuthn implemention of `navigator.credentials.get()` and `navigator.credentials.create()`, with self-attestation.
|
|
|
|
|
|
|
|
|
|
### `webauthn_server.py`
|
|
|
|
|
|
2025-05-14 07:12:00 +09:00
|
|
|
Simple FastAPI server that acts as proxy for `passkey.py` on browser environment.
|
2025-05-13 22:02:04 +09:00
|
|
|
|
|
|
|
|
Use `webauthn_server.js` in userscript.js (like TamperMonkey), WebAuthn requests will be forwarded to your local script.
|
|
|
|
|
|
|
|
|
|
|
2025-05-14 07:12:00 +09:00
|
|
|
Private key for your Passkeys are stored in JSON file, you can backup your private key.
|
2025-05-13 22:02:04 +09:00
|
|
|
|
|
|
|
|
Works on most WebAuthn websites, including Google, Microsoft.
|