{
  "slug": "pake",
  "name": "Password-authenticated key exchange",
  "aka": "SRP, SPAKE2, OPAQUE, CPace, SAE (Dragonfly)",
  "group": "advanced",
  "kind": "Password-authenticated key exchange",
  "summary": "Deployed password-authenticated key exchanges rest on discrete logarithms and are broken by Shor's algorithm. No post-quantum PAKE is standardized; the proposals build one from a KEM.",
  "used_in": "Wi-Fi (WPA3 SAE), device pairing, password login that does not send the password, and electronic passports.",
  "problem": "Discrete logarithm",
  "quantum": "broken",
  "attack": "Shor's algorithm",
  "exposure": "With a recorded exchange, an attacker with a quantum computer can test password guesses offline and recover the session key. CPace is \"quantum annoying\" in the analysis of Eaton and Stebila: each guess costs a separate discrete logarithm, which slows an early quantum computer and does not stop it.",
  "recorded": "Exposed. Passwords can be guessed offline from recorded exchanges.",
  "replace": [],
  "alternatives": [],
  "proposed": [
    {
      "name": "CAKE, OCAKE",
      "url": "https://eprint.iacr.org/2023/470",
      "note": "Generic constructions of a PAKE from a KEM and an ideal cipher."
    },
    {
      "name": "CHIC",
      "url": "https://eprint.iacr.org/2024/308",
      "note": "A compact PAKE from a lattice KEM. Its analysis finds that a passively secure KEM is not sufficient, contrary to the CAKE paper."
    },
    {
      "name": "NoIC",
      "url": "https://eprint.iacr.org/2025/231",
      "note": "A PAKE from a KEM without an ideal cipher."
    },
    {
      "name": "Hybrid post-quantum PAKE (draft-vos-cfrg-pqpake)",
      "url": "https://datatracker.ietf.org/doc/draft-vos-cfrg-pqpake/",
      "note": "CPace combined with a KEM-based PAKE. An individual Internet-Draft, not adopted."
    }
  ],
  "changes": [
    "A KEM is not a drop-in. The classical designs hide a group element under the password; a KEM public key is not a uniformly random string, so the constructions need an ideal cipher or a special encoding to avoid leaking whether a guess is right.",
    "The proofs are classical. A 2026 preprint argues that a family of encrypted-key-exchange protocols is not UC-secure against quantum adversaries even with a post-quantum KEM; whether it covers the proposals above is not assessed here."
  ],
  "specified": [
    {
      "title": "RFC 9807, The OPAQUE Augmented PAKE Protocol",
      "url": "https://www.rfc-editor.org/info/rfc9807"
    },
    {
      "title": "RFC 9382, SPAKE2",
      "url": "https://www.rfc-editor.org/info/rfc9382"
    },
    {
      "title": "CPace (draft-irtf-cfrg-cpace, in the RFC Editor queue)",
      "url": "https://datatracker.ietf.org/doc/draft-irtf-cfrg-cpace/"
    }
  ],
  "references": [
    {
      "title": "Eaton, Stebila: The \"quantum annoying\" property of password-authenticated key exchange protocols (ePrint 2021/696)",
      "url": "https://eprint.iacr.org/2021/696"
    },
    {
      "title": "Natural Barriers to Quantum Extraction: On the Post-Quantum (In)security of (O)EKE and Masny-Rindal OT (ePrint 2026/2280, preprint)",
      "url": "https://eprint.iacr.org/2026/2280"
    }
  ],
  "tags": [
    "rsa-ecc"
  ],
  "page": "https://quantum.zksecurity.xyz/replacements/pake/",
  "reviewed": "2026-11-25",
  "standing": "no standardized replacement"
}
