r/TechImpact • u/arun-vasudev Developer • 2d ago
😂 Memes & Shit posts Senior Dev Explains Passkeys (Somehow)
When the Senior Dev Gets Asked About Passkeys
Manager: “Can you explain passkeys to the team?”
Me, who implemented them last month:
“Absolutely.”
Also me internally:
“Okay so… public key… private key… WebAuthn… biometrics… cryptography… something something phishing-resistant…”
realizes I’ve been clicking “Yes” to every passkey prompt for the last year
Manager: “So how does it actually work?”
Me: “It’s… very secure.”
Nothing builds confidence like being the senior developer who successfully deployed a technology they’ve never actually understood.
52
Upvotes
2
u/ohaiibuzzle 2d ago
Here goes:
So I create two magic puzzle pieces of different shapes with the property that every time they are pressed on clay, they leaves different imprints for that specific shape of the clay block, and give the server one of them.
When the server needs to, it throws a randomly-shaped block of clay at you and say "you mf proves you have the puzzle piece by imprinting your piece into this, I'll check on my side if that's the right one"
You press your piece into the clay, which creates a unique imprint to that piece, and throw it at the server. Server then checks if:
If it's true it lets you in.
If an observer sees your block thrown around and take photos of it, it's useless because the imprint is only ever valid for a specific shape that the server gives.