Understanding the use of Passkeys as authentication mechanism

Passkeys are a passwordless authentication mechanism that uses cryptographic key pairs to authenticate users to websites, applications, or services. Unlike traditional passwords, which rely on a shared secret (something you know), passkeys are based on public key cryptography and typically involve something you have (e.g., a device like a smartphone or computer) and something you are (e.g., biometric authentication like a fingerprint or face scan) or something you know (e.g., a PIN). Passkeys are based on public-key cryptography (also known as asymmetric cryptography) and are part of the FIDO (Fast IDentity Online) standards, specifically FIDO2 and WebAuthn. Passkeys operate on the WebAuthn protocol, part of the FIDO2 framework, which includes Client to Authenticator Protocol (CTAP) for cross-device communication.They are designed to be a safer and easier alternative to passwords, fundamentally changing how we log into online services.

A passkey consists of two parts:

  1. Private Key: Securely stored on the user’s device (e.g., smartphone, laptop, or hardware security key) and never shared.
  2. Public Key: Shared with the service or website you’re authenticating to, which uses it to verify your identity.

Passkeys are designed to work across platforms and devices, often synchronized via cloud services (e.g., iCloud Keychain, Google Password Manager, or Microsoft’s ecosystem), making them convenient for users while maintaining high security.

The passkey authentication process is built on the WebAuthn (Web Authentication) standard, a core component of FIDO2. Here’s a step-by-step breakdown of how passkeys work:

  1. Registration (Creating a Passkey):
    • When you create an account or enable a passkey for an existing account on a website or app, your device (e.g., smartphone, laptop, hardware security key) generates a unique public-private key pair specifically for that website/app.
    • The private key is securely stored on your device, often within a secure enclave (a tamper-resistant hardware component) or a trusted execution environment (TEE). This private key never leaves your device.
    • The public key is sent to the website’s server and is associated with your user account. The public key is not sensitive information and can be publicly shared.
    • During this process, your device typically prompts you to verify your identity using your device’s existing screen unlock method, such as a fingerprint, facial recognition, or PIN. This verifies that you are authorizing the creation of the passkey on your device.
  2. Authentication (Logging In):
    • When you want to log in to the service, the website sends a “challenge” (a random piece of data) to your device.
    • Your device then prompts you to verify your identity again using your chosen screen unlock method (biometric or PIN).
    • Once you authenticate on your device, your device uses its securely stored private key to cryptographically “sign” the challenge.
    • This “signed challenge” (a cryptographic signature) is then sent back to the website’s server, along with your public key identifier.
    • The server, using the public key it has stored for your account, verifies the signature. If the signature is valid, it proves that the request came from the device possessing the corresponding private key, and thus, from you.
    • Crucially, the private key itself is never transmitted over the internet. Only the cryptographic signature created by the private key is sent, which cannot be used to deduce the private key or create new signatures.

Key Concepts in the Mechanism:

  • Asymmetric Cryptography: The use of a public-private key pair where the public key can encrypt or verify, and the private key can decrypt or sign. This ensures that even if the public key is known, the private key (and thus access to the account) remains secure on your device.
  • Device as Authenticator: Your device (phone, laptop, etc.) acts as the authenticator. It securely stores the private key and facilitates the biometric or PIN verification.
  • Phishing Resistance: Because the passkey is cryptographically bound to the website’s identity (domain), your device will only offer to use a passkey for the correct website. If an attacker tries to trick you into visiting a fake website, your device won’t present the option to use your legitimate passkey, making phishing attacks ineffective.
  • Standardization (FIDO/WebAuthn): Passkeys are built upon open standards, meaning they are designed to work across different operating systems, browsers, and devices, promoting a seamless and consistent user experience.
  • Synchronization: Many passkey implementations (like Apple iCloud Keychain, Google Password Manager, or Microsoft Windows Hello) allow passkeys to be securely synchronized across devices within the same ecosystem. This means if you create a passkey on your phone, it might automatically be available on your tablet or laptop linked to the same account, without needing to recreate it on each device.
  • Cross-Device Authentication: For cross-platform scenarios (e.g., using an iPhone to log in to a website on a Windows PC), passkeys can be shared securely via QR codes or Bluetooth. For example:
    • The website displays a QR code.
    • You scan it with your phone, authenticate using biometrics, and the phone signs the challenge to complete the login.
  • No Shared Secrets: Unlike passwords, the private key never leaves your device, reducing the risk of interception or server-side breaches.

Enhanced Security:

  • Phishing Resistance: This is perhaps the biggest security advantage. Passkeys are inherently resistant to phishing attacks because they are tied to the specific website’s domain. You cannot be tricked into entering your passkey on a fraudulent site.
  • No Shared Secrets: Unlike passwords, where the secret is known by both you and the server (making it vulnerable if the server is compromised), with passkeys, the private key is only on your device. The server only stores the non-sensitive public key.
  • Reduced Risk of Data Breaches: Since services only store public keys (which are useless without the private key), a server-side breach doesn’t compromise user credentials.
  • Strong by Default: Passkeys are cryptographically strong and cannot be guessed or brute-forced. There’s no need to worry about creating complex, unique passwords.
  • Eliminates Password Reuse: Since each passkey is unique to a specific service, there’s no risk of account compromise if a passkey from one service is leaked (though, as stated, private keys aren’t typically “leaked” from servers).
  • Built-in Multi-Factor Authentication (MFA): Passkeys combine “something you have” (your device) with “something you are” (biometrics) or “something you know” (PIN) in a single, seamless step, providing strong MFA without the typical friction.

Superior User Experience:

  • Passwordless Login: No more remembering, typing, or managing complex passwords.
  • Faster Sign-in: Authentication is often as simple as a touch or a glance, significantly speeding up the login process. Biometric authentication (e.g., Face ID, Touch ID) makes logging in fast and seamless.
  • Seamless Across Devices: With synchronization, you can use your passkeys across all your devices within the same ecosystem without re-enrollment. Even across different ecosystems, you can often use a passkey from your phone to log in on a computer by scanning a QR code.
  • Reduced Friction: No more forgotten passwords, reset flows, or entering one-time codes from SMS or authenticator apps.

Cost Reduction for Service Providers:

  • Lower costs associated with password resets, account recovery, and defending against credential stuffing attacks.
  • Reduced need for sending SMS OTPs, which can incur costs.

