Lunch and Learn: WebAuthn Development: Demystifying the Hard Parts
summary
Built one of the first WebAuthn servers and early Python and Go libraries, explains concrete pitfalls: binary CBOR handling, signature verification mistakes, and iframe vs popup UX that led to a pragmatic dual enroll as U2F and WebAuthn workaround. Covers CTAP2, the new Cable transport and extensibility, why attestation is often unnecessary (don't bother with attestation unless high-risk), and practical account recovery patterns including discoverable credentials and enrolling multiple authenticators.
AI-written summary · about
chapters (18)
- 0:00Introduction and speakers
- 1:51Talk focus and audience
- 6:46WebAuthn terminology basics
- 9:33WebAuthn registration flow
- 15:53WebAuthn login flow
- 18:03Discoverable credentials
- 20:55CTAP2 and authenticator types
- 23:03Supporting legacy U2F keys
- 26:53WebAuthn extensions
- 28:16Practical deployment tips
- 31:27Signature verification pitfalls
- 34:14Cross-origin iframe challenges
- 36:38CBOR and COSE complexities
- 37:19W3C spec clarification
- 38:24User onboarding and education
- 40:50Attestation considerations
- 44:00Account recovery strategies
- 46:27Q&A
