🧪 AuthLabTRAINING LAB4 — Passkeys

lab4 · WebAuthn passkeys

Register a passkey (platform biometric or a security key), then sign in — passwordless.

Accounts: haim / steve.

What makes it different

register: server --challenge--> browser
          browser asks authenticator to make a key pair FOR rpId="lab4.stevegolucky.xyz"
          authenticator --public key + attestation--> server (stores public key)
sign-in:  server --challenge--> browser
          authenticator signs {challenge, origin="https://lab4.stevegolucky.xyz", rpIdHash} with the PRIVATE key
          server verifies the signature AND that origin/rpId match → no secret to steal or relay

Try it from the "wrong" domain and the signature won't validate — that's the anti-phishing property.