Skip to main content

Fortify, Don't Replace: A Post-Quantum Layer on Every tiCrypt Key by May 2027

· 19 min read
Tera Insights Team
Tera Insights Team
tiCrypt Team

On December 2, 2026, NSA advised the owners, operators, and vendors of National Security Systems to accelerate their transition to post-quantum cryptography immediately. On the same day, ONCD, NSA, and CISA stated that American AI companies have disclosed "discoveries that impact the security of some cryptography currently in use," and assessed that these advances "do not present an immediate and widespread threat to that cryptography."

Our response is to add a post-quantum layer and keep RSA. By the end of May 2027, every key that protects data in tiCrypt will be wrapped with RSA-2048, as it is today, inside ML-KEM-1024 (FIPS 203), in a FIPS 140-3 validated module. Recovering a key will then require breaking two unrelated problems: integer factorization and Module-LWE.

We layer instead of replacing because the threat is AI-accelerated cryptanalysis, not only quantum hardware, and it applies to both families of algorithms. The first published AI result of this kind is a quantum attack on the lattice problems under the post-quantum standards themselves. With two layers, a break of either family alone exposes no key. The post-quantum layer is insurance on top of RSA, not a substitute for it.

The transition re-wraps keys and decrypts no data, and it adds about 41 microseconds and 1.6 KB for each key. This article covers the federal guidance, the algorithm selection, the hardness assumptions, the re-wrapping method, measured performance, and the schedule.


Federal guidance​

  1. August 2024

    FIPS 203, 204, and 205 published

    FIPS 203 (ML-KEM, for key establishment), FIPS 204 (ML-DSA, for signatures), and FIPS 205 (SLH-DSA, for signatures).

  2. June 22, 2026

    Executive Order 14412

    Executive Order 14412, "Securing the Nation Against Advanced Cryptographic Attacks," has agencies move their high value assets and high-impact systems to post-quantum key establishment by December 31, 2030, and to post-quantum digital signatures by December 31, 2031. National Security Systems are handled separately. The order also directs the FAR Council to propose a rule that would "require covered contractors to comply by December 31, 2030, with NIST's FIPS," the post-quantum ones included, and directs NIST to speed up the validation of cryptographic modules.

  3. October 27, 2026

    NIST IR 8547 final

    NIST IR 8547 deprecates RSA and elliptic-curve public-key algorithms after 2030 and disallows them after 2035.

  4. November 13, 2026

    CMVP certificate #5586: ML-KEM validated

    The Cryptographic Module Validation Program issues certificate #5586 for the OpenSSL FIPS Provider, with ML-KEM, ML-DSA, and SLH-DSA on its list of approved algorithms. tiCrypt's cryptography already runs on the previous OpenSSL FIPS provider, certificate #4985.

  5. November 30, 2026

    AI-discovered quantum attack on module lattices

    Anthropic publishes four papers on lattices and states that "the results were discovered by an internal research Claude model." One paper describes a quantum algorithm against module-lattice problems, the family underneath ML-KEM and ML-DSA. The Cryptography Incident Review Group calls the scale of the attack "galactic" and concludes that it "falls far short of compromising the current NIST standards." The UK National Cyber Security Centre states that it "does not represent a threat to the standardised and deployed lattice-based post-quantum cryptography algorithms ML-KEM and ML-DSA."

  6. December 2, 2026

    Joint statement and NSA advisory

    • The joint statement: ONCD, NSA, and CISA report the disclosures quoted above, assess no immediate and widespread threat, and conclude that "it is incumbent upon industry and the government to work together to expeditiously upgrade our digital infrastructure."
    • The NSA advisory: "Immediate Actions to Push Toward Post-Quantum" tells National Security Systems to prioritize the CNSA 2.0 algorithms now. In NSA's words, "Delaying modernization exposes sensitive information, increases costs, and disrupts critical mission systems."
    • Industry: Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, and Oracle issue a joint statement in support. The next day Cloudflare moves its own deadline for being fully post-quantum from 2029 to 2027.
Scope

Neither U.S. document names the discoveries, the affected algorithms, or the companies, and no government document links them to the November 30 papers. The NSA advisory applies to National Security Systems. Most tiCrypt deployments are CUI enclaves under NIST SP 800-171 and CMMC, but the harvest-now, decrypt-later reasoning holds for any data with a long confidentiality lifetime.


