Does a post-quantum upgrade of GnuPG require a redesign or new licenses?
As of 2026-12-04, the architect's answer is that a post-quantum upgrade of GnuPG is a version and key-generation change, not a service redesign or a license purchase. The GnuPG 2.5.22 announcement of 2026-08-31 says the 2.5 series introduces "Kyber (aka ML-KEM or FIPS-203) as PQC encryption algorithm", and the GnuPG home page says the software is licensed under the GNU General Public License. GnuPG is credited to "The GnuPG Project", which names no company as owner, so there is no vendor contract to renegotiate. The sources listed on this page do not describe any change to how GnuPG services are architected, so a redesign is not indicated by them. Confirm the 2.5 series version in your environment with gpg --version.
Post-quantum key generation is a change at the key level. The GnuPG manual says gpg --quick-generate-key accepts the algo values "default", "future-default" and "pqc", and that "pqc" yields a key with a quantum-resistant encryption subkey. The manual also says Kyber keys are implemented as a composite key. Hybrid modes are therefore a composite form: a Kyber key paired with a classical curve, named in the 2024 Koch post in the pattern ky1024_cv448, which is ML-KEM-1024 composed with X448. The same post says the curve choice for ML-KEM-768 was still open, so confirm the exact composites your release ships. Note that the manual does not state that a post-quantum algorithm is the default for new keys, so keys must be created with the pqc option.
Plan the work around the decisions it forces. Check whether your key holders and clients run releases that can import and use Kyber keys, since the 2.5.14 announcement says import and export of Kyber secret keys is now allowed and that Kyber keys are protected in the agent. Confirm with the GnuPG project and your own testing whether peers can verify and encrypt to composite keys, and whether the --export-options=mode1003 extension is needed for your partners. Post-quantum signatures were not yet available at the time of the 2024 post, so the sources do not support a signing upgrade today.
Which GnuPG versions and branches carry the post-quantum upgrade path
This table lists each GnuPG branch with its support status and whether it carries post-quantum features, as stated in the GnuPG download page and release announcements. Check the branch your servers and workstations run against the end-of-life dates, because a branch past end-of-life gets no further updates, including any post-quantum changes.
| Branch | Support status | Post-quantum relevance |
|---|---|---|
| 1.4 (1.4.23, dated 2018-06-11) | Legacy release listed on the download page | The sources listed on this page do not describe post-quantum support in this branch. Confirm with the vendor before relying on it. |
| 2.2 | End-of-life 2024-12-31 per the download page | No post-quantum support is described for this branch. It receives no further updates, so plan to move off it. |
| 2.4 | End-of-life 2026-06-30; no more updates per the 2.5.22 announcement (2026-08-31) | Post-quantum support is not described for this branch. The 2.5.22 announcement says the 2.6 series will not differ much from 2.4 apart from PQC support. |
| 2.5 | Long Term Support; end-of-life date to be announced | Introduces Kyber (ML-KEM, FIPS-203) as a PQC encryption algorithm, per the 2.5.22 announcement. The 2.5.12 announcement (2025-09-02) adds Kyber variant selection in gpg --edit-key addkey. |
| 2.6 | Long Term Support; end-of-life date to be announced | Carries PQC support. The 2.5.22 announcement says its differences from 2.4 are small apart from that support. |
Which parts of GnuPG an upgrade touches: keys, the agent and key exchange
A post-quantum upgrade of GnuPG reaches four areas: the encryption subkeys you generate, the gpg-agent that protects secret keys, the composite key format and its export options, and signatures, which the sources do not show as post-quantum yet. Check each one against the version you run, because the sources tie these features to specific releases.
Encryption subkeys
Post-quantum encryption is added as a subkey, so an upgrade means generating new subkeys on existing keys rather than replacing the primary key. Run gpg --quick-generate-key with the algo value pqc to create a key with a quantum-resistant encryption subkey. The manual also lists pqc9980 as an algo value, but only when --allow-9980 is given, so confirm which value your team's policy permits before you script it. Keep existing keys in use until the new subkeys are tested.
Agent protection for Kyber keys
gpg-agent holds the secret material for your keys, so it has to handle the new Kyber keys correctly. GnuPG 2.5.14 allows import and export of Kyber secret keys and protects Kyber keys in the agent. Check that your installed release is at least 2.5.14 before you rely on moving these keys between machines. The sources do not describe the agent behavior in earlier 2.5 releases, so confirm that with the vendor if you run one.
2.5.14 announcementComposite Kyber keys and export format
The manual says Kyber keys are implemented as a composite key, which pairs the post-quantum algorithm with a classical one. When you export secret keys, the manual describes a GNU-specific extension that can be forced for all key types with --export-options=mode1003. Test any exported key in the systems that will import it, because other OpenPGP implementations may not read this extension. The sources do not list the full set of composites shipped in current releases, so confirm the pairings with the vendor.
Signatures are not yet post-quantum
The 2024 post by Werner Koch states that quantum-resistant signature schemes were not yet available, and he ranked them as far less urgent than encryption. An upgrade of encryption therefore does not change how your signing keys work, and signing keys keep their current algorithms. Plan signing-key work separately, and check the current GnuPG release notes before you assume a signature option exists.
2024 Kyber postHow the upgrade differs by installed version and key type
Branches 2.2 and 2.4 are the ones most likely to be running on workstations and servers today, and both are at or past end of life. The download page gives an end-of-life date 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. The upgrade path therefore leads to branch 2.5 or 2.6, which the download page lists as Long Term Support. Branch 2.5 is the one that introduces Kyber (ML-KEM) as a post-quantum encryption algorithm, while the announcement says 2.6 will not differ much from 2.4 apart from PQC support.
- Branch 2.2: past its end-of-life date of 2024-12-31, so it should be replaced rather than patched.
- Branch 2.4: past its end-of-life date of 2026-06-30 and no longer updated, so it should be moved to 2.5 or 2.6.
- Branch 2.5: listed as Long Term Support, and the first series to introduce Kyber as an encryption algorithm.
- Branch 2.6: listed as Long Term Support with its end-of-life date still to be announced, and described as close to 2.4 apart from PQC support.
- Current stable release: the download page listed 2.5.24, dated 2026-09-23, on 2026-12-04.
Confirm the installed version with gpg --version on every host, then check the download page for the current release on your platform before you schedule the move.
The 1.4 line is a separate legacy branch. The download page lists 1.4.23, dated 2018-06-11, as the legacy 1.4 release. It is not the branch that gains Kyber support, and the GnuPG sources on this page do not describe a post-quantum path for it. Installations on 1.4.23 are a replacement problem, not an upgrade problem. The practical question is how to move the keys and workflows onto a supported branch before the post-quantum work starts.
- Version: 1.4.23 is the legacy release listed on the download page, dated 2018-06-11.
- Post-quantum support: the Kyber and PQC key options described in the 2.5 announcements and the manual apply to the 2.5 and 2.6 series, not to 1.4.23.
- Key formats: confirm how existing keys, keyrings and trust databases from 1.4 are imported into a supported branch and tested there.
- Scripts and automation: check any unattended key generation or signing scripts for options that differ between branches.
- Scope of replacement: treat the replacement as its own project, separate from the post-quantum key work.
Confirm with the GnuPG project and the distribution maintaining your copy which supported version you should move to, and whether any 1.4 keys need to be re-created rather than carried forward.
Existing RSA and ECC keys are not converted in place. The 2024 Koch post describes a plan to add new Kyber subkeys alongside existing keys, so the post-quantum work adds an encryption subkey to a key that is already in use. The same post says quantum-resistant signature schemes were not yet available at that time. The GnuPG manual states that --quick-generate-key accepts the algo value pqc, which yields a key with a quantum-resistant encryption subkey, while the default for new keys is still rsa2048 or rsa3072 according to the default-new-key-algo page checked on 2026-12-04.
- Adding subkeys: new Kyber subkeys are added alongside existing RSA or ECC keys, so existing signing keys keep working as they do today.
- Default algorithm: the manual gives the current default as
rsa2048/cert,sign+rsa2048/encrorrsa3072, and namesed25519/cert,sign+cv25519/encras the planned future default. - Signatures: the 2024 post describes quantum-resistant signatures as not yet available, and the sources on this page do not show a post-quantum signing algorithm in the 2.5 release notes.
- Key exchange and export: the 2.5.14 announcement says Kyber secret keys can now be imported and exported, and that Kyber keys are protected in the agent.
- Composite form: the manual says Kyber keys are implemented as a composite key, and the 2024 post says the naming takes the form such as
ky1024_cv448.
Confirm with each key owner which keys need an added encryption subkey, and check the vendor's current statement before assuming any signature algorithm exists.
In a federal or de-vs setting, the relevant controls are the compliance options in the gpg manual. The --min-rsa-length and --require-compliance options apply to the de-vs mode, where a value such as 3000 makes 2048-bit RSA and DSA keys non-compliant. The default compliance option is --gnupg. The sources on this page do not state a post-quantum requirement for federal or de-vs deployments, so the readiness question in these settings is about key length and compliance mode, not about whether PQC is mandated.
- Default mode: the compliance default is
--gnupg, which does not apply the de-vs restrictions. - Key length:
--min-rsa-lengthsets the minimum RSA length, and the manual's example shows 3000 making 2048-bit RSA and DSA keys non-compliant in de-vs mode. - Enforcement:
--require-complianceis the option that applies the chosen compliance mode. - Post-quantum requirement: the sources on this page do not say whether any federal or de-vs rule requires a post-quantum algorithm, so do not infer one.
- Key choice: the 2024 post floated a
--require-pqc-encryptionoption, but it was a proposal in that post and not a documented option, so do not design around it.
Confirm with the compliance owner which mode and minimum length apply to your organization, and ask the auditor which controls, if any, reference post-quantum algorithms before changing key sizes.
Steps to upgrade GnuPG to a post-quantum-capable release
The sequence below moves a GnuPG installation from its current version to a 2.5 or 2.6 release, generates and checks a Kyber-capable test key, confirms how the agent and export handling treat that key, and verifies that recipients can encrypt to the new subkey. Each step ends with the check that closes it, so the result is evidence the upgrade worked rather than an assumption.
Inventory installed GnuPG versions and branches
Release engineers or system administrators run
gpg --versionon each workstation, build host and server that runs GnuPG, and record the version string and branch for each. The GnuPG download page lists 2.5.24 (dated 2026-09-23) as the current stable release and 1.4.23 as the legacy 1.4 release, while branch 2.2 reached end-of-life on 2024-12-31 and branch 2.4 on 2026-06-30. Branches 2.5 and 2.6 are listed as Long Term Support, with the end-of-life date still to be announced. This step is closed when every host has a recorded version and each one is classified as 1.4, 2.2, 2.4, 2.5 or 2.6, so the upgrade targets are known.Upgrade to a 2.5 or 2.6 release
Administrators install a 2.5 or 2.6 release on each host using the distribution package or the GnuPG download page, starting with the systems that hold keys used for signing or encrypted archives. The 2.5.22 announcement of 2026-08-31 says Kyber (ML-KEM, FIPS-203) is introduced as the post-quantum encryption algorithm in the 2.5 series, and says the 2.6 series does not differ much from 2.4 apart from PQC support. Confirm the installed build with
gpg --versionand check that the algorithms list includes Kyber before moving on. This step is closed when each host reports a 2.5 or 2.6 build that lists Kyber support. The sources listed on this page do not give a release date for the 2.5.24 package in a particular distribution, so confirm that with your distribution's maintainers.Generate a test key with the pqc algorithm
On a non-production host, an engineer runs
gpg --quick-generate-keywith the algo valuepqc, which the GnuPG manual describes as yielding a key with a quantum-resistant encryption subkey. Use a test user ID so the key cannot be confused with a real signing key. Then list the key withgpg --list-keys --with-colonsorgpg --list-secret-keysand confirm that an encryption subkey is present and that it is a Kyber key. The manual sayspqc9980can also be used when--allow-9980is given, but this step should usepqconly. This step is closed when the test key shows a Kyber encryption subkey. The sources listed on this page do not say whetherpqcis the default for new keys, and the manual's default-key entry names a classical algorithm, so do not assume it.Confirm the agent protects Kyber keys
The security engineer checks that gpg-agent holds the Kyber secret key the same way it holds other secret keys. The GnuPG 2.5.14 announcement, with a changelog date of 2025-11-19, says that Kyber keys are now protected in the agent. Confirm the agent is running and that the test key can be used for a decryption without re-entering the passphrase after the cache period. The agent manual says
--default-cache-ttldefaults to 600 seconds, and the auto-calibrated s2k count takes about 100 ms per passphrase by default. This step is closed when a decryption with the test key succeeds through the agent and the passphrase prompt behaves as configured for the other keys in the environment. Confirm the 2.5.14 or later build is the one in use, since earlier 2.5 builds predate this change.Decide export handling with mode1003
The key administrator decides whether Kyber secret keys must leave the host, for example for backup or for moving to another machine. The GnuPG manual says Kyber keys are implemented as a composite key, and that
--export-options=mode1003can force a GNU-specific extension for all key types. The 2.5.14 announcement says import and export of Kyber secret keys is now allowed. Decide, for each use, whether mode1003 is needed and whether the importing side reads the extension. The sources listed on this page do not say which other OpenPGP implementations can import a Kyber secret key exported with mode1003, so test that with each recipient product before relying on the export. This step is closed when a written export decision exists for each key class, and when one test export and import has been run and verified against the target tool.Verify recipients can encrypt to the new subkey
Using the test key, a second user imports the public key on a separate host and encrypts a test message to it. The importing side must select the Kyber subkey, which the GnuPG documentation describes as the quantum-resistant encryption subkey of a
pqckey. Confirm that the message decrypts with the test secret key and that the decryption succeeds through the agent. Repeat the check with every client or tool your organization uses to encrypt, because the sources listed on this page do not confirm that all OpenPGP implementations choose a Kyber subkey automatically. The Koch post of 2024-05-02 notes that the curve paired with ML-KEM-768 was an open question at the time, and the sources listed on this page do not list the composites in current releases, so record the exact composite your build produces. This step is closed when each recipient tool has encrypted to and decrypted from the test key and the results are logged with the GnuPG version used.
What GnuPG has not published about post-quantum upgrades, and what to ask
The GnuPG project has published working post-quantum encryption in the 2.5 series, but several points that an upgrade plan depends on are still undocumented or only proposed. Each card below names one such gap, explains why it affects the upgrade work, and gives the question to put to the maintainers or to your distributor before you commit to a timeline.
Full list of composite curves
GnuPG implements ML-KEM encryption as a composite key, named by a pattern such as ky768 or ky1024 followed by a curve name, for example ky1024_cv448 (ML-KEM-1024 composed with X448). The May 2024 post from Werner Koch said the curve to pair with ML-KEM-768 was still an open question. That means the 2024 post does not list the composites shipped in current releases. Before you write a key policy, ask the maintainers for the complete table of composite names in the release you run, and confirm whether a key generated with one composite can be read by a 2.4 or older client. Record the answer for each version in use.
Koch Kyber postPost-quantum signature schemes
The 2024 post said quantum-resistant signature schemes were not yet available and described them as far less urgent than encryption. The 2.5.22 announcement of 2026-08-31 covers Kyber as the encryption algorithm and does not describe a post-quantum signature option. For a code signing or release workflow, this matters most: signing keys and detached signatures on packages are still RSA, DSA or EdDSA as far as the sources on this page show. Ask the maintainers for the date a post-quantum signature algorithm will be available, and whether it will be added to new subkeys alongside existing keys.
Koch Kyber postThe require-pqc-encryption option
The 2024 post floated a future option, --require-pqc-encryption, which would force quantum-resistant encryption once deployment is wide. It was a proposal in that post and is not a documented option in the manual on this page. Do not write policy, scripts or contract language that depends on it. If you need a mandate that all new encrypted data uses a post-quantum subkey, ask the maintainers whether such an option is planned, under what name, in which release, and what the behavior will be for recipients that have not yet imported a post-quantum key.
Koch Kyber postDefault algorithm for new keys
The current manual gives the default for new keys as rsa2048 for the certification and signing key with an RSA encryption subkey, or rsa3072. The manual names ed25519 with cv25519 encryption as the planned future default. It does not state that a post-quantum algorithm will be the default for new keys. Generation scripts that rely on the default will therefore keep producing classical keys. Ask the maintainers when the future default will change, whether it will be a post-quantum algorithm, and whether the pqc value of --quick-generate-key will become the default. Until then, set the algorithm explicitly in every generation script.
GPG esoteric optionsDecision path for upgrading GnuPG to post-quantum encryption
The path starts by checking which GnuPG branch is installed, since only the 2.5 and 2.6 series are long term support branches and the 2.5 series introduced Kyber (ML-KEM) as a PQC encryption algorithm. If the installed branch is 2.2 or 2.4, the sources say those branches have reached or will reach end of life, so an upgrade to 2.5 or 2.6 comes first. Next, the key owner generates a new key with --quick-generate-key using the pqc algo value, or adds a PQC encryption subkey with addkey. Before relying on it, confirm that the gpg-agent and each recipient's software can handle the key, and then update how the public key is distributed.
Steps for moving a GnuPG setup to post-quantum encryption, from branch check to key distribution.
What can break when GnuPG keys move to Kyber
The main risk of moving GnuPG keys to Kyber is that recipients may not be able to use them. Kyber appears in GnuPG as a composite key, and the sources listed on this page do not say whether older GnuPG releases or other OpenPGP tools can read those composite keys. Before you encrypt to a Kyber key for anyone outside your organization, confirm with each recipient which GnuPG or OpenPGP implementation and version they run, and test a round trip with that software. The sources also do not describe any interoperability testing between implementations. The key export and import behavior has changed across the 2.5 releases: the 2.5.12 announcement, dated 2025-09-02, notes a regression fix affecting composite post-quantum and ECC algorithms, and the 2.5.14 announcement says import and export of Kyber secret keys became allowed. Confirm the exact release you run on each system that holds keys, and re-test export and import of any Kyber key after any upgrade, including backup and restore paths.
The second risk is a silent fallback. The GnuPG manual says the pqc algo value yields a key with a quantum-resistant encryption subkey, but a key created without it keeps its classical encryption subkey. The upgrade therefore does not take effect just because GnuPG is updated or an existing key is kept. For each key you intend to protect, check the subkeys with gpg --list-keys --with-subkey-fingerprints and confirm that an encryption subkey of the Kyber type exists and is the one a sender selects. Where it does not, the new subkey must be created, for example with gpg --quick-add-key using the pqc value, and senders must be told to encrypt to it. The 2024 Koch post describes adding new Kyber subkeys alongside existing keys, which is the model to plan around. Until the new subkey is created and used, encryption continues on the classical subkey, and that is the setting a security review should record as the current state.
Questions about GnuPG post-quantum upgrades
Is GnuPG quantum safe?
The sources on this page do not support calling GnuPG quantum safe, and no certification or validation of that kind is listed here. What they do show is that GnuPG 2.5 series added Kyber (ML-KEM, FIPS-203) as a post-quantum encryption algorithm, as the 2.5.22 announcement of 2026-08-31 describes. Post-quantum support for encryption is therefore present in that series, while the sources list no post-quantum signature support in the same way. Confirm the exact scope of what is supported, and whether any independent evaluation exists, with the GnuPG project and in your own tests before you record an answer.
Which GnuPG version is needed for post-quantum support?
The sources point to the 2.5 series as the place where post-quantum support appears. The 2.5.12 announcement of 2025-09-02 covers selecting Kyber variants with gpg --edit-key addkey, and the 2.5.14 announcement (changelog dated 2025-11-19) allows Kyber secret keys to be imported and exported. On 2026-12-04 the download page listed 2.5.24 (dated 2026-09-23) as the current stable release. Branch 2.4 reached end-of-life on 2026-06-30, so 2.4 installations will receive no further updates. Confirm the minimum version your key workflows need.
Does upgrading GnuPG to a post-quantum capable version cost a license fee?
No license fee is indicated by the sources. The GnuPG home page, checked on 2026-12-04, says the software is licensed under the GNU General Public License. Under that licence, the software itself is not sold per seat or per server. Costs in an upgrade come from other areas: staff time to inventory keys, test compatibility, update workstations and servers, and retrain users, plus any outside services you choose to buy. Ask any vendor or integrator quoting the work to separate those costs in writing.
What breaks when GnuPG moves to post-quantum keys?
The sources describe several points to check. Kyber keys are implemented as a composite key, and the manual notes that a GNU-specific extension can be forced for all key types with --export-options=mode1003. Post-quantum keys are generated with gpg --quick-generate-key using algo values such as "pqc", and the manual says "pqc9980" needs --allow-9980. Older recipients or tools that do not understand these key types may fail to encrypt or verify. Test each workflow, including key servers, package signing and SSH use, against real recipients before cutover.
What should we ask the GnuPG project or our vendor before upgrading?
Ask for the exact version and branch that supports each post-quantum algorithm you need, and whether that branch is in Long Term Support. Ask which composite algorithms are shipped, because the 2024 Koch post said the curve pairing for ML-KEM-768 was still open and did not list the full set. Ask whether post-quantum signature schemes are available, since the same post described them as not yet available. Ask whether a --require-pqc-encryption style option is documented, since that was a proposal and not a documented option. Get the answers in writing and date them.
Can our team upgrade GnuPG itself, or do we need outside help?
Your team can upgrade GnuPG itself if it has staff who manage the installed versions and keys. The work consists of checking the installed versions across servers and workstations, moving off unsupported branches, generating or importing post-quantum keys, and testing dependent systems. Outside help is worth considering when many systems, key servers or signed-package pipelines are involved, or when the internal team lacks time for testing. DeployOpen plans, implements and tests self-hosted open-source platforms in your own infrastructure on fixed-scope terms agreed in writing. Scope, deliverables and timelines are set before work starts, and no price is stated here.
Can we run GnuPG in a hybrid mode during the transition?
The sources describe a composite approach: Kyber is paired with a classical curve in the composite algorithms that GnuPG names, such as ky1024_cv448, which is ML-KEM-1024 composed with X448, per the 2024 Koch post. That post was not a published draft, so the full list of composites in current releases should be confirmed against the 2.5 release notes and manual. Plan any hybrid rollout on that basis and test it in a non-production environment first.
How DeployOpen plans and tests a GnuPG post-quantum upgrade
DeployOpen approaches a GnuPG post-quantum upgrade as a scoped engineering project. We start by inventorying the keys, subkeys, installed versions and services that depend on GnuPG, then agree on what changes and what stays. Each step is documented so your security and compliance teams can review what was done.
How we scope
- We inventory installed GnuPG versions, key types and the workflows that use them before any change is proposed.
- We agree the scope in writing, naming which keys, archives, repositories and key servers are in and out.
- Engagements are fixed-scope, with deliverables and timelines confirmed before work starts; ongoing support is available as a retainer.
How we build
- We confirm which GnuPG release supports the Kyber-based PQC algorithms you need, since the 2.5 series introduced them and 2.4 has reached end-of-life.
- We test key generation, import, export and agent protection in a staging environment that mirrors your production signing and verification paths.
- We check that existing signatures and encrypted archives still verify and decrypt after the upgrade, and document any that need re-signing or re-encryption.
How we hand over
- You receive a written record of the versions, configuration settings, key changes and test results for each system in scope.
- The handover lists open items the vendor has not yet addressed, such as the planned but undocumented handling of quantum-resistant signatures.
- Your team gets a runbook for generating new PQC subkeys and for rolling back a change if a verification step fails.
How we support
- After handover we can retest the environment when GnuPG releases a new version or when the end-of-life dates for your branch change.
- Upgrades and continuous testing are available under a retainer, so changes to keyservers or dirmngr settings are checked as they happen.
- We recommend confirming current vendor statements on roadmap and deprecation directly with The GnuPG Project before each planning cycle.

