On December 1, 2026 the NSA published a Cybersecurity Advisory, Immediate Actions to Push Toward Post-Quantum, listing interim steps between planning and a completed transition to post-quantum cryptography, with CNSA 2.0 as the reference for National Security Systems. Many organizations outside that scope follow NSA guidance as well. For them, file transfer is part of the inventory the advisory asks for: SFTP, FTPS and HTTPS connections often carry data that must stay confidential for years, such as contracts, health records and financial data.
In short:
- The NSA advisory lists immediate actions toward post-quantum cryptography, beginning with an inventory of the algorithms in use and with TLS 1.3.
- SFTPGo uses a post-quantum hybrid key exchange by default for SFTP and TLS 1.3, and SSH host and user keys can use post-quantum ML-DSA signatures.
- Most of the remaining work is on the client side: clients without post-quantum support keep working, with classical algorithms.
This post explains the problem in plain terms, summarizes what the advisory asks for, and describes what SFTPGo supports today, what it does not, and how to configure it.
Post-quantum cryptography in plain terms
An encrypted connection, such as an SFTP or HTTPS session, relies on two mechanisms. First, the two parties establish a shared secret key that encrypts the data they exchange: this is the key exchange. Second, the server proves its identity to the client with a digital signature, so the client knows it is talking to the legitimate server; in SSH, users can authenticate with a signature as well.
The key exchanges and signatures in use today rely on mathematical problems that a sufficiently powerful quantum computer could solve. No such computer is publicly known to exist. The risk is already present for the key exchange: encrypted traffic can be recorded now and decrypted once that computer exists. This is known as "harvest now, decrypt later", and it concerns the data that must stay confidential for years.
Signatures face a different threat: to impersonate a server, an attacker must forge a valid signature while the connection is being established, and recorded traffic does not help. Replacing the signature algorithms is part of the transition, but the key exchange comes first.
Post-quantum algorithms rely on different mathematical problems, currently believed to resist both classical and quantum computers. In 2024 NIST standardized ML-KEM (FIPS 203) for key exchange and ML-DSA (FIPS 204) for signatures. In SSH and TLS, ML-KEM is deployed in hybrid form, combined with a classical key exchange, like two locks on the same door: the combination is designed so that an attacker has to break both to recover the shared key.
What the NSA advisory asks for
The advisory lists six actions, ordered to put the quick wins with the broadest reach first:
- Inventory where cryptography is used, recording the algorithms for key establishment, signatures and certificates, and checking in particular for algorithms not approved in CNSA 2.0 or CNSA 1.0, such as DSA, elliptic curves other than P-384 or P-521 for ECDH or ECDSA, EdDSA, and deprecated Diffie-Hellman groups.
- Move TLS services to TLS 1.3, enabling the post-quantum settings where available, configured according to RFC 10024 when a hybrid key exchange is needed, and removing the weaker elliptic-curve and Diffie-Hellman options.
- Stand up post-quantum certificate authorities and roots of trust, using RSA 3072 or P-384 as the base size for roots.
- Replace or reconfigure certificates, PKI and code signing that rely on deprecated algorithms.
- Update software to enable post-quantum cryptography, and then configure each product to use the approved profile exclusively: "Do not leave non-PQC defaults in place."
- Triage the systems that cannot be upgraded and add live detection of the weak cryptography still in use.
For a detailed analysis of the advisory, see Filippo Valsorda's analysis.
Post-quantum algorithms in SFTPGo
| Protocol | Post-quantum algorithms | Default |
|---|---|---|
| SSH (SFTP, SCP) key exchange | mlkem768x25519-sha256: ML-KEM-768 combined with X25519 |
Enabled |
| SSH host and user keys | ML-DSA: ssh-mldsa-44, ssh-mldsa-65, ssh-mldsa-87, and the hybrid ssh-mldsa44-ed25519 |
Enabled; an ssh-mldsa44-ed25519 host key is generated with the other default keys |
| TLS 1.3 key exchange (WebAdmin, WebClient, REST API, WebDAV, FTPS) | X25519MLKEM768, SecP256r1MLKEM768, SecP384r1MLKEM1024 |
Enabled |
| PGP actions (encryption of stored files) | Post-quantum keys combining ML-KEM with X25519 and ML-DSA with EdDSA | Applies when the configured keys are post-quantum |
SFTPGo's SSH server builds on golang.org/x/crypto/ssh, the Go project's library, which I
maintain and where I worked on the ML-KEM key exchange and the ML-DSA keys. SFTPGo has used the ML-KEM
key exchange since April 2025 and
supports ML-DSA keys since
v2.8.20261130,
released on November 30, 2026: with them, post-quantum algorithms cover both the key exchange and the
authentication of SSH connections. The key exchanges in the table are hybrid, as they are the ones SSH and
TLS clients implement; for SSH keys, SFTPGo supports both pure ML-DSA and the hybrid
ssh-mldsa44-ed25519 that OpenSSH implements.
The algorithms are negotiated on each connection, and the client has to support them
too. A client with post-quantum support gets it automatically; any other client keeps working
with the classical algorithms, without post-quantum protection. Current browsers already use
X25519MLKEM768 with the WebAdmin and the WebClient.
In practice: with an up-to-date SFTPGo, clients with post-quantum support already use a post-quantum key exchange, with no configuration change. What is left is mostly on the client side, and support varies across clients and libraries, recent versions included. Scripts, integrations and libraries used for automated transfers are often updated less frequently than interactive clients, and they are the place to look first.
Configuring SFTPGo for post-quantum cryptography
The steps follow the six actions of the advisory, in the same order. With a version older than v2.8.20261130, start from the upgrade in step 5.
1. Take the inventory
SFTPGo logs the negotiated algorithms of each connection: the SSH login log records the key exchange,
the host key algorithm and, for public key logins, the signature algorithm of the user key; the FTPS
login log records the TLS version and key exchange; the HTTPS and WebDAV request logs record them in
the tls_ver and kex fields, at the debug level for successful
requests. They show which clients already use post-quantum algorithms and which ones still need an
upgrade. See
Logs.
2. Move to TLS 1.3
On TLS 1.3, the WebAdmin, WebClient, REST API, WebDAV and FTPS use the post-quantum key exchanges
listed above by default. To refuse the older TLS versions, set min_tls_version to
13 on the HTTPS, WebDAV and FTPS bindings, once the inventory shows that the clients
support it. SFTPGo offers the post-quantum key exchanges together with the classical ones: clients that
support post-quantum key exchange use it, the others a classical one. The TLS key exchange list does not
have a setting to remove the classical options.
3. Certificate authorities
SFTPGo uses TLS certificates and does not issue them: this action applies to the certificate authority that issues them, whether it is run by your organization or reached through ACME.
4. Replace certificates and keys
Certificates obtained through ACME use the key type set in key_type. Set it to
P384, the curve CNSA 1.0 approves for ECDSA: each certificate gets the new key type at its
next renewal. See
ACME.
The certificate signs the connection and does not protect recorded traffic: this step aligns with
CNSA 1.0, the protection against "harvest now, decrypt later" comes from the key exchange.
In SSH, host keys and user keys take the role of certificates. Clients that support
ssh-mldsa44-ed25519 authenticate the server with the hybrid host key generated at startup.
To use a pure ML-DSA host key, such as ML-DSA-65 or ML-DSA-87, generate it with OpenSSL 3.5 or later and
add it to the host keys, as described in
Host keys.
Users with a supporting client can add an ML-DSA public key to their account like any other key.
5. Upgrade and restrict the algorithms
With v2.8.20261130 or later, the post-quantum algorithms are enabled by default: clients that support
them use them, with no configuration change on the server. In SSH the client chooses, among the
algorithms both sides support, the first one in its own order of preference, so the order of the
server's lists does not decide which algorithm is used. If you set custom algorithm lists in the past,
check that they include mlkem768x25519-sha256 and the ML-DSA algorithms.
The advisory then asks not to leave non post-quantum defaults in place. After each restriction, the clients that lack the corresponding algorithm can no longer connect, so apply it only where the inventory shows that the clients are ready:
- set the SSH
kex_algorithmstomlkem768x25519-sha256in the configuration file; - limit the SSH host key and user key algorithms to the ML-DSA ones, in the same section: today this fits environments where every client supports ML-DSA keys.
6. Triage and live detection
Clients without post-quantum support keep working as long as the classical algorithms stay enabled: the inventory identifies them for the mitigation plan the advisory asks for, and the restrictions of step 5 wait until they are replaced. The logs keep reporting the algorithms in use after each change, and can feed the live detection of the weak cryptography still in use. The clients refused after a restriction show up in the logs: SSH clients in the connection failed logs, HTTPS and WebDAV clients as TLS handshake errors. With the audit logs enabled, the WebAdmin also lists the refused SSH clients as "Algorithm negotiation failed" events, searchable by IP address and time.
SFTPGo and CNSA 2.0
For National Security Systems, the advisory refers to CNSA 2.0, which specifies the largest parameter
sets: ML-KEM-1024 for key exchange and ML-DSA-87 for signatures. On TLS 1.3, SFTPGo offers
ML-KEM-1024 in the SecP384r1MLKEM1024 hybrid. For SSH, ML-DSA-87 is available for host and
user keys, with the clients that support pure ML-DSA, while the key exchange uses ML-KEM-768, in the
mlkem768x25519-sha256 hybrid.
Availability
Everything described here is available in SFTPGo Enterprise v2.8.20261130, and our SaaS instances already run it. The FIPS 140-3 builds include the post-quantum key exchanges for SSH and TLS 1.3; the ML-DSA keys are available in the standard builds. The full list of algorithms and settings is in the documentation.
The NSA does not endorse commercial products: this post describes how SFTPGo's features relate to the actions in the advisory.