Does a pre-shared key replace post-quantum key exchange, or sit alongside it?
If you have met both terms in a vendor document, an RFC or an audit request, the first thing to settle is that they do different jobs. A pre-shared key (PSK) is a symmetric secret that both peers hold in advance, while post-quantum key exchange is a public-key agreement that derives a fresh secret for each session. The distinction that matters most is that a PSK adds material to the key schedule and does not itself replace the exchange: in the protocols that use it, the PSK is mixed in alongside the key exchange output, so the session key depends on both.
Network, security and PKI engineers are the people who usually meet this question, because the same pattern appears across several protocols. In TLS 1.3, RFC 8773 defines an external PSK that is added to the key schedule next to the (EC)DHE shared secret, and it states that its motivation is protecting today's traffic from later decryption by a large-scale quantum computer. IKEv2 handles the same idea through the post-quantum preshared key (PPK) in RFC 8784, which is used only when the initial IKE SA is set up, not for rekeys. SSH and WireGuard take their own routes to the same question, with OpenSSH 10.0 making a hybrid key agreement its default and the WireGuard protocol page describing an optional shared secret as an extra symmetric layer.
The practical check is to confirm in each product's documentation whether the PSK is additive to a post-quantum or hybrid key exchange, or whether it is used alone. RFC 9846 notes that a PSK used alone loses forward secrecy for application data, while combining it with an asymmetric key exchange provides forward secrecy. Ask whether the PSK is distributed and stored with the same care as a private key, since RFC 8773 notes that a compromised PSK exposes content to the same risk, and whether the PPK in an IKEv2 deployment has at least 256 bits of entropy, as RFC 8784 recommends. Where the sources do not settle a point for your version, confirm it with the vendor or the RFC text itself.
How the two compare on the attributes the sources give
This table sets a pre-shared key against a post-quantum key exchange on the attributes the cited documents state. Read each row as what the named source says, and confirm the details for the exact version you run. The main point is that a pre-shared key alone does not give forward secrecy, while a key exchange does, so the two are often combined rather than chosen between.
| Attribute | Pre-shared keys | Post-quantum key exchange |
|---|---|---|
| What it is | A shared symmetric secret used to authenticate or add to the key schedule, defined as an external PSK in TLS 1.3 (RFC 8773) and as a post-quantum preshared key in IKEv2 (RFC 8784) | A key encapsulation or hybrid key exchange group added to a handshake, such as X25519MLKEM768 in TLS 1.3 (RFC 10024) or mlkem768x25519-sha256 in OpenSSH (OpenSSH PQ page) |
| Defining document and date | RFC 8773 (March 2020, Experimental), RFC 9258 (July 2022, Standards Track), RFC 8784 (IKEv2 PPK), RFC 9846 (TLS 1.3, July 2026) | RFC 10024 (August 2026, Standards Track), RFC 9954 (July 2026, Informational), FIPS 203 (13 August 2024), RFC 9370 (IKEv2 additional key exchanges) |
| Status | RFC 8773 is Experimental, RFC 9258 is Standards Track, and RFC 8784 status is for the reader to confirm in the RFC index | RFC 10024 is Standards Track, RFC 9954 is Informational, and FIPS 203 is a published NIST standard |
| What it protects against | Content exposure if the PSK itself is kept secret, and RFC 8773 notes that a compromised PSK exposes content to the same risk as recorded traffic | Recorded traffic being decrypted later, which RFC 9954 states as its motivation, and it stays secure while at least one component is unbroken |
| Forward secrecy when used alone | No. RFC 9846 says a PSK used alone loses forward secrecy for application data | Yes, when it is an ephemeral exchange, as RFC 9846 notes that asymmetric key exchange provides forward secrecy |
| Key or share sizes where given | RFC 8784 advises at least 256 bits of entropy for a PPK | X25519MLKEM768 shares are 1216 bytes from the client and 1120 bytes from the server, and SecP384r1MLKEM1024 shares are 1665 bytes each way (RFC 10024) |
| Where it is supported | TLS 1.3 external PSK per RFC 8773 and RFC 9258, IKEv2 per RFC 8784, and WireGuard as an optional shared secret per the WireGuard protocol page | TLS 1.3 named groups per RFC 10024, IKEv2 additional exchanges per RFC 9370, and OpenSSH 10.0 default per the OpenSSH PQ page |
| Where to confirm details | The RFC text for the version in use, and the WireGuard protocol page for how the optional secret is treated when unused | The RFC or specification for the group in use, and the vendor documentation for which named groups a given build offers |
What a pre-shared key is and what post-quantum key exchange is
A pre-shared key (PSK) is a secret value that both parties already hold before the session starts, and it is mixed into the session's key schedule alongside the key derived from a normal key exchange. In TLS 1.3, RFC 8773 defines the extension tls_cert_with_extern_psk (type 33), which lets a server authenticate with both a certificate and an external PSK, and it states that the motivation is to protect today's traffic from later decryption by a large-scale quantum computer. RFC 9258 defines how external PSKs are imported into TLS 1.3 and derives a separate PSK and identity for each target protocol and KDF. In IKEv2, RFC 8784 defines a post-quantum preshared key (PPK) that is mixed in when the initial IKE SA is set up, and the WireGuard protocol page describes an optional shared secret that is treated as 32 zero bytes when unused.
- Scope of definition: RFC 8773 and RFC 9258 cover TLS 1.3, RFC 8784 covers IKEv2, and WireGuard describes its optional secret in its protocol documentation.
- Strength requirement: RFC 8784 states that a PPK should contain at least 256 bits of entropy and warns against deriving one from a password or other low-entropy source.
- Limits in TLS: RFC 8773 allows only external PSKs, not resumption PSKs.
- Limits in IKEv2: RFC 8784 uses the PPK only for the initial IKE SA, not for rekeys.
- Forward secrecy: RFC 9846 notes that a PSK used alone loses forward secrecy for application data, and gives forward secrecy only when combined with an asymmetric key exchange.
Confirm in each product's documentation whether it supports external PSKs, where the PSK is configured, and how the key is generated and distributed.
Post-quantum key exchange replaces or augments the asymmetric step that establishes the session key with an algorithm designed to resist quantum attacks. NIST's FIPS 203 specifies ML-KEM, a key encapsulation mechanism with parameter sets ML-KEM-512, ML-KEM-768 and ML-KEM-1024, and NIST SP 800-227 describes a KEM as a way for two parties to establish a shared secret over a public channel. In TLS 1.3, RFC 10024 defines hybrid named groups that combine ML-KEM with a classical algorithm, and RFC 9954 describes hybrid key exchange as using multiple algorithms together so the session key stays secure while at least one component is unbroken. In OpenSSH, the hybrid mlkem768x25519-sha256 became the default key agreement in OpenSSH 10.0, released in April 2025.
- Named groups: RFC 10024 defines X25519MLKEM768 (4588, 0x11EC, Recommended Y), SecP256r1MLKEM768 (4587, 0x11EB, Recommended N) and SecP384r1MLKEM1024 (4589, 0x11ED, Recommended N).
- Key share sizes: RFC 10024 gives X25519MLKEM768 client key shares of 1216 bytes and server shares of 1120 bytes, and SecP384r1MLKEM1024 shares of 1665 bytes in each direction.
- Standard: FIPS 203 was published on 13 August 2024.
- Protocol versions: RFC 9846 (TLS 1.3, July 2026) obsoletes RFC 8446 and is the current TLS 1.3 specification.
- Extra exchanges in IKEv2: RFC 9370 lets IKEv2 run up to seven additional key exchanges, ADDKE1 to ADDKE7, after IKE_SA_INIT.
Confirm in each product's release notes which named groups it supports, which is the default, and whether the hybrid form or the pure ML-KEM form is in use.
Which differences change configuration or decisions
Pre-shared keys and post-quantum key exchange both aim at traffic recorded today and decrypted later, but they differ in how keys reach each side and what a compromise exposes. The cards below cover the consequences that affect protocol settings, key handling and vendor questions.
A PSK compromise exposes the same content
A pre-shared key is symmetric, so both endpoints hold the same secret and either one can derive the traffic keys from it. RFC 8773 notes that a compromised external PSK would expose content to the same risk as the traffic it protected. For an architecture review, this means the PSK store is part of the cryptographic boundary: who can read it, how it is rotated and where it is backed up all affect the exposure. Ask a vendor where PSK material is stored and whether it can be read by an administrator or an automation account.
RFC 8773PSK alone loses forward secrecy
A PSK used alone gives up forward secrecy for application data. RFC 9846 states that PSKs can be used alone, which loses forward secrecy, or combined with asymmetric key exchange, which provides it. A configuration that offers PSK-only modes therefore changes what a later key disclosure can reveal. Check whether your TLS 1.3 stack allows PSK-only key agreement, and if it does, confirm whether your policy permits it for the traffic in scope.
RFC 9846PPK entropy and source limits
A post-quantum preshared key must carry at least 256 bits of entropy and must not be derived from a password. RFC 8784 gives this as the strongest practice and warns that a low-entropy source is not secure. Anyone generating a PPK for IKEv2 needs a random source that meets this bar and a process that keeps passwords out of key material. Confirm with your IPsec vendor how PPKs are generated and whether the generator is documented as a cryptographically secure random source.
RFC 8784PPK applies only at IKE setup
A post-quantum preshared key is used only when the initial IKE SA is set up, and RFC 8784 does not apply it to rekeys. This matters for lifecycle planning: a PPK provisioned once does not protect later rekey material on its own. Operators who rotate SAs should check whether their configuration and monitoring treat setup and rekey as separate events, and should confirm how the PPK interacts with the rekey interval they use.
RFC 8784Fresh agreement versus provisioned secrets
Post-quantum key exchange produces a new shared secret for each session through a key encapsulation or agreement step, while PSK material is provisioned out of band before any session starts. The distribution path for a PSK is therefore an operational control: it needs a secure channel, a record of who holds each key and a plan for replacing it. Review the provisioning workflow and the audit trail for PSK distribution as part of the same assessment that reviews the key exchange configuration.
RFC 9180Hybrid exchange holds with one unbroken component
RFC 9954 defines hybrid key exchange as combining multiple algorithms so the session key stays secure while at least one component is unbroken, and it states that recorded traffic could be decrypted later without this protection. For a deployment, this means a hybrid group such as X25519MLKEM768 preserves the protection if one component fails. Check which named groups your TLS stack offers, whether hybrid groups are enabled by default, and whether a fallback to a classical-only group is allowed.
RFC 9954Where the PSK and the key exchange sit in the key schedule
The diagram starts with the TLS 1.3 key schedule, where the (EC)DHE or ML-KEM shared secret is one input and the external PSK is another, as RFC 8773 describes. Both feed the schedule together, so a session key depends on the key exchange and the PSK. In IKEv2, the path runs through IKE_SA_INIT and IKE_INTERMEDIATE, which carry the key exchanges, and the post-quantum preshared key (PPK) mixes in only when the initial IKE SA is set up, as RFC 8784 and RFC 9370 describe. Check which exchange or PSK applies to the version and implementation you run, and do not read the diagram as a statement about any product's configuration.
The TLS 1.3 and IKEv2 paths where the PSK and key exchange enter the key schedule.
Where pre-shared keys and post-quantum exchange appear in TLS, IKEv2, SSH and WireGuard
A pre-shared key (PSK) and a post-quantum key exchange both aim to keep recorded traffic unreadable if a future quantum computer breaks today's public-key exchanges, but they arrive in different protocols and in different forms. In TLS 1.3, RFC 8773 defines the extension tls_cert_with_extern_psk (type 33), which lets a server authenticate with both a certificate and an external PSK. The external PSK enters the key schedule alongside the (EC)DHE shared secret, and RFC 8773 states that protecting today's traffic from later decryption is its motivation. RFC 8773 also notes that a compromised PSK would expose content to the same risk, and it allows only external PSKs, not resumption PSKs. RFC 9258 then defines how external PSKs are imported into TLS 1.3 and derives a separate PSK and identity for each target protocol and KDF. Confirm whether your TLS stack implements these two RFCs before planning around them.
Post-quantum key exchange in TLS 1.3 appears as hybrid named groups. RFC 10024 defines X25519MLKEM768 (codepoint 4588, 0x11EC, marked Recommended), SecP256r1MLKEM768 and SecP384r1MLKEM1024. Its key shares are large: 1216 bytes from the client and 1120 bytes from the server for X25519MLKEM768, which matters for handshake sizing and middlebox behavior. In IKEv2, RFC 8784 mixes a post-quantum preshared key (PPK) into the key derivation, but only when the initial IKE SA is set up, not on rekeys. RFC 8784 says a PPK should carry at least 256 bits of entropy and warns against deriving one from a password. RFC 9370 separately allows up to seven additional key exchanges after IKE_SA_INIT. For SSH, OpenSSH 10.0 made the hybrid mlkem768x25519-sha256 its default key agreement in April 2025. The sources supplied here do not mention PSK use in SSH, so do not assume a PSK option exists there.
WireGuard takes a different route. Its protocol page describes an additional symmetric-key layer as needed for post-quantum resistance and offers an optional shared secret, which is treated as 32 zero bytes when unused. Check the shared secret setting in your WireGuard configuration and confirm how your deployment manages it. Note also that RFC 9846, the July 2026 TLS 1.3 specification, obsoletes RFC 8446, so references to RFC 8446 in older configurations or vendor documents should be updated. RFC 9846 states that a PSK used alone loses forward secrecy for application data, while combining it with asymmetric key exchange restores it. Decide per protocol whether a PSK, a hybrid group or both fit your traffic, and confirm the exact versions and settings your products support.
How to work out which one applies to your system
This sequence tells you whether your traffic is protected by a pre-shared key, by a post-quantum key exchange, by both, or by neither, and which document or vendor setting backs up that answer. Each step ends with a check you can record as evidence for an architecture review or customer questionnaire.
Identify the protocol and version in use
Start by confirming which protocol carries the traffic and which version is negotiated: TLS 1.3, IKEv2, SSH or WireGuard. Pre-shared key handling and post-quantum key exchange are defined differently in each, so the protocol decides which RFCs and product settings apply. Check the version on the live endpoint or in the configuration file, not only in the design document. The step is done when you can name the protocol and version for each traffic path you are reviewing, and record where you read it.
Check whether external PSK or PPK support is enabled
Next, find out whether the product can use an external pre-shared key and whether that option is switched on. In TLS 1.3, RFC 8773 defines the extension that allows a certificate and an external PSK together, and RFC 9258 defines how external PSKs are imported. In IKEv2, RFC 8784 defines the post-quantum preshared key (PPK) that is mixed in when the initial IKE SA is set up. Confirm the setting in the running configuration, not only in the product's feature list. The step is done when you have a written yes or no for each path, with the configuration key or setting name recorded beside it.
Check vendor documentation for hybrid named groups
Now check whether the product offers hybrid key exchange groups and whether any of them are the default. For TLS 1.3, RFC 10024 names the hybrid groups X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024, and marks one as recommended. For SSH, the OpenSSH project says version 10.0 made the hybrid mlkem768x25519-sha256 its default key agreement. Read the vendor's release notes and default configuration for the exact version you run, because a feature in one release is not necessarily present in another. The step is done when you can list which groups are offered, which is the default, and the version each fact applies to.
Match the customer or tender requirement wording
Compare the wording of the customer contract, tender or audit request against the protocol and configuration you have recorded. Note which document each requirement cites, for example a named standard, a product guide or a general statement about post-quantum protection, because that citation tells you what the reviewer will check. Where the wording is vague, write down the specific reading you are relying on and confirm it with the requester before work starts. The step is done when each requirement is mapped to a document and to one of your recorded settings, or flagged as unanswered.
Review how any pre-shared key is provisioned and rotated
If a pre-shared key is in use, review how it is generated, distributed, stored and rotated. RFC 8784 states that the strongest practice is for a PPK to contain at least 256 bits of entropy, and it warns that a key derived from a password or other low-entropy source is not secure. Check the generation method, the source of randomness, who can read the key and how often it changes, and confirm that rotation is done without reusing old values. The step is done when you can state the entropy source, the rotation process and the owner of each key, and whether each one meets the 256-bit guidance in RFC 8784.
Record the result and the sources behind it
Bring the findings from the earlier steps into one record for each traffic path: protocol and version, PSK or PPK status, hybrid group in use, the document each requirement cites, and key provisioning status. Mark any item you could not verify and say where the owner needs to confirm it. Keep the source for each entry with its date, so the record can be reviewed by an auditor or vendor-risk team later. The step is done when every traffic path has a complete entry, with open items assigned to a named owner.
Common questions about pre-shared keys and post-quantum key exchange
Is a pre-shared key the same as post-quantum key exchange?
No. A pre-shared key (PSK) is a symmetric secret that both parties already hold before the connection starts, so no key agreement takes place during the handshake. A post-quantum key exchange is a method for establishing a shared secret over a public channel, typically using a key encapsulation mechanism such as ML-KEM under FIPS 203. RFC 8773 uses an external PSK alongside the (EC)DHE shared secret in the TLS 1.3 key schedule, so the two can be combined, but they solve the problem in different ways. Confirm the exact mechanism in the RFC or product documentation you rely on.
Does a pre-shared key replace post-quantum key exchange?
Not according to the sources listed here. RFC 8773 motivates adding an external PSK to protect today's traffic from later decryption by a large-scale quantum computer, but it also notes that a compromised PSK would expose content to the same risk. The PSK is provisioned out of band, so its distribution and storage become the weak point. Where a standard or customer asks for post-quantum key exchange, a PSK alone is unlikely to satisfy that request, and you should check the specific requirement in the governing document.
Which one does a standard or customer ask for?
It depends on the document. NIST's post-quantum standards are FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA), and NIST SP 800-227 describes key-encapsulation mechanisms for establishing shared secrets. A customer questionnaire may ask whether post-quantum key exchange is supported, or whether a PSK is used. Read the clause that your contract or assessment refers to, and ask the customer which of the two they mean, rather than assuming one satisfies the other.
Do you need both a pre-shared key and post-quantum key exchange?
The sources do not establish a general answer. RFC 8773 adds an external PSK alongside the (EC)DHE shared secret, and RFC 9954 describes hybrid key exchange as using multiple algorithms together so the session key stays secure while at least one component is unbroken. Using both is therefore a design choice that some protocols support. Whether it is required depends on your threat model and the policy you must meet, which your security team and the governing document should decide.
What does forward secrecy mean for a pre-shared key used alone?
RFC 9846 says a PSK can be used alone, but doing so loses forward secrecy for application data. Forward secrecy means that compromise of a long-term key does not expose traffic recorded earlier. Without an asymmetric key exchange, a PSK leaves no ephemeral secret per session, so a later compromise of the PSK can expose traffic protected under it. RFC 9846 notes that PSKs can provide forward secrecy when combined with asymmetric key exchange. Check how your implementation handles this before relying on a PSK alone.
Must a pre-shared key be high-entropy?
Yes, according to RFC 8784, which states that the strongest practice is for a post-quantum preshared key to contain at least 256 bits of entropy. RFC 8784 warns that deriving such a key from a password or other low-entropy source is not secure. The same reasoning applies to PSKs in general. Confirm the entropy requirement in the RFC your protocol uses, and check how keys are generated and stored in your environment.
What should you ask a vendor about PSK support and hybrid defaults?
Ask which protocol versions and extensions the product supports for external PSKs, whether it uses the PSK alone or with an asymmetric key exchange, and what entropy the PSK must have. For post-quantum support, ask which hybrid named groups it offers and which is the default. OpenSSH 10.0, released in April 2025, made the hybrid mlkem768x25519-sha256 its default key agreement, so you can use that as a reference point when reviewing other products. Request the version and configuration you run, and confirm the answer against the vendor's documentation.
How DeployOpen works on this
DeployOpen approaches pre-shared keys and post-quantum key exchange as two separate configuration questions, each tied to the protocol and product your team actually runs. We start from the protocol versions and key exchange groups in your environment, then scope the work in writing before any change is made. Each step is documented so your security and compliance teams can review what was configured and why.
How we scope
- We inventory which protocols, versions and key exchange groups your systems currently negotiate, including TLS 1.3, IKEv2 and SSH where they apply.
- We record which systems would use an external PSK, which would use a hybrid key exchange group, and which need both, in a written scope agreed before work starts.
- Engagements are fixed-scope, and ongoing support for PSK and key exchange settings is available as a retainer.
How we build
- We configure external PSK handling where your protocol supports it, checking the key schedule against the relevant RFC and your product's documentation.
- We enable hybrid key exchange groups only where your client and server versions are confirmed to negotiate them, and we test the handshake before rollout.
- We verify that PSK entropy and key storage meet the minimum the standard requires, and that no low-entropy password is used as a pre-shared key.
How we hand over
- We deliver a configuration record listing every protocol version, key exchange group and PSK setting applied, with the affected systems named.
- We document the negotiated groups and handshake results from testing, so reviewers can check what the live systems actually use.
- We list the open items where your vendor has not confirmed support, so your team knows what to verify with the product owner.
How we support
- We retest key exchange settings after upgrades, since client and server versions can change which groups are negotiated.
- We keep PSK rotation and storage procedures under review so that the configuration stays consistent with your key management practice.
- Retainer support covers ongoing upgrades and continuous testing of the handshake settings across the systems in scope.

