Fidope: Passkey Authenticator on a Raspberry Pi Pico
A user authentication system built on a Raspberry Pi Pico: a hardware passkey for trusted sign-ins, scoped against the FIDO Alliance's requirements for certified authenticators.
Raspberry Pi PicoFIDO2WebAuthnCTAP2USB HID
Project Brief
Objective
To build a hardware passkey on a Raspberry Pi Pico that signs users in without a password, and to scope it against what the FIDO Alliance asks of a certified authenticator.
Motif
A passkey is only as trustworthy as the device that holds its private key. Building one from a few-dollar microcontroller is the most direct way to learn what makes a sign-in trustworthy, and where a homemade key falls short of a certified one.
System Architecture
When a site asks to register a passkey, the browser passes the request to the Pico over USB. The Pico waits for a touch on its button, creates a key pair just for that site, keeps the private key, and returns only the public key. At sign-in, the site sends a fresh challenge; the Pico signs it after another touch, and the site checks the signature against the public key it stored. The private key never leaves the board, and the sign counter helps the site detect a cloned key.
The repository is private for now, so there is no source link yet.
Progression
TODO
Required Knowledge
Extensions
The Pico has no secure element, so anyone holding the board could read its flash. That is the main gap between this key and a certified one. The natural next steps are encrypting the key store with a key derived from the PIN, adding an external secure element for the private keys, and then testing the device against the FIDO conformance tools.
Posts
No posts for this project yet. Come back later.
