Is GnuPG ready for a post-quantum migration of its keys today?
Release managers and security leads scoping GnuPG keys and archives should start with the version. The GnuPG 2.5.22 announcement of 2026-08-31 says the 2.5 series introduces Kyber (aka ML-KEM or FIPS-203) as a PQC encryption algorithm. The sources listed on this page do not show post-quantum signature support, and they do not show that a post-quantum algorithm is the default for new keys. The manual still lists default-new-key-algo as rsa2048/cert,sign+rsa2048/encr or rsa3072, with a planned future default of ed25519/cert,sign+cv25519/encr. Keys generated under those defaults are not post-quantum keys, so an inventory must check the algorithm of every existing key, not assume it.
Branch status also sets the scope. On the download page checked 2026-12-04, branch 2.2 reached end-of-life on 2024-12-31 and branch 2.4 on 2026-06-30, so neither receives further updates and both belong in the migration plan as systems to replace. Branches 2.5 and 2.6 are listed as Long Term Support, with the end-of-life date still to be announced. The 2.5.22 announcement says 2.6 will not differ much from 2.4 apart from PQC support. Confirm which branch each host runs with gpg --version, and record the result against the key stores it touches.
The Kyber keys themselves need separate handling. The GnuPG manual says pqc yields a key with a quantum-resistant encryption subkey, and that Kyber keys are implemented as a composite key. Release notes for 2.5.14 say Kyber secret keys can now be imported and exported and are protected in the agent. Confirm with the GnuPG project and in your own environment which composite pairings your clients accept, because a 2024 post by Werner Koch noted that the curve to pair with ML-KEM-768 was then open and that signature schemes were not yet available. Plan archives and package-signing keys against what the current release actually produces, not against the proposals in that post.
Which GnuPG versions and key types the sources cover for post-quantum use
This table lists each GnuPG version line and key type against what the sources on this page state about post-quantum use, with the source date for each entry. Rows marked as not stated in the sources listed on this page should be confirmed with the GnuPG project or tested in your own environment before you record an answer. The main takeaway is that Kyber encryption subkeys are the only post-quantum key type the sources describe, and support starts in the 2.5 series.
| Version line or key type | What the sources state | Source date |
|---|---|---|
| GnuPG 1.4 | Legacy release 1.4.23 is listed on the download page. The sources listed on this page do not state any post-quantum support in this line. | 2026-12-04 (download page check) |
| GnuPG 2.2 | Branch end-of-life is 2024-12-31. The sources listed on this page do not state any post-quantum support in this line. | 2026-12-04 (download page check) |
| GnuPG 2.4 | Branch end-of-life is 2026-06-30. The 2.5.22 announcement says 2.4 has reached end-of-life and will receive no more updates. | 2026-12-04 and 2026-08-31 |
| GnuPG 2.5 | Introduces Kyber (ML-KEM, FIPS-203) as a PQC encryption algorithm. Kyber keys can be generated with the pqc algo value and may be imported, exported and protected in the agent. | 2026-08-31 (2.5.22); 2025-09-02 (2.5.12); 2025-11-27 (2.5.14) |
| GnuPG 2.6 | Listed as Long Term Support with end-of-life to be announced. The 2.5.22 announcement says it does not differ much from 2.4 apart from PQC support. | 2026-12-04 (download page); 2026-08-31 (2.5.22) |
| Kyber encryption subkey | Generated with gpg --quick-generate-key using the pqc algo value. Implemented as a composite key with ML-KEM paired to a classical curve. The sources do not state a complete list of shipped composites. | 2026-08-31 (manual); 2024-05-02 (Koch post) |
| RSA keys | Default for new keys is rsa2048 or rsa3072 (cert and sign, encrypt subkey). The manual does not state that a post-quantum algorithm is the default for new keys. | 2026-12-04 (manual check) |
| ECC keys | Planned future default is ed25519 with cv25519 encryption. The sources do not state a post-quantum signing key type for ECC. | 2026-12-04 (manual check) |
| Signature keys | The 2024 Koch post says quantum-resistant signature schemes were not yet available. The sources listed on this page do not state a current post-quantum signature option. | 2024-05-02 |
Which GnuPG key material belongs in the migration scope
A post-quantum migration plan for GnuPG has to cover more than the keys people use to sign and encrypt today. The inventory should list primary signing and certification keys, encryption subkeys, the secret key material held by gpg-agent and any exported secret key files, the encrypted archives whose decryption depends on those keys, and the key server and dirmngr settings used to publish and fetch keys. Each item needs an owner and a record of which key type and GnuPG version created it, because the answer for each one differs.
For secret key material, the 2.5.14 announcement says that import and export of Kyber secret keys is now allowed and that Kyber keys are now protected in the agent. The GnuPG manual also says that Kyber keys are implemented as a composite key, and that the export manual describes a GNU-specific extension, forced with --export-options=mode1003, for all key types. Treat exported secret key files as a separate scope item from the keys in the agent, and confirm with your own version what the export and import commands accept before you rely on them. The manual's --quick-generate-key entries for pqc and pqc9980 describe key creation, so keys created under those values belong on the list with their creating version recorded.
Encrypted archives are often the item that is missed. Data encrypted to an older encryption subkey can only be read by someone who still holds the matching secret key, so the archive is in scope even when no new keys are created. For key distribution, check the dirmngr settings that control key server access. The dirmngr manual says there has been no default keyserver since version 2.5.3, and that without an hkp-cacert directive dirmngr uses the system CAs to verify hkps certificates. Record each configured keyserver and certificate source, and confirm with the vendor and your own configuration which of them a post-quantum key would need to reach.
What each GnuPG component means for the migration answer
The inventory for a GnuPG post-quantum scope comes down to a few parallel components: key generation, agent protection, secret key transfer, network lookups and compliance settings. Each one answers a different part of the migration question, and the sources treat post-quantum support differently in each.
Key generation path
The gpg --quick-generate-key command accepts the algo values pqc and pqc9980 (the latter only with --allow-9980). The GnuPG manual says pqc yields a key with a quantum-resistant encryption subkey, but it does not make a post-quantum algorithm the default. The current default for new keys is still RSA, and the planned future default is Ed25519 with Curve25519. Check which algo value your version accepts and what each generated key contains before you count it as migrated.
Agent protection and s2k settings
The gpg-agent protects secret keys, and the s2k options (cipher, digest, mode and count) control how passphrases are turned into keys. The manual gives defaults of AES-256 for the s2k cipher, SHA-1 for the s2k digest and 600 seconds for the cache TTL. These settings are not post-quantum settings, so they do not change the public-key exposure of a key. Record them as part of the local protection inventory, and confirm the values on each machine. Kyber keys are protected in the agent from version 2.5.14, which is the release to confirm on each host.
Agent options manualExport and import of secret keys
Moving secret keys between systems is where post-quantum keys need the most care. The 2.5.14 release allows import and export of Kyber secret keys. The export manual says Kyber keys are implemented as a composite key and that --export-options=mode1003 forces a GNU-specific extension for all key types. Test that a key exports and imports correctly on the target version before you rely on the backup, because the sources do not describe how older versions handle these exports.
Dirmngr keyserver and OCSP settings
Dirmngr handles keyserver lookups and certificate status checks. The manual says there has been no default keyserver since version 2.5.3, so each system needs an explicit keyserver choice. OCSP requests are rejected unless --allow-ocsp is set, with a default maximum clock skew of 600 seconds and a maximum period of 7776000 seconds (90 days). Post-quantum key material moves through these lookups as well, so confirm which keyservers the team trusts and how they verify TLS. The sources do not describe post-quantum handling inside dirmngr.
Compliance mode settings
The compliance options set rules for the key types GnuPG will accept. The default is --gnupg, and the de-vs mode uses --min-rsa-length and --require-compliance to reject shorter RSA and DSA keys. Compliance settings govern key length and not algorithm choice, so the sources do not show that they require or detect post-quantum keys. Check whether your required compliance profile accepts the key types you plan to generate, and confirm the result with the team that owns the policy.
How the answer changes by GnuPG release line and deployment
Installs on the 2.5 or 2.6 branches are the only ones the GnuPG download page lists as Long Term Support, with the end-of-life date still to be announced as of 2026-12-04. The 2.5 series introduced Kyber (ML-KEM, FIPS-203) as a post-quantum encryption algorithm, and the 2.6 series is described as not differing much from 2.4 apart from PQC support. Because support is ongoing, the migration step here is mainly to create or add post-quantum encryption subkeys and to keep the installed version current.
- Current stable release: The download page listed 2.5.24, dated 2026-09-23, as the current stable release on 2026-12-04.
- Kyber in key generation: The manual says
gpg --quick-generate-keyacceptspqc, which yields a key with a quantum-resistant encryption subkey. Confirm the exact algo values your build accepts. - Adding subkeys: The 2.5.12 announcement says
gpg --edit-key addkeylets users select the Kyber variants. - Secret key handling: The 2.5.14 announcement says Kyber secret keys can now be imported and exported, and that they are protected in the agent.
- Signatures: A 2024 post by Werner Koch says quantum-resistant signature schemes were not yet available. The sources here do not describe post-quantum signature support in 2.5 or 2.6, so confirm it with the project before planning around it.
Check the installed version with gpg --version, then confirm the LTS end-of-life date on the GnuPG download page before setting a schedule.
The GnuPG download page gave an end-of-life date of 2026-06-30 for branch 2.4, and the 2.5.22 announcement says 2.4 has reached end-of-life and will receive no more updates. A 2.4 install therefore has no further security fixes from the project. The sources do not describe a supported in-place path from 2.4 to a post-quantum capable release, so the first step is to confirm which 2.4 build is deployed and plan an upgrade to the 2.5 or 2.6 line.
- End-of-life date: The download page gives 2026-06-30 for branch 2.4.
- No more updates: The 2.5.22 announcement states that 2.4 will receive no more updates.
- No Kyber on 2.4: The sources tie Kyber support to the 2.5 series, so a 2.4 install should not be assumed to create or use Kyber keys.
- Existing keys: Keys created on 2.4 remain whatever type they were, and the sources do not say whether they can be converted to Kyber. Confirm this with the project.
- Inventory: Record each host and its build, because an end-of-life client on a shared workstation is easy to miss.
Check the version on every system in scope, not only on servers, and note any build that predates 2026-06-30 as needing an upgrade decision.
The GnuPG download page lists 1.4.23, dated 2018-06-11, as the legacy 1.4 release. The sources describe post-quantum features only for the 2.5 series and do not say whether 1.4 can use Kyber or any other post-quantum algorithm. A 1.4 install should be treated as having no documented post-quantum path, and the migration step is to confirm its key types and plan a move to a current release line.
- Latest 1.4 release: The download page gives 1.4.23 as the legacy 1.4 release, dated 2018-06-11.
- No documented post-quantum support: The sources do not list post-quantum algorithms for 1.4.
- Key types in use: Identify which algorithms existing keys use, because older key types may not carry over to a current release line. The sources do not describe those conversions.
- Scripts and automation: Check whether any scripts call 1.4-specific options, since the 2.x manuals describe options the 1.4 build may not have.
- Decommissioning: If 1.4 is needed only for archived data, record which keys are still required before deciding whether to retire it.
Confirm the key algorithms and their dependencies with the GnuPG project before choosing between migration and retirement.
A key generated before Kyber support was added has no post-quantum encryption subkey, and the sources do not describe an automatic upgrade of such keys. The 2024 Koch post says the plan was to add new Kyber subkeys alongside existing keys, which suggests the usual route is adding a subkey to an existing certificate rather than replacing the key. Confirm the exact procedure against the 2.5 manual before relying on it.
- Adding a subkey: The 2.5.12 announcement describes
gpg --edit-key addkeyfor selecting Kyber variants. - Default for new keys: The manual page for
--default-new-key-algogives the current default as RSA (rsa2048 or rsa3072) and names ed25519 with cv25519 as the planned future default. It does not make a post-quantum algorithm the default. - Composite naming: The 2024 post says names take the form
ky768orky1024followed by a curve name, such asky1024_cv448, but it is not a published draft and the full set of composites is not listed. - Publishing the new subkey: The sources do not say how a new subkey reaches key servers or verifiers, so confirm distribution with the project and your key servers.
- Secret key export: Kyber secret keys can be exported only in forms the 2.5.14 announcement describes, so check export options before moving keys between hosts.
For each key in scope, record its creation date and whether it has a Kyber encryption subkey, because that determines whether a subkey must be added.
Where GnuPG keys flow through a migration scope
The diagram starts at key generation with gpg --quick-generate-key and follows the key through signing, encrypted archives, export with --export-secret-keys, distribution to key servers, and verification by dirmngr. The sources describe Kyber (ML-KEM) support for encryption subkeys in the 2.5 series, so the encryption path is marked as covered. Signature algorithms and most export and key server edges are marked as not covered by the sources listed on this page, and those edges should be confirmed with the vendor and in your own environment before you record an answer.
Edges marked covered by the sources list Kyber encryption support; the others are open.
What a team should check first in its GnuPG key inventory
The sequence below builds a dated inventory of GnuPG versions, key types, signing-only keys, export and archive paths, and vendor statements on default algorithms. Each step closes with a check that confirms the inventory is complete enough to scope a post-quantum migration.
List every GnuPG version in use
Record the GnuPG version on each workstation, build host, server and container that runs gpg or gpg-agent, including any bundled copies inside applications. Compare each version against the branches on the GnuPG download page as of the check date: 2.5.24 was the current stable release on 2026-12-04, 2.4 had reached end-of-life on 2026-06-30, and 2.2 had reached end-of-life on 2024-12-31. The step closes when every host has a version number recorded and any end-of-life branch is flagged for follow-up.
Inventory keys by type and algorithm
Export the key list from each keyring with gpg --list-keys and gpg --list-secret-keys, and record the primary key algorithm and each subkey's algorithm and usage for every key. Note whether any encryption subkey is Kyber, which the GnuPG 2.5 series introduced as a post-quantum option, and whether each key was created with the default, future-default or pqc algorithm setting. The step closes when each key has a row showing its algorithm, its subkey usages and a Kyber yes or no entry, which confirms whether any key already carries post-quantum encryption.
Mark signing-only keys
Identify keys whose subkeys are used only for signing, such as release or package signing keys, and separate them from keys used for encryption. The GnuPG 2024 design discussion said quantum-resistant signature schemes were not yet available and treated them as less urgent than encryption, so a signing-only key needs its own migration decision. Check the usage flags on each subkey rather than the key name. The step closes when every key is labeled encryption, signing, or both, and the signing-only list is kept for a separate review.
Check export and archive paths
Find every place where secret or public keys are exported, backed up or archived, including gpg --export-secret-keys runs, backup scripts and encrypted archives that depend on a particular key. The GnuPG manual says Kyber keys are implemented as a composite key and that a GNU-specific extension can be forced with --export-options=mode1003, so exported files may need a test import on a current version before anyone relies on them. Test a sample export and import on the version your team uses. The step closes when each export or archive path is listed with the GnuPG version it was tested on and a pass or fail result.
Confirm the vendor's position on default algorithms
Check the current --default-new-key-algo setting in the GnuPG manual and the vendor's release notes for any statement about post-quantum defaults. On 2026-12-04 the manual listed rsa2048 or rsa3072 as the current default and ed25519 with cv25519 as the planned future default, and it did not state that a post-quantum algorithm is the default for new keys. Ask the GnuPG Project or your distribution maintainer to confirm any change before you rely on it. The step closes when the default in your configuration and the vendor's written position are recorded with the date each was checked.
Set a retest date
Schedule a dated retest of the inventory, covering version numbers, key algorithms, signing-only status, export paths and the default-algorithm statement, because GnuPG branch dates and release notes change. Assign an owner for the retest and record which sources you will recheck, including the GnuPG download page and the release announcements. The step closes when the owner, the retest date and the list of sources are written into the inventory record.
What the sources do not establish for GnuPG post-quantum signatures and defaults
The GnuPG sources document post-quantum encryption more fully than signatures or defaults. The four items below mark where the published record stops, so an inventory can record each as unconfirmed and carry the question to the GnuPG project or to the distribution that packages the release. Each card names the open point and what to ask.
Post-quantum signature schemes
The 2024 post by Werner Koch on the gnupg-devel list says quantum-resistant signature schemes were not yet available at that time, and it called them far less urgent than encryption. The GnuPG 2.5 release notes describe Kyber for encryption, and the sources listed here do not show a post-quantum signing algorithm in any release. For a signing inventory, record post-quantum signatures as not established. Ask the GnuPG project, or the packager of your release, whether a post-quantum signing algorithm exists in the version you run, and under which key-generation option it is offered.
Koch 2024 postDefault algorithm for new keys
The manual page for --default-new-key-algo, checked on 2026-12-04, gives the current default as RSA with 2048-bit or 3072-bit sizes, and names ed25519 with cv25519 as the planned future default. The manual does not state that a post-quantum algorithm is the default for new keys. Kyber appears only when you pass the pqc value to --quick-generate-key, which is a choice you make per key. Treat the default as classical until the manual says otherwise, and ask the project when the planned Ed25519 default will take effect in a release you can name.
GPG esoteric optionsProposed require-pqc-encryption option
The 2024 post floated a possible option, --require-pqc-encryption, to force quantum-resistant encryption once deployment is wide. In that post it was a proposal, and the GnuPG manuals in the sources do not document it. Do not write it into a configuration standard or a policy as an existing control. Ask the project whether the option has been added, in which release, and what it enforces, including whether it would reject recipients whose keys lack a Kyber subkey.
Koch 2024 postFinal curve set for ML-KEM composites
The 2024 post names composite forms such as ky1024_cv448, which pairs ML-KEM-1024 with X448, and it says the curve to pair with ML-KEM-768 was still open. The post states it was not a published draft, so the sources do not list the full composite set shipped in current releases. Record the composite set as unconfirmed, and check the algo names in your installed version with gpg --quick-generate-key. Ask the project to publish the final list of composites and the release in which each one became stable.
OpenPGP key managementWhat can go wrong in a GnuPG post-quantum migration
The most common failure is assuming that new keys are post-quantum by default. The GnuPG manual lists the current default for new keys as rsa2048/cert,sign+rsa2048/encr (or rsa3072), and names ed25519 with cv25519 as the planned future default. The manual does not state that a post-quantum algorithm is the default, so keys created without an explicit choice will likely stay on RSA or ECC. Inventory each key's algorithm and confirm whether it carries a Kyber encryption subkey. Keys generated with gpg --quick-generate-key and the pqc algo value, or with the pqc9980 value when --allow-9980 is given, are the ones that include one. Check how your team generates keys, since a template or script may still use the default.
Older installations create a second risk. The download page gives end-of-life dates of 2024-12-31 for branch 2.2 and 2026-06-30 for branch 2.4, and the 2.5.22 announcement says 2.4 will receive no more updates. Kyber support arrived in the 2.5 series, so a workstation or server still on 2.2 or 2.4 cannot create or use these keys, and it will not receive fixes. Confirm the installed version on every host, including build servers and key servers, before planning any key work on them.
Mixed environments need care when a sender encrypts to a recipient who cannot process Kyber. Before encrypting with a Kyber subkey, confirm that every recipient's software supports it, and keep a fallback path for those who do not. Keys with a Kyber encryption subkey are also a separate question from signing. Werner Koch's 2024 post says quantum-resistant signature schemes were not yet available and were less urgent than encryption, so a key can be post-quantum for encryption while its signing key remains RSA or ECC. Record both parts of each key separately. Finally, the --export-options=mode1003 setting changes the export format, so confirm how a key exported this way will be imported elsewhere.
Questions engineers and vendor-risk reviewers ask about GnuPG key migration scope
Is GnuPG quantum safe?
The sources do not support calling GnuPG quantum safe, and this page does not make that claim. What the sources do support is narrower: GnuPG 2.5 added support for Kyber, the algorithm known as ML-KEM or FIPS-203, as a post-quantum encryption algorithm, according to the 2.5.22 announcement of 2026-08-31. Kyber covers encryption only. The 2024 post from GnuPG's developer Werner Koch says quantum-resistant signature schemes were not yet available at that time. A reader should confirm with the GnuPG project which algorithms a given key and release actually use before recording a finding.
Which GnuPG version is required for post-quantum keys?
Kyber support first appears in the 2.5 series. The 2.5.12 announcement of 2025-09-02 describes selecting Kyber variants with gpg --edit-key addkey, and the 2.5.14 announcement says Kyber secret keys can now be imported and exported. On 2026-12-04 the download page listed 2.5.24 as the current stable release. Branch 2.4 reached end-of-life on 2026-06-30, and branch 2.2 ended on 2024-12-31, so neither receives updates. Teams on 2.4 or older should plan an upgrade to a supported 2.5 or 2.6 release before generating post-quantum keys.
Does upgrading GnuPG for post-quantum keys cost extra?
The sources do not give a price or effort figure for this work, so this page does not state one. GnuPG is licensed under the GNU General Public License, and the sources do not say whether any part of the post-quantum work carries a fee. Costs usually come from three places: staff time to inventory keys and test clients, changes to build or packaging pipelines, and any outside help. Recurring costs depend on how many keys and workstations are in scope. Ask the team or partner for a written quote that separates one-time work from ongoing support, and confirm with your distribution whether the 2.5 series is packaged for your platforms.
What breaks when GnuPG moves to post-quantum keys?
The GnuPG manual says Kyber keys are implemented as a composite key, which means older clients may not handle them. The manual also notes that a GNU-specific extension can be forced for all key types with --export-options=mode1003, which should be tested against each receiving system before rollout. The default new-key algorithm is still RSA: the manual lists rsa2048 or rsa3072 as current defaults, and names ed25519 with cv25519 as the planned future default. Keys generated with the pqc setting should be checked against every application that imports them, including mail clients, CI signing steps and package repositories.
What should we ask the GnuPG project or our vendor before we start?
Ask which exact algorithms each supported release uses for Kyber composites, since the 2024 post said the curve pairing with ML-KEM-768 was still open. Ask whether a future --require-pqc-encryption option is planned, because the 2024 post floated it as a proposal, not a documented option. Ask for the published timeline for post-quantum signature support, and for the end-of-life date of branches 2.5 and 2.6, which the download page lists as to be announced. For a packaged distribution, also ask which GnuPG build it ships and whether it includes the 2.5 features.
Can our team migrate GnuPG keys alone or do we need outside help?
A team with system administration and release engineering skills can often do the inventory and pilot work in-house, using the GnuPG manuals and release notes as references. Outside help is most useful for the parts that touch many systems: finding every key and repository that depends on RSA or elliptic-curve signatures, testing older clients, and rewriting signing pipelines. DeployOpen plans, implements and documents self-hosted platforms inside a client's own infrastructure, and runs security testing that can cover signing workflows. The scope and deliverables are agreed in writing before work starts, and the sources do not give a timeline for this migration.
How DeployOpen helps scope a GnuPG post-quantum migration
DeployOpen approaches a GnuPG and OpenPGP migration as an inventory and scoping exercise first, then as implementation work inside your own infrastructure. We identify which signing keys, encrypted archives, package repositories and key servers are in play, and which GnuPG versions and key types they depend on, before any change is proposed. The result is a written scope your security and release teams can review.
How we scope
- We inventory the GnuPG versions, branches and key types in use across workstations, build systems and servers.
- We list signing keys, encrypted archives, package repositories and key servers that the migration would touch.
- We agree the scope in writing, with deliverables and timelines fixed before work starts.
How we build
- We test candidate post-quantum key generation and interoperability in a staging environment inside your infrastructure.
- We check that legacy key types, key servers and verification steps keep working during the transition.
- We document each configuration change so your compliance and security teams can review it.
How we hand over
- We deliver an inventory, the migration plan and a runbook covering key generation, rotation and verification.
- We record the open questions to confirm with GnuPG upstream and with your own package and vendor owners.
- We walk your release and security engineers through the handover and the evidence produced.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the initial scope.
- We can retest signing and verification flows after each GnuPG release or configuration change.
- Support scope and frequency are set in the written agreement, so you know what is covered.

