The Chudora tools have no passwords. You sign in with a passkey, created on your phone or computer and unlocked with the device's fingerprint, face or PIN. Here is how it works, and how I planned for the case where the device is gone.
What a passkey is#
A passkey relies on a pair of cryptographic keys, created by the device at registration:
- the private key stays on the device, protected by its lock (fingerprint, face or PIN);
- the public key is sent to the server, which keeps it with the account.
At each sign-in, the server sends a challenge: a random string of characters, different every time. The device signs it with the private key, after asking for the fingerprint or the PIN. The server checks the signature with the public key. No secret travels over the network: the private key never leaves the device, and what the server keeps cannot be used to sign in as you.
The standard behind all this is called WebAuthn. It is supported by current browsers and operating systems (Android, iOS, macOS, Windows), which can also sync passkeys across a person's devices.
Why it resists phishing#
With a password, a fake site that imitates the sign-in page is enough: the person types their password, and the fake site collects it.
A passkey is tied to the domain name it was created for. The Chudora tools' passkeys are tied to chudora.fr. On a fake site, even one that looks identical, the browser does not offer the passkey. There is nothing to type, so nothing the fake site can collect.
The same tie to the domain makes one practical thing possible: a single passkey works for every subdomain, so for the portal and for each tool.
How sign-in is organized#
The tools do not handle sign-in themselves. They hand it over to the portal, which acts as an identity provider using the OpenID Connect protocol:
- you open a tool;
- it sends you to the portal, which asks for your passkey;
- the portal sends back to the tool a signed token, valid for five minutes, that says who you are and what you are allowed to do in that tool;
- the tool opens its session.
To move to another tool, step 2 is skipped: the portal session is already open.
When access is removed, when an account is disabled or an organization is suspended, the portal notifies each tool, which immediately closes the sessions concerned. Each tool also checks its sessions with the portal again every five minutes, in case a message got lost.
If the device is lost#
I planned two fallbacks for the case where the device is no longer available:
- a single-use sign-in link sent by email;
- on top of the link, if the person turned it on, an authenticator app code (the six-digit codes that change every thirty seconds).
Once you have signed in with the link, you create a new passkey on the new device. Identity confirmation attempts are limited: after five failures in fifteen minutes, the session is closed and an alert is sent.
What to know before you start#
A few practical points for anyone who wants to switch to passkeys, in their own tools or elsewhere:
- Plan the fallback from the start. Without one, losing your phone means losing access to the account.
- Allow several passkeys per account. One on the phone, one on the computer: if one disappears, the other is enough.
- Choose the right domain name. A passkey is tied to a domain. Tying it to the main domain rather than a subdomain lets you use it everywhere.
- Keep sessions short on the tool side. The passkey protects the sign-in; after that, the sessions protect access. Short-lived tokens and immediate closing whenever a permission is removed limit the damage if something goes wrong.
The details of the tools' security measures are on the Security page.