๐ฃ๐ฎ๐๐๐ธ๐ฒ๐๐ ๐จ๐ป๐ฑ๐ฒ๐ฟ ๐ง๐ต๐ฒ ๐๐ผ๐ผ๐ฑ
Passwords are broken. Most developers know this. Few understand why passkeys fix the problem.
The old way fails.
- You create a password.
- The server stores a hash.
- You send the password for every login.
- The server compares the hashes.
Sending the password is the risk. Phishing steals your credentials. Breaches leak your data. Credential stuffing lets hackers enter other sites.
Best practices are not fixes. They are temporary patches.
Passkeys change the system. They use asymmetric cryptography. They rely on FIDO2 and WebAuthn.
Your password never leaves your device.
Source: https://dev.to/spicykim/passkeys-under-the-hood-whats-actually-happening-when-you-use-face-id-to-log-in-2md1 Optional learning community: https://t.me/GyaanSetuAi