STALL.ONE
LOG_ID: 2025-08-15 · CRYPTO · WEBAUTHN

Ephemeral Key Derivation using WebAuthn

PRF extension + HKDF for keys that exist only while the authenticator cooperates — with a path to multi-chain wallets that never store seed material on disk.

WEBAUTHN PRF HKDF STATELESS

01 · The problem

Seed phrases punish users and concentrate risk. Server custody reintroduces the honeypot. Passkeys already prove presence and user verification — the missing piece is deriving material without persisting it.

02 · PRF as root secret

The WebAuthn PRF extension returns deterministic pseudo-random output for a given salt, gated by the same ceremony as a normal assertion. High-entropy seed you never write to localStorage.

03 · Derive, use, forget


 prfOut = assertion.getClientExtensionResults().prf.results.first;


 evmKey = (prfOut, { info: () });
 solKey = (prfOut, { info: () });

05 · Threat notes

  • PRF availability is authenticator-dependent
  • XSS can still abuse a live session
  • Pair with CSP + short-lived in-memory handles
  • Better default than seeds in IndexedDB
Design bias

Prefer ephemeral derivation over durable seed storage. This is not a silver bullet — it is a better default for biometric-gated, multi-chain signing without plaintext mnemonics on disk.

06 · Takeaway

WebAuthn PRF + HKDF gives a path to stateless wallets: authenticate, derive, sign, forget. Live demo: passkeywallet.vercel.app.

Note: the live demo is not maintained and may not work.