Which file and database encryption standards are settled for post-quantum keys
If you hold encrypted files or database keys that must stay readable for years, the standards picture is now partly settled. The sources list two finished IETF standards that use ML-KEM: RFC 9980, Post-Quantum Cryptography in OpenPGP, dated June 2026, and RFC 9936, Use of ML-KEM in the Cryptographic Message Syntax (CMS), dated March 2026. The post-quantum draft for HPKE, draft-ietf-hpke-pq, is still in progress, and its latest version is dated 6 July 2026 with no RFC status yet listed. Data owners, backup and archive teams, and application developers who wrap data keys should treat OpenPGP and CMS as the standards to plan around, and HPKE as the one still moving.
The groups affected differ. Data owners need to know which of their encrypted files use OpenPGP or CMS formats, since those now have published post-quantum key types to adopt. Backup and archive teams that depend on long-lived wrapping keys should note that RFC 9980 requires support for ML-KEM-768 paired with X25519 and ML-DSA-65 paired with Ed25519, and that the sources describe SLH-DSA as optional and only as a standalone signature scheme. Application developers who wrap data keys using HPKE should not assume a finished post-quantum profile exists yet. Confirm in your own environment which key types, IDs and versions your libraries implement before relying on them.
The practical next step is an inventory. For each encrypted store, identify the format (OpenPGP, CMS, HPKE-based or proprietary), the key exchange or wrapping algorithm in use, and whether the library you depend on has shipped support. Where the sources say a standard is still in draft, such as HPKE, plan for a later migration window rather than committing to a format that may change. Check the current IETF status of each document directly, since the status recorded here is dated and drafts can advance or expire.
Where file and database encryption uses public-key algorithms today
This table maps each common encryption layer to the public-key operation it uses today and whether post-quantum work touches that operation. Data encryption with AES is symmetric and is not listed as a public-key step, so the rows focus on how data keys are exchanged, wrapped or encapsulated. Read the last column to see which layers have published post-quantum specifications and which are still being defined.
| Layer | Public-key operation today | Post-quantum work touching it |
|---|---|---|
| OpenPGP file encryption | Public-key encryption of the session key to each recipient, using RSA or ECDH keys | RFC 9980 (June 2026, Proposed Standard) defines ML-KEM-768 with X25519 and ML-KEM-1024 with X448 for OpenPGP encryption |
| CMS-encrypted content | Key transport or key agreement that protects the content encryption key for each recipient | RFC 9936 (March 2026, Proposed Standard) covers ML-KEM-512, ML-KEM-768 and ML-KEM-1024 in CMS, without hybrid schemes |
| HPKE-based file tools like age | Public-key encapsulation of a file key to each recipient, using X25519 in classic recipients | draft-ietf-hpke-pq-05 (July 2026) is still a working group draft, and age v1.3.0 ships hybrid ML-KEM-768 recipients |
| Database TLS key exchange | Named-group key exchange for each connection, with X25519 as the default group | PostgreSQL 19 sets groups through ssl_groups, but the sources listed do not say which post-quantum groups are supported by default |
| Cloud KMS wrapping of data keys | Public-key or RSA-based wrapping of data encryption keys held in the provider's key service | AWS KMS says it is tracking the PQ-HPKE draft as a replacement for RSA-based encryption, with no final standard named |
| AES data encryption | None, because AES encrypts the data itself with a shared symmetric key | NIST says current applications can continue to use AES with 128, 192 or 256-bit keys, so this layer is not the focus of migration |
What the IETF and NIST have published, and at what status
The most direct standards answer for file and database encryption is RFC 9980, Post-Quantum Cryptography in OpenPGP, published in June 2026 as a Proposed Standard on the IETF Standards Track. It requires implementations to support ML-KEM-768 with X25519 and ML-DSA-65 with Ed25519, says they should support ML-KEM-1024 with X448 and ML-DSA-87 with Ed448, and makes SLH-DSA optional. Teams that use OpenPGP-based encryption for files should confirm which algorithm IDs their tools implement, since the RFC's required set is what interoperable implementations are expected to share. The RFC gives ML-KEM-768 a public key of 1184 octets and a ciphertext of 1088 octets, which matters for size limits in file headers and key storage. Check the exact RFC text at RFC 9980 before relying on these values.
For CMS-based stores, RFC 9936, Use of ML-KEM in the Cryptographic Message Syntax (CMS), is a Proposed Standard dated March 2026. It covers ML-KEM-512, ML-KEM-768 and ML-KEM-1024 and does not cover hybrid schemes, so a CMS-based encryption product that needs a classical fallback will not find one in this document. It requires HKDF with SHA-256, and AES-Wrap-128 for ML-KEM-512 or AES-Wrap-256 for ML-KEM-768 and ML-KEM-1024. Teams should ask their vendor whether they implement RFC 9936 exactly and whether hybrid mode is offered separately. The HPKE work is still at an earlier stage: draft-ietf-hpke-pq-05, dated 6 July 2026, is in the WG Document state with no intended RFC status listed. Treat it as a draft and do not assume it is settled for production use. Full details are at the IETF datatracker entry.
On the NIST side, FIPS 203 defines ML-KEM, and NIST SP 800-227, Recommendations for Key-Encapsulation Mechanisms, was finalized on 18 September 2025. SP 800-227 describes how a KEM lets two parties agree on a shared secret that can then protect symmetric encryption, which is the pattern data-at-rest tools use to wrap data keys. NIST IR 8547, Transition to Post-Quantum Cryptography Standards, is listed as Final, with a history entry dated 10/27/26 after a November 2024 draft. Use IR 8547 as the planning reference for transition timelines, and confirm which parts of it apply to your sector and contracts with your compliance team.
Which encryption tools, cloud services and databases have shipped support
The age file encryption tool is the clearest example of post-quantum support that has shipped in a file format. Release v1.3.0 states that age "now has native post-quantum recipients based on HPKE with a hybrid ML-KEM-768 KEM." Recipients carry the prefix age1pq1, and identities carry the prefix AGE-SECRET-KEY-PQ-1. The hybrid construction combines ML-KEM-768 with a classical component, so the file is protected by both. The format specification is published at age-encryption.org/v1, as the age README states.
- Release: age v1.3.0 is the release that added post-quantum recipients.
- Recipient prefix: Recipients begin with
age1pq1, so you can tell a post-quantum recipient from a classical one by its string. - Identity prefix: Identities begin with
AGE-SECRET-KEY-PQ-1, which means private keys for these recipients look different from classical age keys. - Algorithm: The KEM is hybrid ML-KEM-768 built on HPKE, as the release describes.
- Specification: The format is documented at age-encryption.org/v1.
Before relying on this in a workflow, confirm the age version on every machine that encrypts or decrypts, and test that older clients reject or handle age1pq1 recipients as you expect.
AWS KMS documents its post-quantum work in a way that separates what is in progress from what is shipped. AWS states it is closely tracking the IETF PQ-HPKE draft, and it presents that draft as a PQ-safe replacement for RSA-based encryption. The IETF draft, draft-ietf-hpke-pq, is still a working group document with no intended RFC status listed, so the approach is not yet a published standard. AWS also says a direct Encrypt API for ML-KEM keys would bundle encapsulation, key derivation and AES-GCM. The sources do not say that this API has shipped, so treat it as a stated plan.
- IETF draft status: draft-ietf-hpke-pq-05 is dated 6 July 2026, sits in the WG Document state and expires 7 January 2027.
- Scope of the draft: It defines HPKE KEMs based on post-quantum algorithms and on hybrids of post-quantum and traditional KEMs, plus a SHA-3-based key derivation function.
- AWS position: AWS is tracking the draft and names it as the basis for a PQ-safe replacement of RSA-based encryption.
- Planned API: A direct Encrypt API for ML-KEM keys is described as a plan, with encapsulation, key derivation and AES-GCM bundled together.
- Stated threat: AWS describes harvest now, decrypt later and says the risk is relevant to data that must stay secure for many years.
Ask AWS, or check its current KMS documentation, for the release status of any ML-KEM key type or Encrypt operation in your region before you design around it. Ask other cloud providers the same question, since the sources here cover AWS only.
PostgreSQL's post-quantum relevance in the sources is limited to TLS key exchange. The PostgreSQL 19 documentation describes the ssl_groups setting, which sets the named groups for TLS key exchange. Its default is X25519:prime256v1. Before PostgreSQL 18.0 the setting was called ssl_ecdh_curve and accepted a single value. The sources list no post-quantum default for ssl_groups, so the defaults shipped in PostgreSQL 19 remain classical.
- Setting name:
ssl_groupsin PostgreSQL 19, formerlyssl_ecdh_curvebefore 18.0. - Default value:
X25519:prime256v1, which is a classical key exchange group. - Single value before 18.0: The older
ssl_ecdh_curvesetting accepted only one value. - No listed PQ default: The sources do not list a post-quantum group as a default.
- Scope: The setting governs TLS key exchange between client and server, not encryption of data at rest inside the database.
To check whether a post-quantum group is available to you, look at the groups your TLS library and PostgreSQL build actually support, and set ssl_groups explicitly. Confirm the behavior of your own PostgreSQL version against its documentation.
Several products in this topic have published nothing that the sources cover. The sources do not describe post-quantum support for Microsoft SQL Server, MySQL, MongoDB, Oracle Database, or the disk and volume encryption tools most teams run, such as LUKS or BitLocker. They also do not describe post-quantum support in the major key management services of other cloud providers. A silence in these sources is not evidence that a product lacks support, only that this page cannot confirm it.
- Database engines: The sources list no post-quantum support for SQL Server, MySQL, MongoDB or Oracle Database.
- Disk encryption: The sources do not cover full-disk or volume encryption tools.
- Other cloud providers: Only AWS KMS is covered, so other providers' key management services are unverified here.
- Standards gaps: NIST SP 800-227 covers key-encapsulation mechanisms in general and does not name these products.
- Hybrid and classical defaults: Where a product does ship a hybrid option, check whether it is enabled by default.
For each product you run, ask the vendor for its written post-quantum support status, the version where it appeared, and whether it is on by default. Record the answers in your inventory before planning the change.
What changes in key sizes and compatibility when ML-KEM is used
ML-KEM and SLH-DSA change the bytes that encrypted files, headers and stored keys carry, and the newer profiles do not work with older clients by default. Each card below ties one change to what it does to storage, file headers or client upgrades, and what to confirm before rollout.
ML-KEM-768 key and ciphertext sizes
RFC 9980 gives ML-KEM-768 a public key of 1184 octets and a ciphertext of 1088 octets. Each encrypted recipient entry therefore carries a ciphertext of that length in addition to the wrapped data key, so a file with many recipients grows by roughly that amount per recipient. Check how your format stores recipient stanzas and whether your backup and archive sizing assumes the classical key and ciphertext lengths. Confirm the sizes for the exact version you run, since they are set by the RFC for its profile.
RFC 9980 textML-KEM-1024 key and ciphertext sizes
RFC 9980 gives ML-KEM-1024 a public key of 1568 octets and a ciphertext of 1568 octets, both larger than the ML-KEM-768 figures. The higher parameter set is the one RFC 9980 says implementations should support alongside ML-DSA-87 and Ed448. Storage for each recipient or wrapped key grows with the set you choose, so pick a parameter set before you size headers and database columns. Confirm which set your library and format default to.
RFC 9980 textSLH-DSA signatures are larger and slower
RFC 9980 defines SLH-DSA as a standalone signature scheme with optional support, and notes its signatures are larger and signing much slower than ML-DSA. Signed file manifests, document envelopes and stored audit records that adopt SLH-DSA will grow in size and take longer to produce, which matters for batch jobs and high-volume writes. Check the signing throughput your pipeline needs and confirm the SLH-DSA variant your tooling supports before choosing it over ML-DSA.
RFC 9980 textHybrid profiles do not interoperate by default
RFC 9936 covers ML-KEM for CMS without hybrid schemes, while RFC 9980 and the hybrid profiles pair ML-KEM with classical key agreement such as X25519. Files or messages produced under one profile may not be readable by a client that implements only the other, so the two ends must agree on a profile before data is written. Plan client upgrades in order, check which profile each library and service you rely on uses, and confirm compatibility for the versions you run before enabling a new recipient type.
RFC 9936 textHow to plan the move to post-quantum key wrapping, in order
This sequence gives data and application owners a dated, checked record of where public-key algorithms wrap data keys, which standards and products support them, and how stored keys will be rewrapped. Each step produces an artifact that the next one depends on.
Inventory every public-key data key wrap
Data owners and platform engineers list each place a data encryption key is wrapped with a public-key algorithm: file encryption tools, database TLS and key exchange settings, and key management services. Record the component, its version, the algorithm used today and the key or certificate it relies on. The step is done when every wrap point has a row in the inventory and a named owner. Symmetric-only layers, such as AES-256 used directly on data, are noted separately because the sources treat them differently from key wrapping.
Test a post-quantum recipient in a copy
Engineers create a non-production copy of one representative workload and test a post-quantum recipient or key against it. For age, the v1.3.0 release adds native post-quantum recipients based on HPKE with a hybrid ML-KEM-768 KEM, with recipients prefixed age1pq1 and identities prefixed AGE-SECRET-KEY-PQ-1. For PostgreSQL 19, check the ssl_groups setting, which defaults to X25519:prime256v1 and replaced ssl_ecdh_curve in 18.0. The step is done when the test copy decrypts correctly and the test results, including any size or performance change, are recorded.
Ask each vendor which standard it follows
Send each vendor in the inventory a written question asking which RFC or draft its post-quantum support follows, the release date of that support, and which parameter sets it offers. Standards status differs by format: RFC 9980 for OpenPGP is a Proposed Standard dated June 2026, RFC 9936 for CMS is a Proposed Standard dated March 2026, and draft-ietf-hpke-pq-05 is still a working group draft that expires 7 January 2027. Ask whether the vendor's support follows the draft or a final document. The step is done when each vendor has answered in writing and each answer is filed with the inventory.
Plan rewrapping of stored data keys
Data owners plan how existing stored keys will be rewrapped once a vendor's post-quantum support is confirmed, and map the key hierarchy so that the wrapping of each data key and key encryption key is clear. Ask KMS providers how they handle rewrapping and whether they expose a direct encryption API for post-quantum keys. AWS KMS states that it tracks the IETF PQ-HPKE draft, and that a direct Encrypt API would bundle encapsulation, key derivation and AES-GCM. The step is done when the rewrapping order, the owner of each key and the fallback for keys that cannot be rewrapped are written down.
Record decisions and versions in the register
The data protection owner adds each decision, algorithm, standard reference and component version to the data protection register, and sets a date for the next review. Include the NIST standards the plan relies on: FIPS 203 for ML-KEM, FIPS 204 for ML-DSA and FIPS 205 for SLH-DSA, with SP 800-227 for key-encapsulation recommendations. Record the status of each source as the sources state it, including the drafts that are still open. The step is done when the register lists every wrap point with its standard, version and decision, and an independent reviewer has confirmed the entries.
Which risks to notice while the drafts are still moving
Several of the standards covering encryption at rest are still in draft or cover only part of the design space. The four risks below are where a configuration or a vendor answer can look settled when it is not, so they are worth checking before any key format or library choice is locked in.
A draft can change before it becomes an RFC
The HPKE post-quantum work, draft-ietf-hpke-pq-05, is dated 6 July 2026 and is still in the Working Group Document state with no intended RFC status listed. It expires on 7 January 2027, so the wire format and identifiers could still change before publication. When a vendor or library cites this draft, check whether it names a draft version number. A version pin in a config or a dependency lockfile is the clearest sign the team knows which text it is building against, and an unpinned reference means the behavior may move under you.
HPKE draft trackerHybrid and pure ML-KEM profiles differ
RFC 9936 covers ML-KEM-512, ML-KEM-768 and ML-KEM-1024 in the Cryptographic Message Syntax, and it does not cover hybrid schemes. A system that advertises ML-KEM in CMS may therefore be using a pure profile with no classical component, or it may be using a hybrid that this RFC does not define. Ask which exact profile is configured and which document defines it. Do not assume that a hybrid name and a pure name interoperate, because the sources do not establish that and you should confirm compatibility for the versions you run.
RFC 9936 textHarvest now, decrypt later for long-lived data
AWS's KMS documentation describes harvest now, decrypt later: an adversary records protected data today and attacks it once quantum computers exist. AWS says this risk is particularly relevant to data that must stay secure for many years. For each dataset, write down how long it must remain confidential. Data with a long confidentiality period, such as archived records or backups kept for decades, needs its key exchange or key wrapping reviewed sooner than data with a short retention window, even though the symmetric data encryption itself is not the main concern.
AWS KMS PQ keysVendors that have published nothing
Some vendors and open-source projects have published no post-quantum plan for their encryption at rest, and the sources supplied for this page do not cover them. Silence in a vendor answer is a finding in its own right. Ask directly whether the product supports ML-KEM or hybrid key wrapping, which version adds it, and where the roadmap is documented. Ask also for the dated documentation behind any answer. A reply that cites no version, no standard and no date should be treated as unconfirmed until the vendor can show evidence.
Which parts of file and database standards are still open
Several questions about post-quantum file and database encryption are still open in the sources, and readers should not assume they are settled. The most significant is the HPKE post-quantum work. The draft draft-ietf-hpke-pq-05, dated 6 July 2026, is in the WG Document state with no intended RFC status listed, and it expires 7 January 2027. Until it is published as an RFC, any product that wraps keys using these HPKE KEMs is building on work that could still change. Check the IETF Datatracker entry for the draft at IETF draft-ietf-hpke-pq before you commit a design to it.
AWS describes a direct Encrypt API for ML-KEM keys only as a possibility. Its KMS documentation says it is closely tracking the IETF PQ-HPKE draft as a PQ-safe replacement for RSA-based encryption, and that such an API would bundle encapsulation, key derivation and AES-GCM. The sources do not say that this API exists or when it will be available. If your key hierarchy depends on it, confirm current availability in the AWS KMS post-quantum keys documentation and in your own account and region, and do not plan around the description alone.
For database connections, the PostgreSQL 19 documentation states that ssl_groups sets the named groups for TLS key exchange and defaults to X25519:prime256v1. The sources list no post-quantum group in that default. Whether a post-quantum or hybrid group is available depends on the TLS library and build your server uses, so confirm the group list in the PostgreSQL connection settings for your version and test a connection that negotiates it. The sources also do not settle which hybrid profile database and file vendors will choose, so ask each vendor directly which profile they support and on which release.
Questions data owners ask about post-quantum file and database standards
Does AES-256 data encryption need to be replaced for post-quantum?
No replacement is required for AES itself. NIST's post-quantum FAQ states that "current applications can continue to use AES with key sizes 128, 192, or 256 bits." The public-key layer is different: the key exchange and key wrapping that protect the AES data keys are where post-quantum algorithms such as ML-KEM come in. Check whether your database or file tool wraps data keys with RSA or elliptic-curve methods, because those wrapping steps are what need to move. Confirm the current guidance with NIST's FAQ and your vendor's documentation for the versions you run.
Which RFC covers post-quantum OpenPGP files?
RFC 9980, Post-Quantum Cryptography in OpenPGP, is the document to read. It was published in June 2026 as a Proposed Standard on the IETF Standards Track. It requires implementations to support ML-KEM-768 with X25519 and ML-DSA-65 with Ed25519, says they should support ML-KEM-1024 with X448 and ML-DSA-87 with Ed448, and makes SLH-DSA optional. Check which algorithm IDs your OpenPGP software implements before assuming interoperability with another product.
Can age encrypt files to post-quantum recipients?
Yes, from age v1.3.0. The release notes say age "now has native post-quantum recipients based on HPKE with a hybrid ML-KEM-768 KEM." Post-quantum recipients use the prefix age1pq1 and identities use AGE-SECRET-KEY-PQ-1. Recipients on older versions cannot read these files, so confirm that every person and system that needs to decrypt has upgraded before you start encrypting to post-quantum recipients. The format is specified at age-encryption.org/v1.
What should I ask a database or cloud vendor about post-quantum encryption?
Ask which algorithms wrap your data keys today and whether a post-quantum option is available for the versions you run. Ask whether the TLS key exchange for client connections can be configured to use post-quantum groups. For PostgreSQL, the ssl_groups setting controls named groups for TLS key exchange and defaults to X25519:prime256y, so confirm what your version supports. Ask for dated documentation, the release that added each option, and how keys are rotated when you switch. Cloud key services may track standards that are still in draft, so ask which draft or RFC they follow and what they expect to change.
Is the HPKE post-quantum draft a final standard?
No. The IETF draft draft-ietf-hpke-pq-05, which defines post-quantum and hybrid KEMs for HPKE, is dated 6 July 2026 and is in the Working Group Document state with no intended RFC status listed. It expires 7 January 2027. AWS KMS says it is closely tracking this draft as a replacement for RSA-based encryption. Treat anything built on it as dependent on a document that may still change, and check the IETF datatracker for the current status before you plan around it.
Should we do the post-quantum key work in-house or with outside help?
The choice depends on how many systems use public-key wrapping, how many people already maintain your encryption libraries, and how much you need to show a compliance reviewer. An in-house team can inventory which libraries and database drivers wrap data keys, test the new algorithms in a staging environment, and document the changes. Outside help is most useful when the inventory is large or the timeline is short. DeployOpen plans, implements and documents self-hosted systems in the client's own infrastructure and prepares the evidence for compliance reviews. It does not issue audit reports or certifications. Scope and deliverables are agreed in writing before work starts, and no price is quoted here.
Why does data that must stay secure for years need attention now?
AWS's KMS documentation describes a strategy it calls harvest now, decrypt later: an adversary records protected data today and attacks it once quantum computers exist. The documentation says this risk is particularly relevant to data that must remain secure for many years. That makes long-retention archives and backups the first candidates to review, because their key wrapping may stay in place long after the data is written. Start with an inventory of which stored data has a long confidentiality period, then check its key protection against the standards listed above.
Where ML-KEM sits in a file encryption flow
The flow starts with a plaintext file that is encrypted under a random symmetric data key, so the bulk ciphertext itself does not depend on a public-key algorithm. That data key is then wrapped to the recipient's public key, and this is the one step where post-quantum work changes: the wrapping uses ML-KEM, alone or in a hybrid with a traditional KEM, via HPKE or CMS. The wrapped key is stored beside the ciphertext, so the reader should check which wrapping format their tool uses and whether that format is defined for ML-KEM yet.
The public-key wrapping step is the only part post-quantum work changes.
How DeployOpen helps teams plan and check file and database encryption changes
DeployOpen works with data and application owners to map where file and database encryption depends on public-key algorithms, and which parts depend on symmetric keys only. We then plan changes against the standards and product support that exist today, and build and test them inside your own infrastructure.
How we scope
- We list the file encryption formats and database connections your systems use, and where each one takes its keys from.
- We identify which key wrapping and key exchange steps depend on algorithms that standards bodies have not yet finalized for your tools.
- The written scope states which libraries, drivers and database versions are covered, and which are left for your own confirmation.
How we build
- We configure and test candidate tools in a staging copy of your environment, checking that they read and write data correctly.
- We check the TLS group settings on database connections against the documented defaults for your specific server version.
- We record every configuration change and dependency version so the setup can be reviewed by your security and compliance teams.
How we hand over
- You receive a written inventory of encryption dependencies, with each standard and product version tied to the source you can check.
- The handover documents open questions, such as where the IETF draft or vendor roadmap has not settled, with dates and sources.
- Runbooks cover key rotation, rollback and how to confirm which algorithm protects a given key at any point.
How we support
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- Ongoing support is available as a retainer for tracking standards updates and retesting after library or database upgrades.
- Ask any provider to confirm, in writing, which standards and product versions its findings apply to before you rely on them.
Sources and further reading
- RFC 9980, Post-Quantum Cryptography in OpenPGP ↗
- RFC 9936, Use of ML-KEM in the Cryptographic Message Syntax (CMS) ↗
- draft-ietf-hpke-pq, Post-Quantum and Post-Quantum/Traditional Hybrid Algorithms for HPKE ↗
- NIST SP 800-227, Recommendations for Key-Encapsulation Mechanisms ↗
- AWS KMS post-quantum keys ↗
- PostgreSQL 19 documentation, connection settings ↗