Threat model: AI-accelerated cryptanalysis​

In June we published a technical analysis of the quantum threat to RSA-2048. Its conclusion stands. Shor's algorithm breaks RSA on paper, the machine that could run it at that scale does not exist, and the largest number factored that way is still 21.

What changed this month is not hardware. It is the rate at which new mathematics is found. The joint statement describes models that "solve some of the most complex and previously unsolved problems in the field of mathematics." The security of every public-key algorithm is exactly such a problem: the algorithm is safe only for as long as nobody finds a fast way to compute the private key from the public one.

  • The old algorithms can no longer be given decades: RSA had one known way to fail, the quantum computer, and a comfortable distance from it. A better algorithm needs no new hardware.
  • The new algorithms are not exempt: RSA has been attacked in public since 1977. The lattice problems under ML-KEM have been studied for about twenty years, and ML-KEM itself since 2017. The first publicly documented AI discovery in cryptanalysis is a new attack on that younger family. It is nowhere near practical. It is also a result that human cryptographers had not found.
  • Nobody can say where the next result will land: It may weaken the classical algorithms, the post-quantum ones, or neither.

Replacing RSA with ML-KEM would trade one bet for another. Putting ML-KEM around RSA makes two unrelated bets, and a key is exposed only if both are lost. The reviewers of the November 30 papers give the same advice in general form: "We recommend continuing the transition to post-quantum cryptography," and "We also encourage hybrids that combine schemes based on different mathematical foundations." Factoring and lattices are two different foundations.

The following table describes what each design survives.

EventRSA-2048 onlyML-KEM-1024 onlyRSA-2048 inside ML-KEM-1024
A quantum computer large enough to run Shor's algorithmExposedSafeSafe
A new classical attack on factoringExposedSafeSafe
A new attack on lattices, classical or quantumSafeExposedSafe
Both families brokenExposedExposedExposed

Algorithm selection: ML-KEM-1024​

The post-quantum layer is ML-KEM-1024, the largest parameter set of the Module-Lattice-Based Key-Encapsulation Mechanism that NIST standardized as FIPS 203. We picked it for the following reasons.

  • FIPS-validated: ML-KEM is the only post-quantum key-establishment algorithm that is a FIPS standard and is inside CMVP-validated modules. CMMC practice SC.L2-3.13.11 requires validated cryptography for CUI.
  • Same module family: Every operation that protects CUI in tiCrypt runs through the OpenSSL FIPS provider, certificate #4985. Certificate #5586, issued on November 13, 2026, is the same provider's newer validation and adds ML-KEM. tiCrypt still implements no cryptography of its own.
  • Independent of RSA: RSA rests on integer factorization and ML-KEM on Module-LWE. No known attack on one helps against the other, and Shor's algorithm does not apply to lattices.
  • Largest parameter set: ML-KEM-1024 is in NIST security category 5, the category of AES-256, which matches tiCrypt's uniform AES-256 policy. It is also the parameter set of CNSA 2.0. Against ML-KEM-768 it costs 8 microseconds and 480 bytes for each key.
  • Public-key encapsulation: Adding the layer needs only the recipient's public key, so the server can apply it to existing keys without being able to open them.
  • Replaceable: The outer layer can be swapped, or a third added, without touching the RSA layer or any data.

Hardness assumptions​

RSA-2048: integer factorization​

The public key is (N,e)(N, e) with N=pqN = pq for 1,024-bit primes pp and qq. The private key is d=e−1 mod φ(N)d = e^{-1} \bmod \varphi(N). A file key kk is wrapped as

c1=OAEP(k)e mod Nc_1 = \mathrm{OAEP}(k)^{e} \bmod N

Recovering dd from (N,e)(N, e) is equivalent to factoring NN. The best classical algorithm, the general number field sieve, runs in

exp⁡ ⁣((649)1/3(ln⁡N)1/3(ln⁡ln⁡N)2/3)\exp\!\left( \left(\tfrac{64}{9}\right)^{1/3} (\ln N)^{1/3} (\ln \ln N)^{2/3} \right)

which gives RSA-2048 a security strength of 112 bits. Shor's algorithm factors an nn-bit modulus in O(n3)O(n^3) quantum gates.

ML-KEM-1024: Module-LWE​

