PASSWORD-AUTHENTICATED KEY EXCHANGE
What OPAQUE changes about registration, login and server compromise.
A conventional password service receives a password, transforms it with a password-hashing function and later compares a derived verifier. TLS protects the path, but the server still becomes the place where password processing and password-equivalent records accumulate.
OPAQUE changes the protocol boundary. It is an augmented password-authenticated key exchange in which the client and server establish a mutually authenticated session key without disclosing the password to the server, including during registration.
That is a stronger architecture. It is not the end of password risk.
An OPRF before the key exchange
OPAQUE combines an oblivious pseudorandom function with an authenticated key exchange. The client blinds a value derived from the password. The server evaluates it under a secret OPRF key without learning the client’s input. The client unblinds the response and obtains a deterministic value known only to a client holding the password.
That value is used to protect an envelope containing client-side credentials and configuration. During login, the correct password lets the client recover the envelope and continue the authenticated key exchange.
The server participates in every evaluation but does not receive the password or the unblinded OPRF output.
Registration is a cryptographic ceremony
At registration, the client creates the material that will later authenticate it. Depending on the instantiation, this includes a private authentication key protected inside the envelope and a public key stored by the server.
The server stores a registration record rather than a conventional password hash. The record contains enough information to run future OPRF evaluations, return the envelope and authenticate the client through the selected AKE.
Registration must itself occur in an authenticated context. OPAQUE can hide the password from the service, but it cannot tell a new client whether it is registering with the intended service unless that relationship is established by some other means.
The envelope makes the client state recoverable
The envelope lets a client reconstruct secret authentication state from the password and the server’s OPRF response. The device does not need to preserve that state between sessions.
This gives OPAQUE an important deployment property: a user can authenticate from a new client using only the password, while the server never stores the client’s private key in clear form.
It also means envelope formatting, associated context and key derivation are part of the protocol. A ciphertext that decrypts is not sufficient. The recovered configuration must be bound to the intended server identity and ciphersuite.
Server compromise is improved, not erased
An attacker who steals an OPAQUE registration record does not obtain a reusable password verifier in the conventional sense. The construction prevents precomputation attacks and aims to make each password guess require work tied to the compromised server state.
A low-entropy password remains guessable. OPAQUE does not create entropy that the user did not choose. After a full server compromise, an attacker can perform an offline dictionary attack whose success is limited by the password distribution and the protocol’s cost.
The accurate claim is therefore not that a database breach becomes harmless. It is that the server learns less during normal operation and the stolen record provides the best achievable resistance for this class of password protocol.
The server key is part of every record’s security
The OPRF private key is high-value service material. If one key is used across many accounts, its compromise changes the attacker’s ability to test guesses against all corresponding records.
Deployments need a plan for generation, storage, rotation and recovery of that key. Losing it can make every associated envelope unrecoverable. Exporting it widely for availability enlarges the compromise boundary.
An HSM may protect the OPRF key, but only if it supports the required group operation or a carefully designed remote evaluation interface. Treating the OPRF as an ordinary signing operation is not generally correct.
Mutual authentication needs key confirmation
OPAQUE’s AKE confirms that the client recovered the correct credentials and that the server holds its corresponding secret. Both parties derive session keys bound to the exchange.
An implementation must not release application data before the required authentication and key-confirmation steps complete. Error handling should avoid distinguishing an unknown account from a wrong password in ways that enable enumeration.
The protocol output is key material, not a boolean password result. Applications should define which exported key is used for the channel, which context it is bound to and how failure is represented.
Recovery can bypass the protocol
Password recovery is usually an administrative replacement of the cryptographic enrollment. If a help desk can reset an account after weak identity checks, it becomes an alternate authentication protocol with different guarantees.
The new password requires a new registration record and envelope. The system must decide what happens to active sessions, remembered devices, recovery codes and old server keys.
OPAQUE improves the primary ceremony. It cannot make an easier recovery ceremony equally strong.
Multi-factor authentication remains separate
A password-authenticated key exchange proves knowledge of the password-derived secret and authenticates the service. It does not prove possession of a separate device or resistance to a real-time phishing relay.
A second factor can be incorporated above the established channel, but its binding must be explicit. A six-digit OTP submitted after OPAQUE can still be relayed if the user is interacting with an attacker-controlled origin.
The result should be evaluated as one authentication ceremony, not as independent components whose strengths are simply added together.
Migration needs dual records
A service cannot derive an OPAQUE registration record from an existing salted password hash. The client must participate with the real password.
One migration strategy enrolls an OPAQUE record after a successful legacy login. Until that happens, both paths coexist. The service must prevent downgrade, preserve account rate limits and decide when the legacy verifier can be deleted.
As with other cryptographic transitions, supporting the new algorithm is easier than safely removing the old one.
Constrained clients change the cost model
OPAQUE requires group operations, hashing, authenticated encryption and the chosen AKE. This is practical on general-purpose clients, but smart cards and small embedded devices may lack the curve or API needed for an OPRF.
Offloading only part of the operation can expose the password-derived input or the envelope key. A useful implementation profile should state exactly which component sees each intermediate value and where rate limiting is enforced.
The password becomes an input, not a server secret
OPAQUE does not abolish passwords. It changes what the server needs to know about them.
The client uses the password to recover its own authentication material. The server contributes a keyed oblivious function and authenticates the resulting exchange. Registration, key custody, recovery and migration remain essential.
The strongest result is architectural: the service can authenticate a password user without making normal server operation depend on receiving that password.



