A passkey is a cryptographic key pair that your device unlocks with a PIN, fingerprint or face scan. A password is a secret you create, remember and type. Passkeys are the stronger and faster way to sign in, because there is no shared secret for an attacker to phish, guess or steal from a leaked database. Passwords still matter as a fallback, and that is where most founders get the build wrong. I'm Hanad, a senior software engineer in Vienna, and I build login for first real versions of products. This article explains the difference in plain terms and what it means if you are shipping an app to real users.
Key Takeaways
- A password is a shared secret that travels to the website. A passkey never sends a secret: your device proves it holds a private key.
- Passkeys resist phishing because they are tied to the real site. A lookalike domain cannot use them.
- Passkeys are not magic. Weak account recovery, a compromised device or a hijacked session can still cost you an account.
- For your own product, the sound default today is passkeys first, with a well-built password or recovery route behind them.
- Login is a core part of a first version. Treat it as such from the first commit, not as a plugin you bolt on later.
Table of Contents
- How a password works, and where it breaks
- How a passkey works
- Passkeys vs passwords: the comparison that matters
- What happens if you lose your phone
- Where passkeys do not protect you
- Are passkeys replacing passwords?
- What this means for your product
- Perspective
- Getting it built properly
- FAQ
- Sources
How a password works, and where it breaks
A password is a secret that a person creates and enters. NIST describes passwords as exactly that, and recommends at least 15 characters when you have to choose one yourself. You type it into a page, it travels to the service, and the service checks it against what it has stored.
That design has two weak points, and both come from the same fact: the secret is shared.
- Phishing. NIST notes that people can be tricked into typing a password into a fake login page. The attacker now has the real thing.
- Database leaks. NIST also explains that passwords exposed in leaked databases, even encrypted ones, can be attacked with offline guesses.
A third problem is human. People reuse passwords across sites, so one breach opens many doors. MDN's security guide names this as cross-site credential stuffing: attackers try a leaked login on other services.
For a founder, this is not abstract. If your product stores passwords, you are now the holder of a secret your customers also use elsewhere. You carry that responsibility the day you launch.
How a passkey works
A passkey is a pair of keys. According to MDN, the authenticator (your phone, laptop or a hardware key) keeps the private key. The service stores only the public key. To sign in, the service sends a challenge, the authenticator signs it, and the service checks the signature with the public key.
What the user feels is simpler. The UK National Cyber Security Centre (NCSC) describes a passkey as a passwordless FIDO2 sign-in method used through a trusted device with its biometrics or lock-screen PIN. FIDO2 is the open standard behind passkeys. You tap, look at your phone or enter your device PIN, and you are in.
Three properties matter:
- Nothing to remember. The authenticator generates the key, not the user. MDN notes that passkeys are generated rather than chosen, so they cannot be weak or guessed.
- Unique per site. Each passkey belongs to one service, which removes credential stuffing.
- Nothing useful to steal from you. If your database leaks, the public keys are worthless on their own. MDN states that a stolen public key cannot be used alone.
Passkeys vs passwords: the comparison that matters
| Password | Passkey | |
|---|---|---|
| What it is | A secret the user creates and types | A key pair generated by the device |
| What the site stores | A hash of the secret | The public key only |
| Phishing | Can be typed into a fake page | Bound to the real site, so a lookalike domain cannot use it |
| Database leak | Can be attacked offline | Public keys are useless alone |
| Reuse across sites | Common | Not possible, unique per site |
| Speed | Type, often plus a code | NCSC says up to eight times faster than username, password and a second-step code |
| Needs a second factor | Yes, to be strong | Device unlock is built in |
The speed claim comes from the NCSC's passkey guidance, which also says passkeys are as secure or more secure than two-step verification with the strongest password. Its 2026 comparison paper assesses FIDO2 credentials as at least as secure as traditional multi-factor methods against common credential attacks, and says those traditional methods remain phishable.
The phishing point deserves one more sentence, because it is the main reason to care. MDN explains that a passkey is scoped to the origin it was created for. When the implementation verifies that origin correctly, a copycat domain simply gets nothing. The user does not have to spot the fake, because the software does it for them.
What happens if you lose your phone
This is the first question every non-technical founder asks, and the second is what their customers will ask.
The NCSC explains that passkeys are created and managed through a credential manager, usually built into the device or supplied by a third party you choose. Credential managers back passkeys up and can sync them to other trusted devices, so losing a phone should not mean losing access.
There is a catch that matters when you build, not when you use. The NCSC also says users still depend on the security of their devices and credential managers, and that services should offer clear credential-management and recovery options. That second part is your job as the product owner.
Where passkeys do not protect you
OWASP's Passkey Security Cheat Sheet is blunt about the limits. Passkeys by themselves do not protect against:
- a hijacked, already authenticated session
- an insecure recovery flow
- a compromised device
- a compromised account used to synchronize credentials
It also says an account is only as secure as its weakest recovery route. So if a user can bypass a passkey by clicking "forgot password" and answering an email prompt, the attacker will use that route instead.
The practical meaning: passkeys remove the most common attacks, and then the attacker looks at the next weakest door. Your recovery flow is that door. OWASP recommends several authenticators per account, secure recovery codes, rate limits, notifications when something changes, and review of sensitive recovery requests.
Are passkeys replacing passwords?
Gradually, yes, but not everywhere and not all at once. Many services now offer passkeys next to passwords, and the NCSC says that where passkeys are unavailable, you should use strong passwords generated by a password manager plus two-step verification. NIST gives the same direction: password managers can generate and store long, unique passwords, and the manager account itself should have multi-factor authentication switched on.
So an account can still require a password if the service has not added passkeys, or if it keeps a password as a recovery path. For a user the rule is simple: use a passkey where it is offered, a manager-generated password where it is not. If you want to see what a written rule set looks like for the password side, these password policy examples show the kinds of length, reuse and lockout rules teams write down.
What this means for your product
If you are a founder with a prototype, or about to start a first version, here is how I would think about it.
Prototype builders often leave login unfinished
AI app builders and no-code platforms get a login screen on the page quickly. What is often missing is everything around it: what happens when a user changes email, loses a device, gets locked out, or when an admin needs to reset access safely. That is the recovery surface OWASP warns about. It is also what a security or due-diligence review looks at, which I cover in passing a security review.
A sensible order of decisions
- Decide who signs in. Customers, staff, or both? A medical practice, a law office and a logistics dispatcher have different tolerance for friction and different risk if an account is taken over.
- Offer passkeys as the main sign-in. Users get the speed benefit and you stop holding a shared secret for most of them.
- Keep one carefully built fallback. That might be a password with a manager-friendly form, or a second registered authenticator plus recovery codes. Whichever you choose, rate-limit it and notify the user on changes.
- Protect the session. A passkey does not help if a session token is stolen afterwards. Session handling is part of the design, not an afterthought.
- Add a second factor where the data is sensitive. For admin accounts and anything with client records or payments, this is cheap insurance.
I go deeper on the order in login and auth for an MVP and on FIDO2 and session binding in MFA for SaaS. If payments are part of your first version, payments and login first explains why the two belong together. For a broader view of what buyers and auditors expect, the SaaS security checklist is a good companion.
What it costs you if you skip it
A stalled Lovable or Bolt build often has a login that works in a demo and breaks under real use. A Bubble app may keep authentication inside the platform, which becomes a problem when you migrate. In both cases, rebuilding authentication is much cheaper before you have thousands of users than after, because moving existing password hashes and sessions needs a careful plan. Check your own prototype against a short list: can a user recover access safely, can you revoke a session, and is every secret kept out of the browser? The last one connects to API key management, and Bubble users can start with five security checks before deciding on a rebuild.
Perspective
I build the first real version of software products for founders and owner-operated businesses, and login is the part I would never leave for later. A passkey is not a feature you sprinkle on. It touches how accounts are created, how they are recovered, how sessions end and how you answer a customer who lost a phone.
My view is that the right default is passkeys first with a deliberately built recovery route, on a stack that is boring and widely known: TypeScript, Next.js, Node, SQL. The reason is handoff. If the next developer can read and extend your authentication in an afternoon, you own something. If the login lives in a platform you cannot leave, or in code nobody can read, you rent it.
That is also why I work at a fixed price and fixed scope, in two to four weeks, with you owning the code from the first commit. You see working progress, including a sign-in that survives a lost phone, before you pay for it. And if an off-the-shelf tool fits your case better than custom code, I will tell you so.
Hanad Kubat
Getting it built properly
If your prototype's login is shaky, or you need payments and accounts that hold up in front of real users or an investor, this is the kind of work I do. I rebuild prototypes from Lovable, Bolt, v0, Replit, Cursor, Bubble and similar tools as maintainable code, build first real versions from a Figma file or document, and turn one painful manual workflow into a tool your staff or customers use. App builds start from €12,000, and the price is possible because there is no agency overhead, no project-manager layer and no offshore markup. You can see what I offer and get in touch at hanadkubat.com.
FAQ
Are passkeys a replacement for passwords?
They are the intended replacement, and for services that support them they already are the better option. The NCSC says that where passkeys are unavailable, you should use a strong, manager-generated password with two-step verification. Expect both to coexist for some time.
What happens to passkeys if you lose your phone?
Credential managers back up passkeys and can sync them to your other trusted devices, so you should not lose access completely, according to the NCSC. If you build a product, give users a clear recovery path, such as a second registered authenticator or recovery codes.
Are passkeys really safer than passwords?
Against phishing, credential stuffing and database leaks, yes. The NCSC rates them as secure as or more secure than two-step verification with the strongest password. They still depend on the safety of your device, your credential manager and the service's recovery flow.
How do you create and use a passkey?
You set one up in a site's account security settings or while creating a new account, through the credential manager on your device. After that, you sign in by unlocking your device with a PIN, fingerprint or face scan.
Should my first product support passkeys?
If your users are on modern phones and laptops, offering passkeys as the main sign-in is a strong choice. Pair them with a well-built recovery route, and treat session security as part of the same job.
Sources
- How Do I Create a Good Password? | NIST
- Passkeys: what you need to know | NCSC
- Passkeys are more secure than traditional ways to log in | NCSC (2026)
- Passkeys - Security | MDN
- Passkey Security - OWASP Cheat Sheet Series
- Password Policy Examples: Copy-Ready Rules for 2026
