PAKE family

OPAQUE

Asymmetric PAKE: password login where the server never sees the password

unverified 1 variant IRTF CFRG, RFC 9807

Overview

OPAQUE is an augmented (asymmetric) PAKE that lets a client log in with a password while the server stores only a value from which the password cannot be learned without an offline dictionary attack. It is specified by the IRTF CFRG as RFC 9807.

In conventional password login the server receives the password, even if only briefly, and stores a salted hash that an attacker can copy and attack later. OPAQUE uses an oblivious pseudorandom function (OPRF) keyed by the server: the client blinds its password, the server evaluates the OPRF without seeing it, and the client unblinds the result to obtain a key that decrypts an envelope holding its long-term key material. The parties then run an authenticated key exchange.

Because the per-user OPRF key acts as a secret salt that is never sent to the client, an attacker who wants to precompute password guesses must first compromise the server; OPAQUE is secure against such precomputation attacks, unlike SRP. The password never leaves the client, and the protocol yields a mutually authenticated session key. One configuration is present: opaque-ristretto255-sha512, using the ristretto255 group for the OPRF and key exchange with SHA-512.

History

2018–2025
  1. OPAQUE published by Stanisław Jarecki, Hugo Krawczyk, Jiayu Xu

  2. Specified in RFC 9807

How it works

  1. Registration: the client blinds its password, the server evaluates the OPRF, and the client stores an encrypted envelope and public key with the server.
  2. Login: the client blinds the password again and sends it with a key-exchange message.
  3. The server returns the OPRF evaluation, the stored envelope and its key-exchange response.
  4. The client unblinds, opens the envelope, completes the key exchange and both sides derive a session key.

Security notes

A server compromise still allows offline dictionary attacks against stored records, so slow password hashing (the KSF stage) remains important. The construction is not post-quantum. NextSSL has not yet verified it against the RFC test vectors.

Typical uses

Password login without the server ever seeing the passwordEnd-to-end encrypted backups protected by a passwordReplacing SRP in new systems

Variants in NextSSL

1
AlgorithmTierSizes (bytes)StandardsAPI
OPAQUE-Ristretto255-SHA-512
opaque-ristretto255-sha512
unverified key 1–256 · ss 64 RFC 9807 root

Frequently asked questions

Which OPAQUE variants does NextSSL include?

NextSSL registers 1 OPAQUE variant: opaque-ristretto255-sha512.