passwordless.gr

Passkeys, OTP and SMS comparedThree ways to prove who you are, each with a different resistance to deception.

Passkeys, OTP and SMS are usually compared with adjectives. Here they are compared in tables: what each method withstands, what it asks of the user and what the organisation has to run.

passwordless.gr teamPublished Updated

The three methods differ in what travels from the user to the service

With an SMS code or a one-time code from an authenticator app, the user types a secret that can just as easily be typed into the wrong page. With a passkey the user types nothing: the device signs a challenge for one specific site. Every other difference follows from that one.

The definitions, so that each row of the tables can be read on its own:

  • Passkey. A credential made of a pair of cryptographic keys, under the W3C WebAuthn standard. The private key stays on the user’s device or in the user’s sync account. The service holds only the public key. More in the glossary entry for passkey.
  • One-time code from an authenticator app (OTP). A number that an app on the phone generates from a secret key, which the service also knows. More in the glossary entry for one-time password.
  • SMS code. A number the service sends by text message to the user’s phone number, over the mobile telephone network.

The security properties below are based on the digital identity guidelines of the United States National Institute of Standards and Technology, NIST SP 800-63B (Revision 4, 2025). It is a United States text and a detailed, public classification of authentication methods, and it serves as a common point of reference.

On security, only passkeys cannot be handed to a fake page

According to NIST SP 800-63B (2025), one-time codes and codes sent by SMS are not phishing-resistant, because the user carries them across by hand. Passkeys are, because their signature is cryptographically bound to the address of the genuine site. SIM swapping affects SMS codes only.

Criterion Passkeys OTP from an app SMS code
Holds against a fake page Yes. The key does not work on a fake address No. The code can be typed into a fake page No. The code can be typed into a fake page
Resistance to SIM swapping Yes. They do not depend on a phone number Yes. The code is generated inside the device No. The code follows the number, not the device
What the service stores Only the public key The same secret key as the device The user’s phone number
Extraction by phone call There is no code to read out The code can be read out to a third party The code can be read out to a third party
Classification in NIST SP 800-63B Meet the definition below Accepted, does not meet it Restricted

The NIST definition matters for how the first row is read. A phishing-resistant method is one that prevents secrets being disclosed to an impostor service without relying on the vigilance of the user. A code that the user reads and types does not meet the definition, however short its life. The same text names WebAuthn as an example of a standard that achieves this binding to the name of the service.

The third row is about what is lost if the service is breached. With codes from an app, the secret key exists on both sides, and NIST requires it to be strongly protected on the server. With passkeys, a leaked database reveals public keys, which are not enough to sign in.

The last row needs explaining. “Restricted” does not mean SMS codes are forbidden. It means that whoever uses them must, according to NIST, offer at least one alternative method that is not restricted, give users notice of the risks, and have a migration plan. The text also asks for indicators such as a SIM change, a device swap and number porting to be considered. SIM swapping is exactly that: the number moves to a card someone else controls, and the codes move with it.

In daily use, passkeys ask less of the user and more of the recovery process

With a passkey the user confirms with a finger, a face or the device PIN and types nothing. With a code from an app or by SMS the user reads and types a number at every sign-in. Losing the device is the point where passkeys call for the most planning by the organisation.

Criterion Passkeys OTP from an app SMS code
What the user does Confirms with a finger, a face or the device PIN Opens the app and types the code Waits for the message and types the code
What the organisation runs A WebAuthn service, or an identity provider that supports it A verification service and safe storage for the secret keys A connection to an SMS sending provider, and correct phone numbers
Dependence on the mobile network None None. The code is generated without signal Total. Without signal no code arrives
Lost device Synced passkey: it returns on the new device. Device-bound: new registration New registration, unless the app keeps a backup The number is moved to a new SIM card
What the user needs A device that supports passkeys, or a physical security key A phone with the app installed Any mobile phone with an active number

The lost-device row also shows the most honest weakness of each method. SMS codes are easy to recover because the number moves to a new card, and that same ease is what SIM swapping exploits. With passkeys, recovery is the organisation’s job: it must decide how someone proves who they are when they no longer have their device.

The FIDO Alliance distinguishes two kinds. Synced passkeys are copied across the user’s devices through a cloud service and survive the loss of one device. Device-bound passkeys never leave the device. NIST SP 800-63B (2025) accepts synced ones at its second assurance level, with conditions on how the sync account is protected, and excludes them from the third and highest, where the private key must not be exportable.

For every method, NIST recommends encouraging users to maintain at least two separate means of authentication. That recommendation reduces recoveries more than any technical choice.

The choice depends on what is protected and on who signs in

Where an account gives access to money, personal data or administrative rights, passkeys are the only one of the three methods that withstands phishing. A code from an authenticator app is a reasonable transitional measure. An SMS code is justified mainly as a fallback for users who have no other option.

Three observations for whoever decides:

  1. The security of an account is set by the weakest method it accepts. If an account with a passkey also accepts an SMS code as an alternative, an attacker will choose the SMS code.
  2. The recovery method is a sign-in method too. Recovery by email message or by SMS brings back the weaknesses that were removed from the normal sign-in.
  3. Regulated sectors have criteria of their own. For payments, Directive (EU) 2015/2366 (PSD2) defines strong customer authentication in Article 4(30), and the tables here do not replace it. Whether and how a rule applies to a specific organisation is a matter for its legal and compliance advisers.

The tables do not say that one-time codes are useless. A second factor, even by SMS, is better than a password alone. They say that multi-factor authentication is not a single category, and that the distance between its forms is greater than the shared name suggests.

Why the fake-page test is the criterion that counts most is the subject of our article on MFA beyond SMS codes. How a passkey works, step by step and in plain language, is on the page how it works.

Sectors concerned

  • Insurance

    The agent portal opens claim files. It deserves better than a shared password.

  • Public sector

    Services for every citizen, and QR codes in public places that anyone can cover with a sticker.

  • Banking

    Strong customer authentication is already an obligation. The question is whether it also withstands phishing.