Let Rq=Zq[X]/(X256+1)R_q = \mathbb{Z}_q[X]/(X^{256}+1) with q=3329q = 3329, and let k=4k = 4. The public key is (A,t)(\mathbf{A}, \mathbf{t}) with

t=As+e,A∈Rqk×k,s,e∈Rqk\mathbf{t} = \mathbf{A}\mathbf{s} + \mathbf{e}, \qquad \mathbf{A} \in R_q^{k \times k}, \quad \mathbf{s}, \mathbf{e} \in R_q^{k}

where A\mathbf{A} is uniform and the coefficients of s\mathbf{s} and e\mathbf{e} lie in [−2,2][-2, 2]. Recovering s\mathbf{s}, 1,024 unknown coefficients, is the Module-LWE problem. With e=0\mathbf{e} = \mathbf{0} it is a linear system. The best known attacks use lattice reduction and take time 2Θ(n)2^{\Theta(n)} in the lattice dimension nn, on classical and quantum computers. NIST category 5 means at least the cost of AES-256 key search.

The November 30 quantum algorithm runs in quasi-polynomial time, 2O(log⁡cn)2^{O(\log^{c} n)}, on certain module-lattice problems. Its cost is estimated on the order of 2x2^{x} with x>1000x > 1000, against the 21282^{128} target of the smaller ML-DSA parameter set.

Layered security bound​

For each file key, the server stores (c2,w)(c_2, w):

c1=OAEP(k)e mod N(c2,K′)←Encaps(pkML-KEM)w=AESKWKDF(K′)(c1)\begin{aligned} c_1 &= \mathrm{OAEP}(k)^{e} \bmod N \\ (c_2, K') &\leftarrow \mathrm{Encaps}(pk_{\text{ML-KEM}}) \\ w &= \mathrm{AESKW}_{\mathrm{KDF}(K')}(c_1) \end{aligned}

The two key pairs are independent. Recovering kk requires K′K' to obtain c1c_1, and then inverting RSA on c1c_1:

Pr⁡[recover k]  ≤  min⁡(εRSA, εML-KEM+εAES)\Pr[\text{recover } k] \;\le\; \min\big(\varepsilon_{\text{RSA}},\ \varepsilon_{\text{ML-KEM}} + \varepsilon_{\text{AES}}\big)

where each ε\varepsilon is the adversary's advantage against that primitive alone. File content remains under AES-256, where Grover's algorithm reduces key search from 22562^{256} to 21282^{128} operations.

Complexity: P, NP, and NP-completeness​

Neither assumption is a theorem.

  • P = NP breaks both, because solutions are verifiable in polynomial time. P ≠ NP implies neither, because cryptography needs average-case hardness.
  • Factoring is in NP ∩ co-NP and in BQP. It is NP-complete only if NP = co-NP.
  • Exact SVP is NP-hard under randomized reductions (Ajtai, 1998). Worst-case GapSVP at factor O~(n/α)\tilde{O}(n/\alpha) reduces to LWE with error rate α\alpha (Regev, 2005), and worst-case problems on module lattices reduce to Module-LWE (Langlois and Stehlé, 2015). GapSVP at factor n\sqrt{n} is in NP ∩ co-NP (Aharonov and Regev, 2005). The reductions are asymptotic and do not cover ML-KEM's concrete parameters.
  • Unstructured search requires Ω(N)\Omega(\sqrt{N}) quantum queries (Bennett, Bernstein, Brassard, and Vazirani, 1997), so Grover's algorithm is optimal against AES-256.
ProblemComplexityClassical attackQuantum attack
Factoring (RSA-2048)NP ∩ co-NP, BQPSub-exponential (GNFS), 112 bitsO(n3)O(n^3) (Shor)
Module-LWE (ML-KEM-1024)GapSVP at factor n\sqrt{n} in NP ∩ co-NP2Θ(n)2^{\Theta(n)}, category 5Lattice reduction, 2Θ(n)2^{\Theta(n)}. Quasi-polynomial on certain module-lattice problems, impractical at these sizes.
Key search (AES-256)Unstructured search22562^{256}21282^{128} (Grover, optimal)

No deployed public-key scheme has a hardness proof. The layered construction fails only if both conjectures fail.


Re-wrapping without decryption​

tiCrypt encrypts each file and drive with its own AES-256 key, and wraps that key with the RSA-2048 public key of every user who may open it. The data and the wrapped key are separate objects. The transition changes only the second one.

Today RSA-OAEP(file key) 256 bytes

May 2027 ML-KEM-1024 ciphertext 1,568 bytes
AES-256-KW(RSA-OAEP(file key)) 264 bytes
-----------
1,832 bytes

The AES-256 wrapping key is derived from the
shared secret inside the ML-KEM ciphertext.
  1. Each user receives an ML-KEM-1024 key pair: The client generates it at the first sign-in after the update, in 34 microseconds. The private key stays on the client, in the same password-protected key file as the RSA private key, and is escrowed with it where escrow is in use. The public key goes to the server, signed into the same chain of trust that protects RSA public keys today.
  2. The server adds the outer layer to existing keys: For each stored RSA-wrapped key, the server encapsulates to the user's ML-KEM public key and wraps the existing RSA ciphertext. This needs only public keys. The server is handling an RSA ciphertext that it cannot open, before, during, and after.
  3. New keys are created with both layers: From the same release, clients wrap every new file key, drive key, and share with RSA and then with ML-KEM.
  4. Clients read both formats: A key that has not been re-wrapped yet opens exactly as it does today.

Invariants:

  • No file or drive is decrypted or re-encrypted: The AES-256 keys and the ciphertext they produced are not touched. The work is proportional to the number of keys, not to the amount of data. A deployment that holds a petabyte of files re-wraps its key records and reads none of the files.
  • No private key leaves a client: The server gains no ability to read anything. The zero-knowledge property is unchanged.
  • No downtime and no coordinated action: The re-wrap runs in the background while the system is in use. Users do not have to be online for their existing keys to be re-wrapped, once they have signed in one time to create the new key pair.
  • Nothing is locked into ML-KEM: If the outer algorithm ever needs to change, the outer layer is the only thing replaced, and the RSA layer keeps every file key sealed while that happens. The June article describes that procedure.

Operational consequences:

  • A user who never signs in keeps RSA-only keys: The server cannot seal a key to a public key that does not exist yet. Keys wrapped for a dormant account stay in today's format until that user signs in. Treat it as one more reason to deactivate accounts that are no longer used.
  • Old database backups keep the old records: A backup taken before the re-wrap still holds RSA-only wrapped keys. The live system is fortified when the re-wrap finishes. Your archive is fortified when those backups expire.

Performance​

We measured the layered construction against today's RSA-only wrapping.

The following table describes what a user's client does, for one key, on one CPU core.

OperationTodayWith the ML-KEM-1024 layerAdded
Open a file (unwrap its key)309 µs350 µs41 µs
Share a file (wrap its key for one recipient)9.8 µs40 µs30 µs
Create a user's key pair (once for each user)23.6 ms23.6 ms0.034 ms
Decrypt 1 GiB of file content (AES-256-CBC)104 ms104 msNone
Encrypt or decrypt drive and session trafficUnchangedUnchangedNone

Opening a 1 GiB file spends 104 milliseconds on AES and 0.35 milliseconds on its key. The new layer adds 0.04 milliseconds to the second number. Nothing a user does becomes measurably slower, because the bulk work was never public-key cryptography in the first place.

The following table describes the algorithms themselves.

RSA-2048ML-KEM-768ML-KEM-1024
Key generation23,600 µs22 µs34 µs
Public-key operation (encrypt or encapsulate)9.8 µs15 µs20 µs
Private-key operation (decrypt or decapsulate)309 µs23 µs31 µs
Public key256 B1,184 B1,568 B
Ciphertext256 B1,088 B1,568 B
Private keyAbout 1.2 KB2,400 B3,168 B
Security112 bitsCategory 3Category 5

ML-KEM's private-key operation is ten times faster than RSA's. A design that replaced RSA would make opening a file faster. Ours adds to RSA, so it is 41 microseconds slower.

The real cost is bytes, not time.

TodayWith the ML-KEM-1024 layer
One wrapped key record256 B1,832 B
One million wrapped keys0.26 GB1.83 GB
Keys for a 1 GiB file shared with five users1.3 KB9.2 KB

Plan for the wrapped keys in the database to grow about sevenfold. For a deployment with a few million key records, that is a few gigabytes.

The following table describes the one-time re-wrap of existing keys.

