Initial prototype: passkey PRF → HKDF → Nostr key
Full pipeline proving a WebAuthn PRF assertion can anchor a stable Nostr keypair. Core derivation in nostr_passkey/derivation.py (pure, unit-tested), WebAuthn ceremony glue in webauthn_flow.py, FastAPI surface in app.py, single-page WebAuthn client in web/index.html, and an end-to-end simulation in scripts/demo.py for running without a real authenticator. Verified working against Firefox 149 + macOS Touch ID over HTTPS on https://localhost:8000 with a self-signed loopback cert. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
5
nostr_passkey/__init__.py
Normal file
5
nostr_passkey/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
"""Passkey-anchored Nostr key derivation prototype."""
|
||||
|
||||
from .derivation import NostrIdentity, derive_nostr_key
|
||||
|
||||
__all__ = ["NostrIdentity", "derive_nostr_key"]
|
||||
Reference in New Issue
Block a user