Interoperability:

  • Passkeys are built on open standards (FIDO2 and WebAuthn), ensuring broad compatibility across platforms, browsers, and devices.

    • Not All Websites Support Them Yet: While adoption is growing rapidly among major tech companies (Google, Apple, Microsoft, Amazon, etc.) and many other services, not all websites and applications currently support passkeys. You will still need to use passwords for services that haven’t implemented them.
    • Device-Bound vs. Synced Passkeys:
      • Synced Passkeys: Most common for personal use, these are securely backed up and synced across devices linked to a cloud account (e.g., iCloud Keychain for Apple, Google Password Manager for Android/Chrome, Microsoft Windows Hello). This offers convenience and recovery if a device is lost.
      • Device-Bound Passkeys: These are tied to a specific device and cannot be copied or synced. Hardware security keys (like YubiKeys) typically generate device-bound passkeys. They offer an even higher level of security but come with the inconvenience of needing the specific device to log in.
    • Biometric Data Stays on Device: A common concern is privacy around biometric data. It’s crucial to understand that your biometric information (fingerprint, face scan) never leaves your device. It’s only used locally to unlock the private key, which then performs the cryptographic signature. No biometric data is ever sent to the website or app.
    • Recovery and Lost Devices:
      • For synced passkeys, if you lose your device, your passkeys are typically recoverable through your cloud provider (e.g., signing into your Google Account on a new device will sync your passkeys).
      • For device-bound passkeys, losing the device means losing access to those specific passkeys. It’s advisable to have backup authentication methods (like another passkey on a different device or a traditional password) for critical accounts.
      • You can usually revoke or manage your passkeys through your account settings on the respective service.
    • Backward Compatibility: Even after enabling passkeys, most services will still allow you to log in with your traditional password (and 2FA, if enabled) as a fallback or alternative. You usually have the option to set your preference for passkey-first login or password-first.
    • Creating Passkeys: The process of creating a passkey is typically initiated by the website or app when you sign up or go to your security settings. Your device will then guide you through using your screen unlock method to create and save the passkey.
    • The Future is Passwordless: Passkeys are a major step towards a passwordless future, offering a more robust and user-friendly authentication paradigm that significantly enhances online security and user experience.


    1. Adoption Challenges:
      • Not all websites and services support passkeys yet, as adoption is still growing.
      • Users may need to maintain passwords for services that haven’t transitioned to passkeys.
    2. Device Dependency:
      • Passkeys are tied to devices or cloud accounts. Losing access to both the device and the cloud account (e.g., forgetting your Apple ID password) could lock you out.
      • Recovery mechanisms vary by platform and may not be as straightforward as password resets.
    3. Cross-Platform Friction:
      • While passkeys are designed to work cross-platform, using a passkey from one ecosystem (e.g., Apple) on another (e.g., Windows) may require additional steps like QR code scanning.
    4. User Education:
      • Passkeys are a new concept for many users, and the transition from passwords may cause confusion.
      • Users may not understand how to manage or recover passkeys if they lose access to their devices.
    5. Reliance on Cloud Providers:
      • Cloud-synced passkeys depend on the security of the user’s cloud account (e.g., Apple ID, Google Account). A compromised cloud account could potentially expose passkeys.
    6. Hardware Requirements:
      • Passkeys require devices with secure storage (e.g., TPM or secure enclave), which may not be available on older or low-end devices.

    The system requirements for passkeys span hardware, operating systems, browsers, applications, and service support. These requirements ensure that devices can act as authenticators (storing and using private keys) and that services can integrate with the WebAuthn protocol for authentication. Below, I break down each category in detail.

    1. Hardware Requirements

    Passkeys require devices with secure storage capabilities to protect the private key and support user verification. The hardware must also support communication protocols for cross-device authentication (e.g., BLE, NFC, or USB for hardware keys).

    • Secure Storage:
      • Trusted Platform Module (TPM): Available on many Windows laptops/desktops (Windows 10/11) and some Android devices (e.g., Samsung Galaxy, Google Pixel). TPMs provide hardware-based isolation for private keys.
      • Secure Enclave: Found on Apple devices (iPhones, iPads, Macs with A7/M1 chips or later). This is a dedicated coprocessor for secure key storage and cryptographic operations.
      • Secure Element: Used in hardware security keys like YubiKey or Google Titan, which store private keys in tamper-resistant chips.
      • Software-Based Secure Storage (Android KeyStore): For Android devices without TPMs (e.g., budget models), the Android KeyStore provides cryptographic isolation, often backed by ARM TrustZone.
      • Custom Security Chips: Google Pixel devices use Titan M/M2 chips for enhanced security.
    • Biometric Sensors (Optional but Recommended):
      • Fingerprint sensors (e.g., Touch ID on Apple devices, fingerprint readers on Android/Windows).
      • Facial recognition (e.g., Face ID on iPhones, Windows Hello on Windows).
      • These enable seamless user verification, though a PIN or passcode can be used as a fallback.
    • Communication Interfaces (for Cross-Device Authentication):
      • Bluetooth Low Energy (BLE): Required for cross-device authentication via CTAP 2.2’s caBLE extension. Most modern smartphones, laptops, and tablets support BLE.
      • Camera: Needed for scanning QR codes during cross-device authentication.
      • USB/NFC: Required for hardware security keys (e.g., YubiKey) to connect to devices.
      • Wi-Fi/Internet: Necessary for cloud syncing (e.g., Google Password Manager, iCloud Keychain) and initial authentication setup.
    • Examples:
      • A Google Pixel 7 (with Titan M2) or Samsung Galaxy S23 (with TPM) supports passkeys via hardware-backed storage.
      • An iPhone 14 (with Secure Enclave) supports passkeys with Face ID.
      • A YubiKey 5 Series supports passkeys via its Secure Element, connectable via USB or NFC.
    • Minimum Hardware:
      • Modern smartphones (2018 or later, e.g., iPhone 6s or newer, Android devices with Android 9+).
      • Laptops/desktops with TPM (most Windows 10/11 devices) or Apple Silicon/M-series chips.
      • Hardware security keys with FIDO2 support (e.g., YubiKey 5, Google Titan).

    2. Operating System Requirements

    Passkeys require modern operating systems that support the WebAuthn and CTAP protocols, secure storage, and biometric authentication APIs.

    • Android:
      • Version: Android 9 (Pie) or later is required for passkey support, as it includes the Android KeyStore with FIDO2 compatibility and BiometricPrompt API.
      • Recommended: Android 12+ for optimal performance, including improved BLE support for cross-device authentication.
      • Details: Android 9+ integrates with Google Password Manager for passkey syncing and supports TPM or KeyStore for secure storage. Devices like Google Pixel, Samsung Galaxy, and others running Android 13/14 are fully compatible.
      • Example: A Samsung Galaxy S23 running Android 14 supports passkeys with TPM-backed storage and fingerprint verification.
    • iOS/iPadOS:
      • Version: iOS 16 or later (iPadOS 16+ for iPads) is required for passkey support, leveraging the Secure Enclave and iCloud Keychain.
      • Recommended: iOS 17+ for enhanced cross-device authentication and Voice Mode support in apps like Grok.
      • Details: Apple’s WebAuthn implementation supports Face ID/Touch ID and syncs passkeys via iCloud Keychain with end-to-end encryption.
      • Example: An iPhone 14 running iOS 17 supports passkeys with Face ID and cross-device authentication via QR codes/BLE.
    • macOS:
      • Version: macOS Ventura (13.0) or later is required for passkey support.
      • Recommended: macOS Sonoma (14.0) or later for improved performance and integration with iCloud Keychain.
      • Details: Macs with M1/M2 chips (or T2 for Intel-based Macs) use the Secure Enclave for passkey storage.
      • Example: A MacBook Pro (M2, 2023) running macOS Sonoma supports passkeys with Touch ID.
    • Windows:
      • Version: Windows 10 (build 1903 or later) or Windows 11 is required for passkey support.
      • Recommended: Windows 11 for native integration with Windows Hello and TPM 2.0.
      • Details: Windows uses TPM for secure storage and Windows Hello for biometric/PIN verification. Passkeys can sync via Microsoft Account.
      • Example: A Surface Laptop running Windows 11 supports passkeys with facial recognition via Windows Hello.
    • Other Platforms:
      • Linux: Limited support, requiring modern browsers (e.g., Chrome 109+) and external authenticators (e.g., YubiKey or Android phone via BLE).
      • ChromeOS: ChromeOS 109+ supports passkeys, leveraging TPM or synced passkeys via Google Password Manager.
      • Example: A Chromebook running ChromeOS 120 supports passkeys with Google Password Manager.

    3. Browser Requirements

    Passkeys require WebAuthn-compatible browsers to facilitate communication between the service and the authenticator device.

    • Google Chrome:
      • Version: Chrome 109 or later (released January 2023).
      • Details: Supports WebAuthn and CTAP 2.2 for passkey creation, authentication, and cross-device scenarios (QR codes, BLE).
      • Platforms: Android, Windows, macOS, Linux, ChromeOS.
    • Apple Safari:
      • Version: Safari 16 or later (included with iOS 16, macOS Ventura).
      • Details: Integrates with Secure Enclave and iCloud Keychain for passkey storage and syncing.
      • Platforms: iOS, iPadOS, macOS.
    • Microsoft Edge:
      • Version: Edge 109 or later.
      • Details: Supports TPM and Windows Hello for passkeys, with syncing via Microsoft Account.
      • Platforms: Windows, macOS, Linux, Android.
    • Mozilla Firefox:
      • Version: Firefox 108 or later (full WebAuthn support).
      • Details: Supports passkeys but may require external authenticators (e.g., YubiKey) on platforms without native secure storage (e.g., Linux).
      • Platforms: Windows, macOS, Linux, Android.
    • Other Browsers:
      • Browsers like Opera and Samsung Internet (Android) support passkeys on compatible versions (e.g., Opera 95+).
      • Check browser documentation for WebAuthn support.

    4. Application Requirements

    While passkeys are primarily used via browsers, some mobile apps support passkeys natively, requiring specific app versions and OS compatibility.

    • Google Apps (e.g., Gmail, YouTube):
      • Requirement: Android 9+ with Google Play Services (version 22.30 or later) for passkey support.
      • Details: Integrates with Google Password Manager and BiometricPrompt.
      • Example: Gmail app on Android 13 supports passkey login with fingerprint verification.
    • Apple Apps (e.g., App Store, iCloud):
      • Requirement: iOS 16+ or iPadOS 16+ with compatible app versions.
      • Details: Uses Secure Enclave and iCloud Keychain for passkey storage.
      • Example: Safari on iOS 17 supports passkey login with Face ID.
    • Third-Party Apps:
      • Apps like PayPal, Amazon, and 1Password support passkeys, but requirements vary:
        • PayPal: iOS 16+ for app-based passkeys; web support on Android/Windows.
        • Amazon: iOS 16+ for app (web support broader).
        • 1Password/Dashlane: Android 9+, iOS 16+, or Windows 10+ for passkey management.
      • Check app-specific documentation for passkey support (e.g., fidoalliance.org/passkeys-directory).

    5. Service Support

    Passkeys require the service (e.g., website or app) to support the WebAuthn protocol.

    • Supported Services: Google, PayPal, Amazon, Microsoft, X, TikTok, Uber, eBay, Shopify, Best Buy, Nintendo, WhatsApp, and others (source: fidoalliance.org/passkeys-directory).
    • Adoption: 25% of the top 1,000 websites support passkeys, with 53% of users enabling them on at least one account (FIDO Alliance, 2024). Full mainstream adoption is expected by 2027 (source: idtechwire.com).
    • Examples:
      • Google: Over 400 million accounts use passkeys (source: state-of-passkeys.io).
      • Amazon: 175 million users adopted passkeys in the first year.
      • Microsoft: Supports passkeys for consumer and enterprise accounts (Microsoft 365, Xbox).
    • Fallback Requirement: Some services may require passwords as a fallback if passkeys are not supported or if recovery is needed. Maintain access to existing credentials during the transition.

    6. Additional Requirements

    • Cloud Syncing (Optional for Cross-Device Use):
      • Google Password Manager: Requires a Google Account and Android 9+ for syncing passkeys across devices.
      • iCloud Keychain: Requires an Apple ID and iOS 16+/macOS Ventura+ for syncing.
      • Third-Party Password Managers: 1Password, Dashlane, or Bitwarden require compatible app versions (e.g., 1Password 8.10+) and support the Credential Exchange Format (CXF) for passkey portability.
      • Security Note: Secure your cloud account (e.g., Google Account, Apple ID) to protect synced passkeys.
    • Internet Connectivity:
      • Required for initial passkey creation and cloud syncing.
      • Authentication can occur offline if the passkey is stored locally, but cross-device authentication (e.g., via QR codes) may require internet or BLE.
    • FIDO2-Compliant Hardware Keys (Optional):
      • Devices like YubiKey 5 Series or Google Titan support passkeys via USB, NFC, or BLE.
      • Useful for high-security scenarios or devices without native secure storage (e.g., older Linux systems).

    Scenario: Sarah wants to sign into her Google account on a new laptop using her Android phone’s passkey.

    How It Works:

    • Setup: Sarah previously enabled passkeys on her Google account via her Android phone (running Android 9+). During setup, her phone generated a passkey (a cryptographic key pair) stored in Google Password Manager, synced across her devices with end-to-end encryption.
    • Authentication:
      • On her new laptop, Sarah visits accounts.google.com and selects “Sign in with a passkey.”
      • The browser (e.g., Chrome 109+) displays a QR code.
      • Sarah scans the QR code with her Android phone, which prompts her to authenticate using her fingerprint (or PIN if biometrics are unavailable).
      • The phone signs the authentication challenge using the private key, and Google verifies it with the public key stored in her account.
      • Sarah is instantly logged in on the laptop without entering a password.
    • Cross-Device Mechanism: The QR code and Bluetooth Low Energy (BLE) via CTAP 2.2 ensure secure, proximity-based authentication between the phone and laptop.
    • Benefits:
      • Speed: Google reports passkey logins are 6x faster than password-based logins (source: state-of-passkeys.io).
      • Security: The passkey is phishing-resistant, as it’s tied to Google’s domain and cannot be used on fake sites.
      • Convenience: Sarah doesn’t need to remember her password or use a one-time code.

    Real-World Impact: Google reported over 400 million accounts using passkeys in 2024, with a 550% increase in daily passkey creation in Q4 2024 (Bitwarden data), highlighting widespread adoption for Google services like Gmail, YouTube, and Google Drive.

    Scenario: John wants to make a purchase on Amazon using his iPhone, which has a passkey set up.

    How It Works:

    • Setup: John enabled passkeys on his Amazon account via the Amazon iOS app (passkey support is currently iOS-only for Amazon apps, though web support is broader). His iPhone (iOS 16+) created a passkey stored in iCloud Keychain, synced across his Apple devices.
    • Authentication:
      • John opens the Amazon app and selects “Sign in with a passkey.”
      • The app prompts him to authenticate using Face ID.
      • His iPhone signs the authentication challenge with the private key, and Amazon verifies it with the public key, granting access.
      • John completes his purchase without entering a password or receiving an SMS code.
    • Benefits:
      • Reduced Cart Abandonment: Amazon reports passkey users experience 6x faster logins, contributing to a 50% reduction in login abandonment (similar to Air New Zealand’s reported metrics).
      • Fraud Prevention: Passkeys reduce account takeover risks, with CVS Health reporting a 98% drop in such incidents after adopting passkeys.
      • Seamless Experience: John’s passkey syncs across his iPhone, iPad, and Mac, ensuring consistent access.

    Real-World Impact: Amazon has seen 175 million users adopt passkeys in the first year of rollout (source: state-of-passkeys.io), making it one of the largest implementations in e-commerce.

    Scenario: Maria wants to log into PayPal on her Windows PC using her iPhone’s passkey.

    How It Works:

    • Setup: Maria created a passkey for her PayPal account using her iPhone, stored in iCloud Keychain.
    • Authentication:
      • On her Windows PC, Maria visits paypal.com in Microsoft Edge (version 109+).
      • She selects “Sign in with a passkey,” and the browser displays a QR code.
      • Maria scans the QR code with her iPhone, which prompts her to use Face ID.
      • The iPhone signs the challenge, and PayPal verifies it, logging her in on the PC.
    • Cross-Platform Mechanism: The WebAuthn protocol enables cross-device authentication via QR codes, with BLE ensuring the devices are in close proximity for security.
    • Benefits:
      • Cross-Platform Flexibility: Maria can use her iPhone to authenticate on a non-Apple device, showcasing passkey interoperability.
      • Security: PayPal’s passkey implementation prevents phishing, as the passkey is domain-bound to paypal.com.
      • Ease of Use: No need for a password or two-factor authentication code.

    Real-World Impact: PayPal was an early adopter of passkeys, with support across iOS, Android, and web platforms, contributing to a 98% sign-in success rate compared to 32% for passwords (Microsoft data).

    Scenario: Alex, an employee, needs to access Microsoft 365 on a company laptop using a hardware security key with a passkey.

    How It Works:

    • Setup: Alex’s IT department enabled passkeys for Microsoft 365, and Alex registered a passkey using a YubiKey (a FIDO2-compliant hardware security key). The private key is stored on the YubiKey, and the public key is registered with Microsoft’s Azure Active Directory.
    • Authentication:
      • Alex visits the Microsoft 365 login page on the company laptop.
      • He selects “Sign in with a passkey” and inserts his YubiKey into the laptop’s USB port.
      • The YubiKey prompts Alex to enter a PIN or tap the device (depending on the model).
      • The YubiKey signs the authentication challenge, and Microsoft verifies it, granting access to Microsoft 365.
    • Benefits:
      • Enterprise Security: Passkeys align with NIST 2025 guidelines for phishing-resistant MFA, making them ideal for corporate environments.
      • Device-Bound Security: The YubiKey ensures the passkey is not synced, reducing risks if Alex’s cloud account is compromised.
      • Compliance: Meets regulatory requirements for secure authentication in industries like finance and healthcare.

    Real-World Impact: Microsoft rolled out passkey support for consumer accounts in May 2024 and extended it to enterprise services like Microsoft 365, with adoption growing in regulated sectors (source: fidoalliance.org).

    Scenario: Emma uses her Android phone to log into her ABANCA mobile banking app, which supports passkeys.

    How It Works:

    • Setup: Emma enabled passkeys in the ABANCA app, creating a passkey stored in Google Password Manager on her Android phone.
    • Authentication:
      • Emma opens the ABANCA app and selects “Sign in with a passkey.”
      • The app prompts her to use her phone’s fingerprint sensor.
      • The phone signs the challenge, and ABANCA verifies it, granting access to her banking dashboard.
    • Benefits:
      • Security: Passkeys eliminate risks from phishing emails targeting banking credentials, a growing issue noted in Verizon’s 2024 Data Breach Investigations Report.
      • Speed: ABANCA reports 42% of its mobile banking customers use passkeys, with faster login times improving user satisfaction.
      • Convenience: Emma can access her account on other synced devices (e.g., a new phone) without re-registering.

    Real-World Impact: ABANCA’s adoption of passkeys in banking reflects a broader trend, with 42% of its mobile customers using passkeys, reducing fraud and support costs .

    Scenario: Liam wants to log into the X platform on his smart TV using his iPhone’s passkey.

    How It Works:

    • Setup: Liam enabled a passkey for his X account, stored in iCloud Keychain on his iPhone.
    • Authentication:
      • On the X app on his smart TV, Liam selects “Sign in with a passkey,” and the TV displays a QR code.
      • Liam scans the QR code with his iPhone, authenticates with Face ID, and the iPhone signs the challenge.
      • The X platform verifies the signature, logging Liam into the app on the TV.
    • Benefits:
      • Ease of Use: Logging into a smart TV is cumbersome with passwords, but passkeys make it seamless via QR codes.
      • Adoption Impact: The X platform doubled login rates after implementing passkeys, reflecting improved user engagement (source: state-of-passkeys.io).
      • Security: The domain-bound passkey prevents phishing attempts on fake X login pages.

    Real-World Impact: The X platform’s passkey adoption aligns with social media trends, with platforms like TikTok reporting 17x faster logins using passkeys.

    Scenario: Sophie, an Australian citizen, logs into the MyGov portal to access government services using her Android phone.

    How It Works:

    • Setup: Sophie registered a passkey for MyGov on her Android phone, stored in Google Password Manager.
    • Authentication:
      • Sophie visits the MyGov website or app and selects “Sign in with a passkey.”
      • She authenticates using her phone’s fingerprint, and the passkey signs the challenge.
      • MyGov verifies the signature, granting access to services like tax filing or healthcare records.
    • Benefits:
      • Public Sector Efficiency: MyGov saw 20,000 users adopt passkeys in the first week, reducing password reset requests (source: state-of-passkeys.io).
      • Security: Passkeys meet NIST 2025 guidelines for phishing-resistant authentication, critical for sensitive government services.
      • User Trust: Simplifies access to complex services, improving citizen engagement.

    Real-World Impact: Public sector adoption, like MyGov, highlights passkeys’ role in secure, scalable authentication for government services.

    Scenario: David uses 1Password to manage passkeys for multiple services, including GitHub, on his MacBook.

    How It Works:

    • Setup: David enabled passkeys in 1Password, which supports storing and syncing passkeys across his devices. He created a passkey for GitHub, stored in 1Password’s vault.
    • Authentication:
      • David visits github.com and selects “Sign in with a passkey.”
      • 1Password prompts him to authenticate using his MacBook’s Touch ID.
      • 1Password signs the challenge, and GitHub verifies it, logging David in.
    • Benefits:
      • Centralized Management: 1Password allows David to manage passkeys for multiple services in one place, with recent support for the Credential Exchange Format (CXF) for portability.
      • Cross-Platform Support: Works across macOS, Windows, iOS, and Android, reducing platform silos.
      • Security: 1Password’s end-to-end encryption ensures passkey security, even if the cloud is compromised.

    Real-World Impact: Password managers like 1Password, Dashlane, and Bitwarden have driven passkey adoption, with 53% of users enabling passkeys on at least one account (FIDO Alliance, 2024).


    In the passkey model, a device serves as the authenticator, a component defined by the FIDO2 standard that generates, stores, and uses cryptographic credentials to authenticate a user to a service (e.g., a website or app). The authenticator securely stores the private key and handles user verification (via biometrics or PIN), ensuring that only the authorized user can access and use the passkey. This eliminates the need for passwords and enhances security by leveraging device-specific security features.

    Key Components of Device as Authenticator

    1. Private Key Storage:
      • What It Is: A passkey consists of a cryptographic key pair: a private key and a public key. The private key is generated and stored securely on the device acting as the authenticator (e.g., a smartphone, laptop, or hardware security key).
      • Secure Storage: The private key is stored in a secure hardware component, such as:
        • Secure Enclave (on Apple devices like iPhones or Macs).
        • Trusted Platform Module (TPM) (on Windows laptops or some Android devices).
        • Secure Element (on hardware security keys like YubiKey).
      • Security: The private key never leaves the device, reducing the risk of interception or theft. It is protected by the device’s security mechanisms, accessible only after user verification.
    2. User Verification (Biometric or PIN):
      • Purpose: To ensure that only the authorized user can use the passkey, the device requires local verification before signing an authentication challenge.
      • Methods:
        • Biometrics: Fingerprint (e.g., Touch ID on Apple devices, fingerprint sensors on Android), face recognition (e.g., Face ID on iPhones), or iris scanning.
        • PIN: A user-defined PIN or device passcode, used as a fallback or in cases where biometrics are unavailable.
      • Security: Biometric data or PINs are processed locally on the device and never sent to the service or stored in the cloud, enhancing privacy. For example, Apple’s Secure Enclave ensures biometric data remains on-device.
    3. Authentication Process:
      • When a user attempts to log into a service (e.g., google.com), the service sends a challenge (random data) to the authenticator device via WebAuthn.
      • The device prompts the user for verification (biometric or PIN).
      • Upon verification, the device signs the challenge with the private key, producing a cryptographic signature.
      • The signature is sent to the service, which verifies it using the public key registered during passkey creation.
      • The domain-bound nature of passkeys ensures the signature is valid only for the specific service (e.g., accounts.google.com), preventing phishing.
    4. Cross-Device Authentication:
      • For devices without the passkey (e.g., a new laptop), cross-device authentication allows another device (e.g., a smartphone) to act as the authenticator. This is facilitated by:
        • QR Codes: The client device displays a QR code, which the authenticator device scans to initiate authentication.
        • Bluetooth Low Energy (BLE): CTAP 2.2’s caBLE extension enables secure, proximity-based communication between devices.
      • The authenticator device still handles private key storage and user verification, ensuring security.

    Below are detailed examples illustrating how devices act as authenticators for passkey authentication, including both single-device and cross-device scenarios, with emphasis on private key storage, biometric/PIN verification, and phishing resistance.

    Example 1: Logging into Google on an Android Phone (Single-Device)

    • Scenario: Sarah uses her Android phone to log into her Google account, with the phone acting as the authenticator.
    • Process:
      • Sarah visits accounts.google.com in Chrome (version 109+) on her Android phone (Android 9+).
      • She selects “Sign in with a passkey,” and the browser communicates with the phone’s authenticator via WebAuthn.
      • The phone prompts Sarah to use her fingerprint (stored in the device’s secure hardware).
      • The private key, stored in the phone’s Trusted Platform Module (TPM) and synced via Google Password Manager, signs the challenge.
      • Google verifies the signature with the public key, granting access.
    • Details:
      • Private Key Storage: The private key is securely stored in the TPM, accessible only after fingerprint verification.
      • Biometric Verification: Sarah’s fingerprint is processed locally, never sent to Google, ensuring privacy.
      • Phishing Resistance: The passkey is bound to accounts.google.com, so a fake site (e.g., goog1e.com) cannot use it.
    • Benefits:
      • Speed: Google reports passkey logins are 6x faster than passwords (source: state-of-passkeys.io).
      • Security: The private key never leaves the phone, and biometric verification ensures only Sarah can authenticate.
    • Real-World Impact: Google’s 400 million passkey-enabled accounts in 2024 highlight widespread adoption (source: state-of-passkeys.io).

    Example 2: Logging into PayPal on a Windows Laptop with an iPhone (Cross-Device)

    • Scenario: John wants to log into PayPal on a Windows laptop using his iPhone as the authenticator.
    • Process:
      • John visits paypal.com in Microsoft Edge (version 109+) and selects “Sign in with a passkey.”
      • The browser displays a QR code containing the session details and PayPal’s domain.
      • John scans the QR code with his iPhone, which prompts him to use Face ID.
      • The iPhone establishes a BLE connection (via CTAP 2.2) with the laptop, verifies the domain (paypal.com), and signs the challenge with the private key stored in the Secure Enclave and synced via iCloud Keychain.
      • The signature is sent to the laptop, which forwards it to PayPal for verification.
    • Details:
      • Private Key Storage: The private key is stored in the iPhone’s Secure Enclave, protected by Face ID.
      • Biometric Verification: Face ID ensures only John can access the private key, processed locally on the iPhone.
      • Phishing Resistance: If John scans a QR code from a fake site (e.g., paypa1.com), the iPhone’s WebAuthn implementation detects the domain mismatch and blocks authentication.
    • Benefits:
      • Cross-Platform Flexibility: Works across iOS and Windows ecosystems.
      • Security: BLE’s proximity requirement (10–30 meters) prevents remote attacks, and the private key remains on the iPhone.
    • Real-World Impact: PayPal’s passkey adoption reduces phishing risks, with a 98% sign-in success rate (source: state-of-passkeys.io).

    Example 3: Accessing Microsoft 365 with a YubiKey (Hardware Device as Authenticator)

    • Scenario: Emma, an employee, uses a YubiKey as the authenticator to log into Microsoft 365 on her company laptop.
    • Process:
      • Emma visits login.microsoftonline.com and selects “Sign in with a passkey.”
      • She inserts her YubiKey into the laptop’s USB port, which acts as the authenticator.
      • The YubiKey prompts Emma to tap the device or enter a PIN (depending on the model).
      • The private key, stored in the YubiKey’s secure element, signs the challenge, and the signature is sent to Microsoft for verification.
    • Details:
      • Private Key Storage: The private key is stored in the YubiKey’s secure element, not synced to the cloud, ensuring device-bound security.
      • PIN Verification: The PIN or physical tap ensures only Emma can use the passkey.
      • Phishing Resistance: The YubiKey verifies the domain (login.microsoftonline.com), preventing use on fake sites.
    • Benefits:
      • Enterprise Security: Aligns with NIST 2025 guidelines for phishing-resistant MFA.
      • Device-Bound Security: The YubiKey ensures the passkey cannot be accessed if the device is lost.
    • Real-World Impact: Microsoft’s enterprise passkey rollout in 2024 supports secure corporate authentication (source: fidoalliance.org).

    Example 4: Logging into X Platform on a Smart TV with an Android Phone (Cross-Device)

    • Scenario: Liam logs into the X platform on his smart TV using his Android phone as the authenticator.
    • Process:
      • Liam opens the X app on his smart TV and selects “Sign in with a passkey.”
      • The TV displays a QR code, which Liam scans with his Android phone.
      • The phone prompts for a fingerprint, verifies the domain (x.com), and establishes a BLE connection with the TV.
      • The private key, stored in the phone’s TPM and synced via Google Password Manager, signs the challenge, and the signature is sent to the TV.
      • The X platform verifies the signature, logging Liam in.
    • Details:
      • Private Key Storage: The private key is in the phone’s TPM, protected by fingerprint verification.
      • Biometric Verification: The fingerprint is processed locally, ensuring privacy.
      • Phishing Resistance: A fake site (e.g., x-login.com) cannot use the passkey due to the domain mismatch.
    • Benefits:
      • Convenience: Eliminates typing passwords on a TV’s cumbersome interface.
      • Adoption Impact: X doubled login rates with passkeys (source: state-of-passkeys.io).
    • Real-World Impact: Social media platforms like X and TikTok report 17x faster logins with passkeys.

    In the passkey model, the private key is a critical component of the cryptographic key pair used for authentication. Unlike passwords, which are shared secrets that can be intercepted or stolen, the private key never leaves the device and is stored in a secure hardware component designed to resist attacks. These components—Secure Enclave, TPM, and Secure Element—provide a hardware root of trust, isolating the private key from the device’s operating system, applications, and potential attackers. This secure storage ensures that the private key is only accessible after user verification (e.g., biometrics or PIN) and cannot be extracted, even if the device is compromised.

    The secure storage mechanisms are integral to the FIDO2 standard’s Client to Authenticator Protocol (CTAP) and WebAuthn, which define how devices act as authenticators and manage passkeys. Below, I’ll explore each secure storage component in detail, covering their architecture, security features, and role in passkey authentication.

    What is the Secure Enclave?

    The Secure Enclave is a dedicated hardware-based security component integrated into Apple’s System on a Chip (SoC) for devices like iPhones, iPads, Macs, and Apple Watches (introduced with the A7 chip in 2013). It is a separate, isolated coprocessor designed to handle sensitive cryptographic operations and store critical data, such as passkey private keys, biometric data (e.g., for Face ID or Touch ID), and encryption keys.

    Technical Features

    • Isolation: The Secure Enclave operates independently of the main processor and operating system (iOS, macOS). It has its own secure boot process, isolated memory, and a dedicated operating system (a microkernel based on L4).
    • Encryption: All data stored in the Secure Enclave, including private keys, is encrypted using a unique device-specific key derived from a hardware-based unique identifier (UID). This ensures that private keys cannot be accessed outside the Secure Enclave.
    • Access Control: The Secure Enclave requires user verification (e.g., Face ID, Touch ID, or device passcode) to access private keys. Biometric data is stored and processed within the Secure Enclave, never leaving the hardware.
    • Tamper Resistance: The Secure Enclave is designed to resist physical attacks, such as side-channel attacks (e.g., power analysis) or attempts to extract data via hardware tampering.
    • Cloud Syncing: For passkeys, the Secure Enclave integrates with iCloud Keychain, which uses end-to-end encryption to sync private keys across Apple devices. The private key remains encrypted and is only accessible after local user verification on each device.

    Role in Passkey Authentication

    • Private Key Storage: When a passkey is created for a service (e.g., paypal.com), the Secure Enclave generates and stores the private key, associating it with the service’s domain. The public key is sent to the service.
    • Authentication: During login, the Secure Enclave signs the service’s challenge (random data) with the private key after user verification via Face ID, Touch ID, or passcode. The signature is sent to the service for verification.
    • Cross-Device Authentication: Synced passkeys in iCloud Keychain allow other Apple devices to act as authenticators, with the private key decrypted only within the Secure Enclave of the authenticating device.

    Security Benefits

    • Phishing Resistance: The private key is bound to the service’s domain (e.g., paypal.com), preventing use on phishing sites (e.g., paypa1.com).
    • No Extraction: The private key cannot be extracted from the Secure Enclave, even if the device’s operating system is compromised.
    • Biometric Privacy: Biometric data (e.g., Face ID templates) is stored in the Secure Enclave and never sent to the cloud or service, ensuring privacy.

    Practical Example

    • Scenario: Sarah logs into PayPal on her iPhone 14 using a passkey.
    • Process:
      • Sarah visits paypal.com in Safari and selects “Sign in with a passkey.”
      • The iPhone’s Secure Enclave prompts her to use Face ID.
      • The Secure Enclave signs the challenge with the private key, stored securely since passkey creation.
      • PayPal verifies the signature with the public key, granting access.
    • Outcome:
      • The private key remains in the Secure Enclave, inaccessible to apps or attackers.
      • If Sarah receives a phishing email with a fake PayPal login (paypa1.com), the Secure Enclave rejects the authentication due to the domain mismatch.
      • If Sarah uses her MacBook, the passkey syncs via iCloud Keychain, and the Mac’s Secure Enclave handles authentication.
    • Real-World Impact: Apple’s passkey adoption, supported by the Secure Enclave, is widespread, with PayPal reporting a 98% sign-in success rate .

    What is a TPM?

    The Trusted Platform Module (TPM) is a hardware-based security chip integrated into many Windows laptops, desktops, and some Android devices. It provides a secure environment for cryptographic operations and key storage, similar to the Secure Enclave but standardized across multiple vendors (e.g., Intel, AMD, Qualcomm). TPMs are defined by the Trusted Computing Group (TCG) and are commonly found in Windows 10/11 devices and some Android phones (e.g., Google Pixel).

    Technical Features

    • Isolation: The TPM is a dedicated microcontroller with isolated memory and processing, separate from the main CPU and operating system. It runs its own firmware, ensuring security from software-based attacks.
    • Key Storage: The TPM stores private keys in non-volatile memory, encrypted with a unique Storage Root Key (SRK) tied to the device. Passkey private keys are securely stored and cannot be exported.
    • Access Control: Access to private keys requires user verification, typically via Windows Hello (biometrics like face recognition or fingerprint) or a PIN.
    • Tamper Resistance: TPMs are designed to resist physical attacks, with features like tamper-evident seals and countermeasures against side-channel attacks.
    • Platform Integrity: The TPM supports secure boot and attestation, ensuring the device’s software environment is trusted before allowing cryptographic operations.
    • Cloud Syncing: On Windows, TPM-stored passkeys can be synced via Microsoft’s cloud (e.g., Microsoft Account), with encryption ensuring the private key is only accessible after user verification.

    Role in Passkey Authentication

    • Private Key Storage: When a passkey is created (e.g., for microsoft.com), the TPM generates and stores the private key, associating it with the service’s domain.
    • Authentication: The TPM signs the service’s challenge after user verification via Windows Hello or a PIN. The signature is sent to the service for verification.
    • Cross-Device Authentication: For devices without a TPM-stored passkey, another device (e.g., a smartphone) can act as the authenticator via QR codes or BLE (CTAP 2.2).

    Security Benefits

    • Phishing Resistance: The TPM ensures the passkey is domain-bound, preventing use on fraudulent sites.
    • Malware Protection: The private key is isolated from the operating system, protecting against malware or keyloggers.
    • Scalability: TPMs are widely available in Windows devices, making them a standard for enterprise and consumer passkey adoption.

    Practical Example

    • Scenario: John logs into Microsoft 365 on his Windows 11 laptop using a passkey.
    • Process:
      • John visits login.microsoftonline.com in Edge and selects “Sign in with a passkey.”
      • The laptop’s TPM prompts him to use Windows Hello face recognition.
      • The TPM signs the challenge with the private key, stored since passkey creation.
      • Microsoft verifies the signature, granting access.
    • Outcome:
      • The private key remains in the TPM, inaccessible to malware or attackers.
      • A phishing site (e.g., office365-login.com) cannot use the passkey due to the domain mismatch.
      • If John uses a new device, his Android phone (with a TPM or equivalent) can authenticate via QR code/BLE, syncing via Microsoft’s cloud.

    What is a Secure Element?

    A Secure Element is a tamper-resistant hardware chip used in hardware security keys (e.g., YubiKey, Google Titan) to store cryptographic credentials, including passkey private keys. It is a specialized microcontroller designed for high-security applications, commonly used in FIDO2-compliant security keys.

    Technical Features

    • Isolation: The Secure Element is a standalone chip with its own processor, memory, and firmware, isolated from the host device (e.g., laptop or phone). It communicates via USB, NFC, or Bluetooth.
    • Key Storage: Private keys are stored in the Secure Element’s secure memory, encrypted with device-specific keys. They cannot be extracted, even with physical access.
    • Access Control: The Secure Element requires user verification, typically a physical tap (for touch-based keys) or a PIN, to access private keys.
    • Tamper Resistance: Secure Elements are designed to resist advanced physical attacks, such as laser fault injection or differential power analysis. If tampering is detected, the chip may self-destruct or lock.
    • Device-Bound: Unlike synced passkeys, Secure Element-stored passkeys are tied to the physical key, offering maximum security but requiring possession of the device.

    Role in Passkey Authentication

    • Private Key Storage: When a passkey is created, the Secure Element generates and stores the private key, associating it with the service’s domain.
    • Authentication: The Secure Element signs the challenge after user verification (e.g., PIN or tap). The signature is sent to the service via the host device (e.g., laptop).
    • Cross-Device Authentication: Hardware keys can act as authenticators for any compatible device via USB, NFC, or BLE, making them versatile for cross-device scenarios.

    Security Benefits

    • Phishing Resistance: The Secure Element verifies the service’s domain, preventing use on fake sites.
    • Device-Bound Security: The private key is tied to the physical key, reducing risks if other devices or cloud accounts are compromised.
    • Enterprise Use: Ideal for high-security environments (e.g., banking, government) due to physical possession requirements.

    Practical Example

    • Scenario: Emma logs into her bank’s website (e.g., ABANCA) using a YubiKey as the authenticator.
    • Process:
      • Emma visits the bank’s website and selects “Sign in with a passkey.”
      • She inserts her YubiKey into her laptop’s USB port and taps it (or enters a PIN).
      • The YubiKey’s Secure Element signs the challenge with the private key, stored since passkey creation.
      • The bank verifies the signature, granting access.
    • Outcome:
      • The private key remains in the Secure Element, inaccessible to attackers.
      • A phishing site cannot use the passkey due to the domain mismatch.
      • If Emma uses her phone, the YubiKey can authenticate via NFC, acting as the authenticator.

    On Android devices, passkeys are stored in a secure environment to protect the private key, a critical component of the cryptographic key pair used for passwordless authentication. The private key is generated during passkey creation and must remain inaccessible to apps, the operating system, or attackers, even if the device is compromised. Android devices achieve this through a combination of hardware-based and software-based security mechanisms, depending on the device’s capabilities:

    1. Trusted Platform Module (TPM): A hardware-based security chip available on many Android devices, particularly mid-to-high-end models.
    2. Custom Security Chips (e.g., Titan M): Google Pixel devices and some other manufacturers use proprietary chips for enhanced security.
    3. Secure Software-Based Storage: For devices without dedicated hardware, Android uses software-based cryptographic isolation, often backed by the Android KeyStore system.
    4. Cloud Syncing: Passkeys can be synced across devices via Google Password Manager or third-party password managers (e.g., 1Password, Dashlane) using end-to-end encryption.

    These mechanisms ensure that the private key is securely stored, accessible only after user verification (e.g., fingerprint, face scan, or PIN), and protected against phishing, malware, and physical attacks. They support the FIDO2 standard’s Client to Authenticator Protocol (CTAP) and WebAuthn, enabling Android devices to act as authenticators for both single-device and cross-device authentication scenarios.

    1. Trusted Platform Module (TPM)

    What is a TPM? The Trusted Platform Module (TPM) is a hardware-based security chip integrated into many Android devices, particularly those from manufacturers like Samsung, Xiaomi, or OnePlus. Defined by the Trusted Computing Group (TCG), the TPM is a dedicated microcontroller that provides secure storage and cryptographic operations, similar to Apple’s Secure Enclave but standardized across vendors.

    Technical Features:

    • Isolation: The TPM operates independently of the main CPU and Android operating system, with its own processor, memory, and firmware. This isolates the private key from apps, malware, or compromised software.
    • Key Storage: The private key for a passkey is stored in the TPM’s non-volatile memory, encrypted with a device-specific Storage Root Key (SRK). The key cannot be exported or accessed outside the TPM.
    • Access Control: Access to the private key requires user verification, typically via Android BiometricPrompt (e.g., fingerprint or face recognition) or a device PIN/pattern. Biometric data is processed in a secure environment and never leaves the device.
    • Tamper Resistance: The TPM is designed to resist physical attacks, such as side-channel attacks (e.g., power analysis) or chip extraction, ensuring the private key remains secure.
    • Platform Integrity: The TPM supports secure boot and attestation, verifying the device’s software state before allowing cryptographic operations, which enhances trust in passkey operations.
    • Android Integration: On Android 9+ devices, the TPM integrates with the Android KeyStore, a system-level API that manages cryptographic keys and provides a unified interface for secure storage.

    Role in Passkey Authentication:

    • Private Key Creation: When a user creates a passkey for a service (e.g., google.com), the TPM generates a key pair. The private key is stored in the TPM, and the public key is sent to the service.
    • Authentication: During login, the TPM signs the service’s challenge (random data) with the private key after user verification via BiometricPrompt or PIN. The signature is sent to the service for verification.
    • Cross-Device Authentication: If the passkey is synced via Google Password Manager, another Android device (or non-Android device) can use the TPM to authenticate via QR codes or Bluetooth Low Energy (BLE) using CTAP 2.2’s caBLE extension.

    Security Benefits:

    • Phishing Resistance: The TPM ensures the passkey is domain-bound (e.g., google.com), preventing use on phishing sites (e.g., goog1e.com).
    • Malware Protection: The private key is isolated from the Android OS, protecting against keyloggers or malware.
    • Scalability: TPMs are common in mid-to-high-end Android devices, making them widely available for passkey adoption.

    Limitations:

    • Not all Android devices have a TPM, particularly low-end or older models (pre-Android 9). These devices rely on software-based storage.
    • TPM implementations vary by manufacturer, potentially leading to inconsistent security levels.

    2. Custom Security Chips (e.g., Titan M)

    What is the Titan M? Google Pixel devices (e.g., Pixel 6 and later) use the Titan M or Titan M2, custom security chips designed to provide hardware-based security similar to a TPM but optimized for Google’s ecosystem. Other manufacturers, like Samsung, may use proprietary chips (e.g., Samsung’s Embedded Secure Element).

    Technical Features:

    • Isolation: The Titan M is a dedicated security chip with its own processor and memory, isolated from the main CPU and Android OS. It runs a lightweight operating system for cryptographic tasks.
    • Key Storage: Private keys for passkeys are stored in the Titan M’s secure memory, encrypted with a unique key tied to the device. The key cannot be extracted, even with root access to the device.
    • Access Control: User verification is required via BiometricPrompt (fingerprint, face, or PIN). The Titan M processes biometric data locally, ensuring privacy.
    • Tamper Resistance: The Titan M is designed to resist physical attacks, with features like tamper detection and countermeasures against side-channel attacks.
    • Integration with Google Services: The Titan M integrates with Google Password Manager, enabling secure syncing of passkeys across devices with end-to-end encryption.
    • Attestation and Secure Boot: The Titan M verifies the device’s software integrity, ensuring passkeys are used in a trusted environment.

    Role in Passkey Authentication:

    • Private Key Creation: The Titan M generates and stores the private key during passkey creation, associating it with the service’s domain.
    • Authentication: The Titan M signs the challenge after biometric or PIN verification, with the signature sent to the service via WebAuthn.
    • Cross-Device Authentication: Synced passkeys allow other devices to authenticate via QR codes or BLE, with the Titan M handling the cryptographic operations.

    Security Benefits:

    • Enhanced Security: The Titan M offers stronger isolation and tamper resistance than standard TPMs, ideal for high-security applications.
    • Phishing Resistance: Domain-binding ensures passkeys are only used for legitimate services.
    • Google Ecosystem Integration: Seamless syncing with Google Password Manager enhances user experience.

    Limitations:

    • Limited to Google Pixel devices (or devices with similar proprietary chips), reducing availability compared to TPMs.
    • Relies on Google’s cloud for syncing, requiring strong account security.

    3. Secure Software-Based Storage (Android KeyStore)

    What is the Android KeyStore? For Android devices without a TPM or custom security chip (e.g., low-end or older models), passkeys are stored using the Android KeyStore, a system-level API that provides cryptographic key management. While primarily software-based, it leverages hardware-backed security when available (e.g., ARM TrustZone) to enhance protection.

    Technical Features:

    • Isolation: The Android KeyStore isolates keys in a secure portion of the operating system, using kernel-level protections or hardware-backed environments like ARM TrustZone (a secure execution environment on many Android SoCs).
    • Key Storage: Private keys are stored in the KeyStore, encrypted with a device-specific key. If hardware-backed (e.g., TrustZone), the key is isolated from the main OS.
    • Access Control: Keys are accessible only after user verification via BiometricPrompt or PIN, with policies enforcing authentication requirements.
    • Tamper Resistance: While less robust than TPM or Titan M, the KeyStore uses cryptographic protections and OS-level security (e.g., Android’s SELinux) to prevent unauthorized access.
    • Cloud Syncing: Passkeys in the KeyStore can sync via Google Password Manager or third-party password managers, using end-to-end encryption.

    Role in Passkey Authentication:

    • Private Key Creation: The KeyStore generates and stores the private key, with hardware-backed storage if available.
    • Authentication: The KeyStore signs the challenge after user verification, with the signature sent to the service.
    • Cross-Device Authentication: Synced passkeys enable authentication on other devices via QR codes or BLE.

    Security Benefits:

    • Accessibility: Available on all Android devices (Android 9+), ensuring passkey support even on low-end models.
    • Phishing Resistance: Domain-binding prevents use on fake sites.
    • Flexibility: Integrates with Google Password Manager and third-party managers like 1Password.

    Limitations:

    • Software-based storage is less secure than hardware-based (TPM, Titan M), as it may be vulnerable to OS-level exploits if the device is rooted or compromised.
    • Older devices (pre-Android 9) may not support passkeys due to missing KeyStore enhancements.

    4. Cloud Syncing with Google Password Manager

    What is Google Password Manager? Google Password Manager is a service that syncs passkeys across Android devices (and other platforms, e.g., Chrome on Windows) using end-to-end encryption. It leverages the secure storage mechanisms (TPM, Titan M, or KeyStore) on the primary device to store the private key locally, while syncing encrypted key data to the cloud.

    Technical Features:

    • End-to-End Encryption: Passkeys are encrypted with a key derived from the user’s Google Account, ensuring only authorized devices can decrypt and use them.
    • Secure Storage Integration: The private key remains in the device’s TPM, Titan M, or KeyStore, with only encrypted metadata synced to the cloud.
    • Access Control: Synced passkeys require local user verification (biometrics or PIN) on each device to access the private key.
    • Cross-Device Authentication: Enables any synced device to act as an authenticator via QR codes or BLE (CTAP 2.2).

    Role in Passkey Authentication:

    • Allows passkeys created on one Android device to be used on others (e.g., a new phone or tablet) or non-Android devices (e.g., a Windows PC via Chrome).
    • Supports cross-device authentication by facilitating communication via QR codes or BLE.

    Security Benefits:

    • Convenience: Users can access passkeys on multiple devices without re-registering.
    • Phishing Resistance: Domain-binding is preserved during syncing.
    • Recovery: Synced passkeys can be recovered if a device is lost, provided the Google Account is secure.

    Limitations:

    • Relies on Google Account security. A compromised account could allow access to synced passkeys.
    • Requires internet access for initial syncing, though authentication can occur offline.

    Below are detailed examples illustrating how Android devices use secure storage for passkey authentication, covering single-device and cross-device scenarios, with emphasis on private key protection and phishing resistance.

    Example 1: Logging into Google on a Pixel Phone (Titan M)

    • Scenario: Sarah uses her Google Pixel 7 (with Titan M2) to log into her Google account.
    • Process:
      • Sarah visits accounts.google.com in Chrome (version 109+) on her Pixel 7 (Android 13+).
      • She selects “Sign in with a passkey,” and the phone prompts her to use her fingerprint via BiometricPrompt.
      • The Titan M2, storing the private key, signs the challenge after fingerprint verification.
      • Google verifies the signature with the public key, granting access.
    • Details:
      • Secure Storage: The private key is stored in the Titan M2, isolated from the Android OS and encrypted with a device-specific key.
      • User Verification: Fingerprint data is processed in the Titan M2, never leaving the device.
      • Phishing Resistance: The Titan M2 ensures the passkey is bound to accounts.google.com, preventing use on fake sites (e.g., goog1e.com).
    • Benefits:
      • Speed: Google reports passkey logins are 6x faster than passwords (source: state-of-passkeys.io).
      • Security: The Titan M2’s tamper resistance protects against physical attacks.
    • Real-World Impact: Google’s 400 million passkey-enabled accounts in 2024 leverage Titan M on Pixel devices (source: state-of-passkeys.io).

    Example 2: Logging into PayPal on a Windows Laptop with a Samsung Phone (TPM)

    • Scenario: John uses his Samsung Galaxy S23 (with a TPM) to log into PayPal on a Windows laptop.
    • Process:
      • John visits paypal.com in Edge and selects “Sign in with a passkey.”
      • The browser displays a QR code, which John scans with his Galaxy S23.
      • The phone prompts for a fingerprint, and the TPM verifies the domain (paypal.com) and signs the challenge with the private key, synced via Google Password Manager.
      • The signature is sent to the laptop via BLE (CTAP 2.2), and PayPal verifies it.
    • Details:
      • Secure Storage: The private key is stored in the TPM, isolated and encrypted.
      • User Verification: Fingerprint verification is processed securely, leveraging the TPM.
      • Phishing Resistance: A fake site (paypa1.com) cannot use the passkey due to the domain mismatch.
    • Benefits:
      • Cross-Device Flexibility: The Galaxy S23 acts as an authenticator for a non-Android device.
      • Security: The TPM and BLE ensure secure, proximity-based authentication.
    • Real-World Impact: PayPal’s passkey adoption reduces phishing risks, with a 98% sign-in success rate (source: state-of-passkeys.io).

    Example 3: Logging into X Platform on a Budget Android Phone (KeyStore)

    • Scenario: Liam uses a low-end Android phone (e.g., Xiaomi Redmi, Android 11) without a TPM to log into the X platform.
    • Process:
      • Liam visits x.com in Chrome and selects “Sign in with a passkey.”
      • The phone prompts for a PIN via BiometricPrompt.
      • The Android KeyStore, using software-based isolation (potentially backed by ARM TrustZone), signs the challenge with the private key.
      • The X platform verifies the signature, granting access.
    • Details:
      • Secure Storage: The private key is stored in the KeyStore, encrypted and isolated from apps.
      • User Verification: The PIN ensures only Liam can access the key.
      • Phishing Resistance: The KeyStore verifies the domain (x.com), preventing use on fake sites.
    • Benefits:
      • Accessibility: Enables passkeys on budget devices without TPMs.
      • Adoption: X doubled login rates with passkeys (source: state-of-passkeys.io).
    • Real-World Impact: The KeyStore ensures broad passkey support across Android devices.

    Security and Phishing Resistance

    Secure storage on Android devices enhances passkeys’ phishing resistance:

    • Domain Binding: The TPM, Titan M, or KeyStore verifies the service’s domain, ensuring the passkey is only used for legitimate sites (e.g., google.com, not goog1e.com).
    • No Extraction: The private key is isolated in hardware (TPM, Titan M) or cryptographically protected (KeyStore), preventing extraction by malware or physical attacks.
    • User Verification: Biometrics or PINs, processed locally, ensure only the authorized user can access the private key.
    • Cross-Device Security: QR codes and BLE (via CTAP 2.2) ensure secure communication, with proximity requirements preventing remote attacks.

    Key Considerations for Android Users

    1. Device Compatibility:
      • TPM: Common in mid-to-high-end Android devices (e.g., Samsung Galaxy, OnePlus). Check device specs for TPM support.
      • Titan M: Limited to Google Pixel devices (Pixel 6+).
      • KeyStore: Available on all Android 9+ devices, ensuring universal passkey support.
      • Requires Android 9+ and compatible browsers (e.g., Chrome 109+).
    2. Cloud Syncing:
      • Google Password Manager syncs passkeys across devices, requiring a secure Google Account.
      • Third-party password managers (e.g., 1Password, Dashlane) support passkeys with the Credential Exchange Format (CXF) for portability.
    3. User Verification:
      • Set up biometrics (fingerprint, face) or a strong PIN via Android’s Settings > Security > Biometric and Security.
      • Ensure biometric data is processed locally (e.g., in TPM or Titan M) for privacy.
    4. Recovery:
      • Synced passkeys can be recovered via Google Password Manager if a device is lost, provided the Google Account is secure.
      • For non-synced passkeys (e.g., KeyStore on budget devices), set up multiple authenticators or backup codes.

    Device dependency refers to the reliance of passkeys on a specific device (or set of devices) to act as the authenticator, which securely stores the private key and performs cryptographic operations for authentication. Unlike traditional passwords, which can be entered on any device, passkeys are tied to the device where the private key is stored, requiring that device (or a synced device) to complete authentication. This dependency stems from the following components:

    1. Private Key Storage: The private key, part of the cryptographic key pair used for passkey authentication, is stored in a secure hardware or software component (e.g., Secure Enclave on Apple devices, Trusted Platform Module (TPM) on Windows/Android, Secure Element on hardware keys, or Android KeyStore).
    2. User Verification: Authentication requires local verification on the device, typically via biometrics (e.g., fingerprint, Face ID) or a PIN, ensuring only the authorized user can access the private key.
    3. Device as Authenticator: The device acts as the authenticator, signing challenges sent by services (e.g., google.com) with the private key. For cross-device authentication, another device with the passkey (or access to a synced passkey) is required.
    4. Cloud Syncing (Optional): Passkeys can be synced across devices via cloud services (e.g., Google Password Manager, iCloud Keychain), reducing dependency on a single device but introducing reliance on cloud account security.

    Device dependency enhances security by anchoring authentication to a trusted device, but it also introduces challenges, such as the risk of lockout if the device is lost or unsupported, and the need for robust recovery mechanisms.

    1. Private Key Storage and Secure Hardware

    Passkeys rely on devices with secure storage to protect the private key, ensuring it cannot be extracted or accessed by unauthorized parties. The specific storage mechanism depends on the device:

    • Apple Devices (Secure Enclave): iPhones, iPads, and Macs (with A7/M1 chips or later) use the Secure Enclave, a dedicated coprocessor that isolates the private key from the operating system and apps. The private key is encrypted with a device-specific key and accessible only after biometric (Face ID/Touch ID) or passcode verification.
    • Windows Devices (TPM): Windows 10/11 laptops and desktops with a TPM (Trusted Platform Module) store the private key in isolated, encrypted memory. User verification via Windows Hello (face/fingerprint) or PIN is required.
    • Android Devices (TPM, Titan M, or KeyStore):
      • High-end Android devices (e.g., Google Pixel with Titan M, Samsung Galaxy with TPM) use hardware-backed storage for private keys.
      • Budget or older Android devices (Android 9+) use the Android KeyStore, a software-based solution with optional hardware backing (e.g., ARM TrustZone).
    • Hardware Security Keys (Secure Element): Devices like YubiKey or Google Titan store private keys in a tamper-resistant Secure Element, requiring physical possession and a tap or PIN for verification.

    Implication: The private key’s dependence on the device’s secure storage means authentication is tied to that device (or synced devices). If the device is unavailable, authentication may be impossible without recovery mechanisms.

    2. User Verification

    Passkeys require local user verification to access the private key, further tying authentication to the device:

    • Biometrics: Fingerprint (e.g., Android BiometricPrompt, Touch ID), facial recognition (e.g., Face ID, Windows Hello), or iris scanning.
    • PIN/Passcode: A device-specific PIN or passcode serves as a fallback if biometrics are unavailable.
    • Hardware Key Interaction: For devices like YubiKey, a physical tap or PIN is required.

    Implication: The device must support biometric sensors or PIN entry, and the user must be physically present to authenticate, reinforcing device dependency.

    3. Single-Device vs. Cross-Device Authentication

    • Single-Device Authentication: If the passkey is stored on the device being used (e.g., logging into Google on an Android phone), the device acts as both the client and authenticator. The private key is accessed directly after user verification.
    • Cross-Device Authentication: If the passkey is on another device (e.g., using a phone to log in on a laptop), cross-device authentication is facilitated by:
      • QR Codes: The client device (e.g., laptop) displays a QR code, which the authenticator device (e.g., phone) scans to initiate authentication.
      • Bluetooth Low Energy (BLE): CTAP 2.2’s caBLE extension enables secure, proximity-based communication between devices (10–30 meters range).
    • Implication: Cross-device authentication reduces dependency on a single device but requires both devices to meet system requirements (e.g., BLE support, WebAuthn-compatible browsers).

    4. Cloud Syncing

    To mitigate single-device dependency, passkeys can be synced across devices via cloud services:

    • Google Password Manager: Syncs passkeys across Android devices (Android 9+) and other platforms (e.g., Chrome on Windows) using end-to-end encryption.
    • iCloud Keychain: Syncs passkeys across Apple devices (iOS 16+, macOS Ventura+).
    • Third-Party Password Managers: Services like 1Password and Dashlane support passkey syncing with the Credential Exchange Format (CXF).

    Implication: Cloud syncing reduces the risk of lockout if a device is lost but introduces dependency on the cloud account’s security (e.g., Google Account, Apple ID). Device-bound passkeys (e.g., YubiKey) remain tied to the physical device, offering higher security but less flexibility.

    Device dependency has significant implications for security, usability, and recovery:

    1. Security Benefits

    • Phishing Resistance: Passkeys are domain-bound, meaning the private key stored on the device only works for the registered service (e.g., paypal.com, not paypa1.com). The device verifies the domain during authentication, preventing phishing attacks.
    • No Shared Secrets: Unlike passwords, the private key never leaves the device, reducing the risk of interception or server-side breaches.
    • Hardware Isolation: Secure storage (e.g., TPM, Secure Enclave) protects the private key from malware, keyloggers, or OS-level exploits.
    • User Verification: Biometrics or PINs ensure only the authorized user can access the private key, even if the device is stolen (assuming it’s locked).

    Example: If Sarah receives a phishing email linking to a fake Google login (goog1e.com), her Android phone’s TPM or KeyStore detects the domain mismatch and blocks authentication, keeping the private key secure.

    2. Usability Challenges

    • Device Availability: Authentication requires access to the device storing the passkey (or a synced device). If the device is lost, stolen, or broken, users may be locked out without recovery options.
    • Cross-Device Friction: While QR codes and BLE enable cross-device authentication, users need compatible devices (e.g., BLE-enabled, camera for QR codes) and may face connectivity issues (e.g., BLE pairing failures).
    • Platform Silos: Some services (e.g., Amazon’s app) are platform-specific (iOS-only for passkeys), limiting cross-device flexibility (source: arstechnica.com, 2024).
    • User Education: Users accustomed to passwords may find device dependency confusing, requiring education on passkey management and recovery.

    Example: If John loses his iPhone (storing a PayPal passkey), he can authenticate on his MacBook (synced via iCloud Keychain) but needs his Apple ID to recover access, highlighting the shift from device to cloud dependency.

    3. Recovery Challenges

    • Single-Device Lockout: For device-bound passkeys (e.g., YubiKey), losing the device means losing access unless a backup authenticator is registered.
    • Cloud Dependency: Synced passkeys rely on cloud accounts (e.g., Google Password Manager, iCloud Keychain). Losing access to the cloud account (e.g., forgetting the Apple ID password) can lock users out of all synced passkeys.
    • Recovery Mechanisms: Services may offer fallback options (e.g., passwords, recovery codes), but these vary by provider and may reintroduce vulnerabilities.

    Example: If Emma loses her YubiKey (storing a Microsoft 365 passkey), she cannot authenticate unless she registered a secondary authenticator (e.g., her phone) or has a recovery code.

    1. Single-Device Dependency:
      • Risk: If the authenticator device is lost, stolen, or broken, authentication is impossible without a synced passkey or backup authenticator.
      • Mitigation: Register multiple authenticators (e.g., phone and YubiKey) or enable cloud syncing (e.g., Google Password Manager).
    2. Cloud Syncing Dependency:
      • Benefit: Synced passkeys (via Google Password Manager, iCloud Keychain, 1Password) allow multiple devices to act as authenticators, reducing single-device dependency.
      • Risk: Relies on cloud account security. A compromised Apple ID or Google Account could expose synced passkeys.
      • Mitigation: Use strong passwords, two-factor authentication (2FA), and recovery options for cloud accounts.
    3. Device-Bound Passkeys:
      • Benefit: Hardware keys like YubiKey offer maximum security, as the private key is not synced.
      • Risk: Losing the device results in lockout unless a backup authenticator is registered.
      • Mitigation: Register secondary authenticators or store recovery codes securely.
    4. Cross-Device Authentication:
      • Requirement: Devices must support BLE (for proximity-based authentication) and cameras (for QR codes). Both devices must meet system requirements (e.g., Android 9+, iOS 16+).
      • Challenge: Connectivity issues (e.g., BLE pairing failures) or platform silos (e.g., Amazon’s iOS-only app) can disrupt authentication.
      • Mitigation: Ensure BLE is enabled, devices are updated, and services support cross-platform passkeys.
    5. Recovery Mechanisms:
      • Cloud-Based Recovery: Synced passkeys can be recovered via cloud accounts, but users must maintain access to these accounts.
      • Service-Specific Recovery: Some services offer fallback passwords, recovery codes, or alternative authenticators. Check service documentation (e.g., fidoalliance.org/passkeys-directory).
      • Example: Google allows recovery via Google Account, while Microsoft 365 may require admin-assisted recovery for enterprise accounts.


    Cross-device authentication allows a user to log into a service on one device (e.g., a laptop) using a passkey stored on another device (e.g., a smartphone). This is particularly useful when the authenticating device doesn’t have a passkey stored locally or when users switch between devices across different ecosystems (e.g., using an iPhone to authenticate on a Windows PC). The FIDO2 standard, which includes WebAuthn (for browser-service communication) and CTAP (for client-authenticator communication), enables this process. Specifically, CTAP 2.2 (an updated version of the Client to Authenticator Protocol) supports cross-device authentication by facilitating secure communication between devices using technologies like QR codes and BLE.

    The primary goals of cross-device authentication are:

    • Seamless User Experience: Allow users to authenticate across devices without needing passwords or complex setups.
    • Security: Ensure phishing resistance and protect the private key, which never leaves the authenticating device.
    • Interoperability: Support authentication across different platforms (e.g., iOS, Android, Windows) and ecosystems.

    CTAP 2.2 defines the protocol for communication between a client (e.g., a browser on a laptop) and an authenticator (e.g., a smartphone or hardware security key). For cross-device authentication, it introduces the caBLE (CTAP2 over Bluetooth Low Energy) extension, which enables devices to communicate securely. QR codes and BLE are the primary mechanisms for initiating and completing this process. Here’s a detailed breakdown:

    1. QR Code-Based Cross-Device Authentication

    Mechanism:

    • Initiation: When a user attempts to log into a service (e.g., google.com) on a device without a passkey (e.g., a laptop), the service’s website, running in a WebAuthn-compatible browser (e.g., Chrome 109+, Safari 16+, Edge 109+), displays a QR code. This QR code encodes a unique session identifier and cryptographic data, including the service’s challenge and domain.
    • Scanning: The user scans the QR code using their smartphone, which has the passkey stored (e.g., in iCloud Keychain for iOS or Google Password Manager for Android).
    • Communication:
      • The smartphone decodes the QR code to extract the session details and establishes a secure connection with the client device (laptop) using BLE or, in some cases, a cloud-based relay.
      • The smartphone prompts the user to authenticate locally, typically using biometrics (e.g., Face ID, fingerprint) or a PIN, to access the private key.
    • Authentication:
      • The smartphone signs the service’s challenge with the private key, producing a cryptographic signature.
      • The signature is sent back to the client device (laptop) via BLE or a cloud relay, and the browser forwards it to the service.
      • The service verifies the signature using the registered public key, granting access.
    • Security Features:
      • Domain Binding: The QR code includes the service’s domain (e.g., accounts.google.com), ensuring the passkey is only used for the legitimate service, preventing phishing.
      • End-to-End Encryption: The communication between devices is encrypted, protecting the signature and session data.
      • Proximity: While QR codes don’t inherently require proximity, BLE is often used in conjunction to ensure the devices are physically close, reducing the risk of remote attacks.

    Practical Example:

    • Scenario: Sarah wants to log into PayPal on a public library computer using her iPhone’s passkey.
    • Process:
      • Sarah visits paypal.com on the library computer’s browser and selects “Sign in with a passkey.”
      • The browser displays a QR code.
      • Sarah scans the QR code with her iPhone, which prompts her to use Face ID.
      • The iPhone establishes a secure BLE connection with the computer, signs the challenge with the private key stored in iCloud Keychain, and sends the signature to the browser.
      • PayPal verifies the signature and logs Sarah in.
    • Outcome:
      • Phishing Resistance: If Sarah scans a QR code from a phishing site (e.g., paypa1.com), the iPhone’s WebAuthn implementation detects the domain mismatch and refuses to authenticate.
      • User Experience: Sarah logs in without entering a password, and the process takes seconds, aligning with PayPal’s reported 6x faster login times (source: state-of-passkeys.io).
      • Security: The private key never leaves her iPhone, and the BLE connection ensures proximity, preventing remote attacks.

    2. Bluetooth Low Energy (BLE)-Based Cross-Device Authentication

    Mechanism:

    • Initiation: The user selects “Sign in with a passkey” on the client device (e.g., a laptop). The browser or app initiates a BLE discovery process to locate nearby devices registered as authenticators (e.g., a smartphone with the passkey).
    • Pairing:
      • The client device broadcasts a BLE signal, and the smartphone responds, establishing a secure, encrypted connection using CTAP 2.2’s caBLE extension.
      • The client sends the service’s challenge and domain to the smartphone over BLE.
    • Authentication:
      • The smartphone prompts the user to authenticate using biometrics or a PIN.
      • The smartphone signs the challenge with the private key and sends the signature back to the client device via BLE.
      • The browser forwards the signature to the service, which verifies it with the public key.
    • Security Features:
      • Proximity Requirement: BLE has a limited range (typically 10–30 meters), ensuring the authenticating device is physically close to the client, reducing the risk of remote phishing or man-in-the-middle attacks.
      • Encrypted Communication: CTAP 2.2 uses end-to-end encryption for BLE communication, protecting the challenge and signature.
      • Domain Binding: The smartphone verifies the service’s domain, ensuring the passkey is only used for the legitimate site.

    Practical Example:

    • Scenario: John wants to log into his Google account on a new Windows laptop using his Android phone’s passkey.
    • Process:
      • John visits accounts.google.com on the laptop and selects “Sign in with a passkey.”
      • The browser prompts him to select a nearby device. His Android phone, with BLE enabled, appears in the list.
      • John selects his phone, which prompts him to authenticate with his fingerprint.
      • The phone establishes a BLE connection with the laptop, signs the challenge with the private key stored in Google Password Manager, and sends the signature to the laptop.
      • Google verifies the signature and logs John in.
    • Outcome:
      • Phishing Resistance: If John tries to authenticate on a fake site (e.g., goog1e.com), the phone’s WebAuthn implementation rejects the request due to the domain mismatch.
      • Security: The BLE connection ensures John’s phone is nearby, preventing remote attacks. Google’s passkey system, used by over 400 million accounts in 2024, ensures robust protection (source: state-of-passkeys.io).
      • Convenience: The process is seamless, with no need for passwords or QR codes if BLE is pre-paired.

    3. Combined QR Code and BLE Workflow

    In many real-world implementations, QR codes and BLE are used together for enhanced security and usability:

    • The QR code initiates the authentication by providing session details and ensuring the user intentionally starts the process (reducing accidental BLE connections).
    • BLE handles the secure transfer of the challenge and signature, leveraging its proximity requirement to prevent remote attacks.
    • For example, when logging into a service like Microsoft 365 on a smart TV, the TV displays a QR code, which the user scans with their phone. The phone then uses BLE to communicate with the TV, ensuring the devices are close and the connection is secure.
    1. Phishing Resistance:
      • Domain Binding: Both QR codes and BLE include the service’s domain in the authentication request. The authenticator (e.g., smartphone) verifies the domain matches the registered passkey, preventing use on phishing sites (e.g., paypa1.com vs. paypal.com).
      • Proximity: BLE’s short range ensures the authenticating device is physically near the client, thwarting remote phishing attempts.
      • Encrypted Communication: CTAP 2.2 encrypts all data exchanged between devices, protecting against interception.
    2. User Verification:
      • Both methods require local authentication (biometrics or PIN) on the device holding the passkey, ensuring only the authorized user can complete the process.
      • This prevents attackers from using stolen devices without the user’s biometric or PIN.
    3. No Credential Exposure:
      • The private key never leaves the authenticator device, and only the cryptographic signature is sent, which is useless to attackers as it’s unique per session.
    4. Interoperability:
      • CTAP 2.2 ensures compatibility across platforms (iOS, Android, Windows, macOS) and devices (phones, laptops, hardware keys). For example, an iPhone can authenticate on a Windows PC via QR code and BLE.

    Below are detailed examples showcasing how QR codes and BLE via CTAP 2.2 enable cross-device authentication in real-world scenarios, emphasizing phishing resistance and user experience.

    Example 1: Logging into Amazon on a Smart TV with an iPhone

    • Scenario: Emma wants to shop on Amazon using her smart TV, authenticating with her iPhone’s passkey.
    • Process:
      • Emma opens the Amazon app on her smart TV and selects “Sign in with a passkey.”
      • The TV displays a QR code containing the session details and Amazon’s domain (amazon.com).
      • Emma scans the QR code with her iPhone, which prompts her to use Face ID.
      • The iPhone establishes a BLE connection with the TV (per CTAP 2.2’s caBLE extension), verifies the domain, and signs the challenge with the private key stored in iCloud Keychain.
      • The signature is sent to the TV, which forwards it to Amazon for verification, logging Emma in.
    • Phishing Resistance: If Emma scans in a QR code from a phishing site (e.g., amaz0n.com), her iPhone detects the domain mismatch and blocks authentication, protecting her account.
    • Benefits:
      • Speed: Amazon reports 6x faster logins with passkeys, reducing cart abandonment by 50% (source: state-of-passkeys.io).
      • Convenience: Emma logs in without typing a password on the TV’s cumbersome interface.
      • Security: The BLE connection ensures proximity, and the private key remains on her iPhone.

    Example 2: Accessing Microsoft 365 on a Windows PC with an Android Phone

    • Scenario: John, an employee, needs to log into Microsoft 365 on a new Windows PC using his Android phone’s passkey.
    • Process:
      • John visits login.microsoftonline.com and selects “Sign in with a passkey.”
      • The browser prompts for a nearby device or displays a QR code. John chooses BLE discovery.
      • His Android phone, with BLE enabled, appears in the browser’s list. John selects it, and the phone prompts for a fingerprint.
      • The phone establishes a BLE connection, signs the challenge with the private key stored in Google Password Manager, and sends the signature to the PC.
      • Microsoft verifies the signature, granting access to Microsoft 365.
    • Phishing Resistance: A fake site (e.g., office365-login.com) cannot use the passkey due to the domain mismatch verified by the phone’s WebAuthn implementation.
    • Benefits:
      • Enterprise Security: Aligns with NIST 2025 guidelines for phishing-resistant MFA.
      • Flexibility: Works across ecosystems (Android to Windows), with Microsoft reporting a 98% sign-in success rate (source: state-of-passkeys.io).

    Example 3: Logging into X Platform on a Laptop with a Hardware Security Key

    • Scenario: Liam wants to log into the X platform on his laptop using a YubiKey connected to his iPhone via BLE.
    • Process:
      • Liam visits x.com and selects “Sign in with a passkey.”
      • The browser prompts for a nearby authenticator. Liam’s YubiKey, paired with his iPhone via BLE, is detected.
      • Liam taps the YubiKey (or enters a PIN, depending on the model), which signs the challenge with the private key stored on the YubiKey.
      • The signature is sent to the laptop via BLE, and the browser forwards it to X for verification.
    • Phishing Resistance: The YubiKey verifies the domain (x.com), preventing authentication on a fake site (e.g., x-login.com).
    • Benefits:
      • Device-Bound Security: The passkey is stored on the YubiKey, not synced, reducing risks if Liam’s cloud account is compromised.
      • Adoption Impact: X doubled login rates with passkeys, enhancing user engagement (source: state-of-passkeys.io).

    Phishing attacks typically trick users into entering credentials (e.g., usernames and passwords) on fraudulent websites or through malicious links. These attacks exploit the fact that passwords are shared secrets, meaning the user sends the same credential to the server, which can be intercepted or reused by attackers. Passkeys eliminate this vulnerability through several key mechanisms:

    1. Public Key Cryptography:
      • Passkeys use a cryptographic key pair: a private key stored securely on the user’s device (e.g., in a secure enclave or TPM) and a public key shared with the legitimate service. Unlike passwords, the private key never leaves the device, so there’s no shared secret that can be stolen or transmitted to a malicious site.
      • During authentication, the service sends a challenge (random data) to the device, which signs it with the private key. The service verifies the signature using the public key. This process ensures that even if an attacker intercepts the communication, they cannot replicate the private key or reuse the signature, as it’s unique to each authentication attempt.
    2. Domain-Bound Credentials:
      • Passkeys are tied to the specific domain of the service they were created for (e.g., paypal.com, google.com). The WebAuthn protocol enforces this by including the relying party’s domain in the authentication process. If a user attempts to authenticate on a fraudulent site (e.g., paypa1.com), the passkey will not work because the domain doesn’t match the one registered with the public key.
      • This eliminates the risk of users inadvertently providing credentials to phishing sites that mimic legitimate ones.
    3. Device-Based Authentication:
      • Passkeys typically require user verification, such as biometrics (e.g., fingerprint, face scan) or a PIN, to access the private key on the device. This ensures that even if an attacker tricks a user into visiting a phishing site, they cannot access the private key without physical access to the device and the user’s biometric or PIN.
      • Unlike passwords, which can be entered remotely on any device, passkeys are anchored to the user’s trusted device, adding a layer of physical security.
    4. No Reusable Credentials:
      • Passwords can be reused across multiple sessions or sites, making them vulnerable to credential stuffing or phishing. Passkeys generate a unique cryptographic signature for each authentication attempt, which cannot be reused or applied to another session or site.
      • This dynamic signing process ensures that intercepted data is useless to attackers, as it’s valid only for a single transaction.
    5. Proximity-Based Cross-Device Authentication:
      • When passkeys are used across devices (e.g., using a phone to authenticate on a laptop), mechanisms like QR codes or Bluetooth Low Energy (BLE) via CTAP 2.2 require physical proximity. This prevents remote phishing attacks, as an attacker would need to be near the user’s device to exploit the authentication process.
    6. Elimination of Shared Secrets:
      • Traditional phishing attacks succeed because users share passwords with servers, which can be intercepted or stored insecurely. Since passkeys involve no shared secrets (only the public key is shared with the service), there’s nothing for a phishing site to steal or misuse.

    These mechanisms collectively make passkeys highly resistant to phishing.

    Below are detailed examples illustrating how passkeys prevent phishing attacks in real-world scenarios, covering different platforms and use cases.

    Example 1: Phishing Attempt on PayPal

    Scenario: Emma receives an email with a link to a fake PayPal login page (e.g., paypa1.com) designed to steal her credentials. She uses a passkey on her iPhone.

    How Passkeys Resist Phishing:

    • Attack Attempt: Emma clicks the phishing link, which directs her to a site mimicking paypal.com. The fake site prompts her to “Sign in with a passkey.”
    • Passkey Behavior:
      • Emma’s iPhone, where her PayPal passkey is stored in iCloud Keychain, checks the domain of the site (paypa1.com) against the registered domain (paypal.com).
      • The WebAuthn protocol detects the mismatch and refuses to proceed with authentication, preventing the passkey from being used.
      • Even if Emma tries to authenticate, the fake site cannot access her private key, as it remains on her iPhone, protected by Face ID.
    • Outcome: The phishing attempt fails because the passkey is domain-bound and cannot be used on the fraudulent site. Emma is protected without needing to recognize the phishing attempt herself.
    • Contrast with Passwords: If Emma used a password, she might have entered it on the fake site, allowing attackers to capture and reuse it on the real paypal.com, potentially draining her account.

    Real-World Impact: PayPal’s passkey adoption, supported across iOS, Android, and web, has reduced phishing-related account takeovers, aligning with industry trends showing a 98% drop in such incidents (source: state state-of-passkeys.io).

    Example 2: Google Account Phishing Email

    Scenario: John receives a phishing email claiming his Google account is compromised, directing him to a fake login page (e.g., goog1e-secure.com). He uses a passkey on his Android phone.

    How Passkeys Resist Phishing:

    • Attack Attempt: John clicks the link and is prompted to sign in with a passkey on the fake site.
    • Passkey Behavior:
      • John’s Android phone, with the passkey stored in Google Password ciascuno Password Manager, checks the domain (goog1e-secure.com) against the registered domain (accounts.google.com).
      • The WebAuthn protocol rejects the authentication because the domains don’t match, and no credentials are provided to the fake site.
      • Even if John attempts to authenticate, his private key remains secure, and the phishing site cannot generate a valid signature.
    • Outcome: The phishing site cannot authenticate John, and his Google account remains secure. Google’s passkey system, used by over 400 million accounts in 2024, ensures no credentials are exposed.
    • Contrast with Passwords: A password entered on the fake site could be captured and used to access John’s real Google account, potentially exposing sensitive data like emails or Google Drive files.

    Real-World Impact: Google’s passkey implementation has significantly reduced phishing vulnerabilities, with a 550% increase in daily passkey creation.

    Example 3: Corporate Microsoft 365 Phishing Attack

    Scenario: Sarah, an employee, receives a phishing email with a link to a fake Microsoft 365 login page (e.g., office365-login.com). She uses a YubiKey passkey for authentication.

    How Passkeys Resist Phishing:

    • Attack Attempt: Sarah clicks the link and is prompted to sign in with a passkey on her company laptop.
    • Passkey Behavior:
      • Sarah inserts her YubiKey, which contains a device-bound passkey for Microsoft 365.
      • The WebAuthn protocol checks the domain (office365-login.com) against the registered domain (login.microsoftonline.com) and detects the mismatch.
      • The YubiKey refuses to proceed with authentication, as the passkey is invalid for the fake domain.
      • The private key remains secure within the YubiKey, and no credentials are exposed to the phishing site.
    • Outcome: The phishing attempt fails, protecting Sarah’s corporate Microsoft 365 account, which may contain sensitive company data.
    • Contrast with Passwords: A stolen password could allow attackers to access Microsoft 365, potentially leading to data breaches or ransomware attacks.

    Real-World Impact: Microsoft’s passkey rollout for enterprise accounts in 2024 aligns with NIST 2025 guidelines for phishing-resistant MFA, ensuring robust protection for corporate environments.

    Example 4: Social Media Phishing on X Platform

    Scenario: Liam receives a direct message on the X platform with a link to a fake login page (e.g., x-login.com) claiming his account is at risk. He uses a passkey on his iPhone.

    How Passkeys Resist Phishing:

    • Attack Attempt: Liam clicks the link and is prompted to sign in with a passkey.
    • Passkey Behavior:
      • Liam’s iPhone, with the passkey stored in iCloud Keychain, checks the domain (x-login.com) against the registered domain (x.com).
      • The WebAuthn protocol blocks the authentication due to the domain mismatch, preventing the passkey from being used.
      • Liam’s Face ID verification ensures the private key remains inaccessible to the phishing site.
    • Outcome: The phishing attempt is thwarted, and Liam’s X account, which may include personal messages or financial data, remains secure.
    • Contrast with Passwords: A password entered on the fake site could be used to take over Liam’s X account, potentially leading to identity theft or fraudulent posts.

    Real-World Impact: The X platform’s passkey adoption doubled login rates, reflecting improved security and user trust (source: state-of-passkeys.io).


    For further reading, users can explore: