Security · 2026 · Jasa

From email codes to passkeys

My admin pages used to sign me in with an email code. Now they use passkeys: one touch of a fingerprint and I’m in, with the email code kept as a backup.

The trouble with codes

Earlier I hid my admin panels behind email codes. Safe enough, but every time meant switching to email, waiting for a message and copying six digits. With several admin pages a day, I went through it again for each one.

And every code went to the same inbox, which made that inbox the one and only key.

How a passkey works

When you first set it up, the device makes a pair of keys. The private key stays on the phone or computer and never leaves; the public key goes to the sign-in service. After that, to sign in, the service sends a random challenge and the device signs it with the private key. The fingerprint or face only unlocks the private key.

My deviceprivate key staysSign-instores public keyrandom challengesignaturefingerprint
The service only checks whether the signature is valid. The private key never leaves my phone.

The service only stores the public key, so even if it’s stolen no one can sign in with it. The signature is also tied to the web address, so a phishing site gets nothing it can use.

What I watched for when switching

← All notes