Wrapped keys in the deploymentCryptographic work, one core
1 million30 seconds
10 million5 minutes
100 million50 minutes

The server adds the outer layer to about 33,000 keys per second on one core. Reading and writing the records in the database will take longer than the cryptography.

VM sessions: today's handshake costs about 67 microseconds of key agreement across both sides, for ECDH on P-256. Adding ML-KEM-1024 brings it to about 152 microseconds and adds 3.1 KB to the handshake, once for each connection. Session traffic stays on AES-256-GCM.


Timeline​

  1. December 2026

    Design published

    The algorithm, the construction, and the validated module are chosen and published in this article.

  2. By the end of March 2027

    Validated module and dual-layer wrapping of new keys

    Client and VM controller releases are built on the validated module with ML-KEM. Every user receives an ML-KEM-1024 key pair at the next sign-in. Every new file key, drive key, and share is created with both layers.

  3. By the end of May 2027

    Existing keys re-wrapped, transition complete

    The server re-wraps every existing key with the ML-KEM-1024 layer. VM session key agreement combines ECDH P-256 with ML-KEM-1024. The Cryptographic Modules page, the System Security Plan, and the whitepaper carry the new certificate.

  4. Next phase

    Post-quantum signatures

    ML-DSA alongside RSA-PSS, on the same principle of adding and not replacing. We will publish that schedule when the key transition ships.

tiCrypt is software that you run. These are the dates on which we ship. Your deployment completes the transition when you have installed those releases and its re-wrap has finished.


Scope by operation​

OperationCurrentAfter transition
File keys, drive keys, and sharesRSA-OAEP, RSA-2048RSA-OAEP inside ML-KEM-1024
Key escrowKey parts encrypted to the RSA-2048 keys of escrow membersThe same, inside ML-KEM-1024
Files arriving by SFTP and inboxFile key wrapped to the recipient's RSA-2048 keyWrapped with both layers
VM session key agreementEphemeral ECDH on P-256ECDH on P-256 and ML-KEM-1024, both secrets into the same HKDF. Forward secrecy is kept.
File content, drive content, session trafficAES-256Unchanged. A quantum computer leaves AES-256 with 128 bits of security.
Private key filePBKDF2 and AES-256Unchanged. It holds two private keys instead of one.
Audit log integritySHA-512 hash chainUnchanged. Hash functions are not affected.
Signatures: sign-in, the chain of trust, handshake authenticationRSA-PSSRSA-PSS for now, with ML-DSA to be added alongside it in the next phase
TLS: the HTTPS endpoint and tiCrypt Connect tunnelsECDHE key exchangeHybrid ML-KEM key exchange in TLS 1.3, as the validated modules on each side support it

Two notes on the order of work.

  • Keys come before signatures because keys can be harvested: A wrapped key or a recorded key exchange can be stored today and attacked years from now. A signature cannot be forged retroactively: forging a sign-in needs the break to exist at the moment of the attack. That is why Executive Order 14412 sets its deadline for key establishment a year ahead of its deadline for signatures.
  • TLS is the second envelope: File content, keys, and VM session traffic are encrypted by the client before they enter a TLS connection. Requests and metadata, such as file names, are protected in transit by TLS alone. The HTTPS endpoint is NGINX on your backend host, running on your operating system's validated module, so post-quantum key exchange there arrives with your operating system vendor's module.

Conclusion​

By the end of May 2027, every file key, drive key, share, and escrow key part in tiCrypt will be wrapped with RSA-2048 inside ML-KEM-1024, and VM session keys will combine ECDH P-256 with ML-KEM-1024. Recovering a key will then require breaking both integer factorization and Module-LWE. The transition re-wraps keys, decrypts no data, and adds about 41 microseconds for each key. Every step is an approved method in a FIPS 140-3 validated module, the OpenSSL FIPS Provider under certificate #5586: ML-KEM (FIPS 203), key derivation (NIST SP 800-56C), AES key wrap (NIST SP 800-38F), and RSA-OAEP (NIST SP 800-56B). A deployment therefore stays within FIPS-validated cryptography before, during, and after the transition, and its keys meet the 2030 dates of NIST IR 8547 and Executive Order 14412 more than three years early. On upgrade, the certificate cited in a System Security Plan changes from #4985 to #5586. Post-quantum signatures follow on the same principle. No action is required on a deployment today.