Which OpenPGP functions depend on RSA and elliptic-curve keys today
Security leads need to know which OpenPGP message signing, message encryption and key exchange steps depend on public-key algorithms. RFC 9580, the current OpenPGP specification published through the IETF in July 2024, defines RSA, DSA, Elgamal, ECDSA, EdDSA, Ed25519, Ed448, ECDH, X25519 and X448 for signatures or key exchange. The post-quantum algorithms are defined only in RFC 9980, Post-Quantum Cryptography in OpenPGP, which was published as a Proposed Standard in June 2026, and they appear in GnuPG 2.5 as Kyber, also called ML-KEM. The sources listed on this page do not show a vendor-wide default switch to post-quantum keys, so the default key type in any given deployment has to be confirmed in its own configuration.
The people who need to act on this are those who generate or hold OpenPGP keys, those who set client or gateway defaults, and those who answer vendor questionnaires about the software they run. In practice, that means checking which signing keys, encryption subkeys and key exchange paths are in use, and whether any of them are version 4 keys. RFC 9980 says post-quantum algorithms are used only in version 6 keys, with one exception: ML-KEM-768+X25519 (ID 35) may also appear in version 4 encryption-capable subkeys. Any organization that depends on version 4 keys therefore cannot assume post-quantum coverage by upgrading the client alone. Teams should also confirm whether their GnuPG deployment has --allow-9980 enabled, because the manual says that option is needed before some RFC 9980 data formats are processed.
For GnuPG, the --quick-generate-key command accepts pqc as an algorithm value, and the manual describes that as creating a key with a quantum-resistant encryption subkey. The manual also says Kyber keys are composite keys paired with an ECC key, so a Kyber key still carries an elliptic-curve component. Teams that want the post-quantum path should test key generation, export and import in a staging environment, and ask their vendor whether the software version in use supports the algorithm IDs they need. Sequoia's November 2025 post described the post-quantum draft as pre-release only, so the version and build options matter as much as the algorithm name.
Which OpenPGP public-key algorithms apply to which function, by standard and GnuPG version
This table compares the public-key algorithms in RFC 9580, the post-quantum IDs in RFC 9980 and the Kyber entries in GnuPG 2.5.16 and 2.5.18, grouped by signature, key exchange and legacy use. Read each row against its source and date, because the sources do not cover every algorithm or every GnuPG release. The main takeaway is that RFC 9580 algorithms are classical, RFC 9980 adds post-quantum IDs restricted to version 6 keys (with one exception), and GnuPG's Kyber support is documented only in its release notes and a mailing list reply.
| Function and standard | Algorithms or IDs | Level or restriction | Source and date |
|---|---|---|---|
| Signature, RFC 9580 (July 2024) | RSA, DSA, ECDSA, Ed25519, Ed448 | Defined for signatures; version 4 and version 6 keys | RFC 9580, July 2024 |
| Key exchange, RFC 9580 (July 2024) | Elgamal, ECDH, X25519, X448 | Defined for key exchange; Elgamal is legacy | RFC 9580, July 2024 |
| Legacy, RFC 9580 (July 2024) | EdDSA (legacy), DSA, Elgamal | EdDSA legacy is deprecated in favor of Ed25519 and Ed448 | RFC 9580, July 2024 |
| Post-quantum signature, RFC 9980 (June 2026) | ML-DSA-65+Ed25519 (ID 30), ML-DSA-87+Ed448 (ID 31), SLH-DSA variants (IDs 32 to 34) | ID 30 MUST; ID 31 SHOULD; IDs 32 to 34 MAY; version 6 keys only | RFC 9980, June 2026 |
| Post-quantum key exchange, RFC 9980 (June 2026) | ML-KEM-768+X25519 (ID 35), ML-KEM-1024+X448 (ID 36) | ID 35 MUST; ID 36 SHOULD; ID 35 also allowed in version 4 encryption subkeys | RFC 9980, June 2026 |
| Kyber in GnuPG 2.5.16 (December 30, 2025) | Kyber (ML-KEM, FIPS-203) encryption | Release notes name Kyber as a post-quantum encryption algorithm | GnuPG 2.5.16 announcement, December 30, 2025 |
| Kyber in GnuPG 2.5.18 | Kyber listed among public-key algorithms in gpg --version output | Shown in a developer reply; ML-DSA is not mentioned | GnuPG users list, April 12, 2026 |
| Not covered by these sources | Current built-in default key algorithm in GnuPG; ML-DSA support in GnuPG; CNSA 2.0 position | Confirm with the GnuPG project and the RFC 9980 text in your own environment | Sources listed on this page do not say |
Which parts of OpenPGP signing, encryption and key handling use public keys
OpenPGP uses public-key cryptography in four separate places: signatures, session key encryption, secret key protection and key generation. Each one answers the dependency question differently, so triage them one at a time rather than as a single yes or no.
Message signatures
Signatures are created with the signing key of a version 4 or version 6 key, and RFC 9580 requires that version 6 keys produce version 6 signatures and that version 3 signatures must not be created. The public-key algorithms that sign include RSA, DSA, ECDSA, Ed25519 and Ed448, so a signature check on any message depends on one of them. Check which key versions your installed tools generate and which algorithms your keys use, and confirm that no version 3 signatures are produced. Post-quantum signature IDs in RFC 9980 are defined only for version 6 keys.
RFC 9580Public-key encryption of session keys
Encrypted messages wrap a symmetric session key with the recipient's encryption subkey, which uses ECDH, X25519 or X448 in RFC 9580. In GnuPG 2.5.16 and later, Kyber (ML-KEM) is available as a post-quantum encryption algorithm, and RFC 9980 pairs ML-KEM with X25519 or X448 in a composite scheme. The message content itself is protected by a symmetric cipher such as AES, so the public-key step is what determines exposure. Confirm which encryption subkey algorithm each recipient key uses before deciding whether a dependency exists.
GnuPG 2.5.16 announcementSecret key protection
The passphrase that protects a secret key is turned into an encryption key through a string-to-key (S2K) method, and this step is separate from the public key itself. RFC 9580 says Argon2 is recommended, that Argon2 is valid only with AEAD protection, and that implementations must not generate Simple S2K. In GnuPG, --s2k-cipher-algo defaults to AES-256 and --s2k-digest-algo defaults to SHA-1, so check these settings on every system that holds private keys. Protecting the private key matters even when the public-key algorithm is unchanged.
GnuPG OpenPGP optionsKey generation defaults
The algorithms a new key receives are set by --default-new-key-algo, and --quick-generate-key takes an algo value of default, future-default or pqc. Per the GnuPG manual, pqc creates a key with a quantum-resistant encryption subkey, and the manual gives rsa2048/cert,sign+rsa2048/encr as its example of the option's format. The sources do not state the current built-in default key algorithm, so confirm it on each installed version with gpg --version and by inspecting generated keys. Keys already in circulation keep their algorithms until they are rotated.
GnuPG key managementHow the OpenPGP answer changes by key version and GnuPG line
Version 4 keys are the format most OpenPGP users hold today, and RFC 9580 still defines them. Under the standard, version 4 keys use version 4 signatures, and the classical public-key algorithms such as RSA, DSA, ECDSA, EdDSA and ECDH remain the defined options for them. RFC 9980 keeps post-quantum algorithms out of version 4 primary keys, with one exception: ML-KEM-768+X25519 (algorithm ID 35) may be used in a version 4 encryption-capable subkey.
- Classical signatures stay in place: RSA and elliptic-curve signing keys on version 4 primaries are not changed by RFC 9980.
- Hybrid encryption subkey is the only PQ path: ML-KEM-768+X25519 may appear in a version 4 encryption subkey, and the RFC does not allow it for signing.
- Version 3 signatures are not created: RFC 9580 says version 3 signatures MUST NOT be created.
- Algorithm choice is set per key: Your existing version 4 keys keep the algorithms they were generated with unless you generate new keys.
Confirm which key versions and algorithms your keyrings hold by listing them with your installed GnuPG or sq build, and record the output with the date. The sources do not say how widely version 4 keys will be replaced, so do not assume a schedule.
Version 6 keys are the format RFC 9580 defines for newer OpenPGP implementations, and RFC 9980 is the document that says where post-quantum algorithms are used in them. Under RFC 9980, post-quantum algorithms are to be used only in version 6 keys, apart from the version 4 subkey exception described above. The standard names composite ML-DSA with EdDSA for signatures, composite ML-KEM with ECC for encryption and SLH-DSA as a standalone signature scheme.
- Signature algorithms named: ML-DSA-65+Ed25519 (ID 30) is MUST, ML-DSA-87+Ed448 (ID 31) is SHOULD, and three SLH-DSA variants (IDs 32 to 34) are MAY.
- Encryption algorithms named: ML-KEM-768+X25519 (ID 35) is MUST and ML-KEM-1024+X448 (ID 36) is SHOULD.
- Key combination method: RFC 9980 combines ML-KEM and ECDH key shares with SHA3-256 under the domain separator "OpenPGPCompositeKDFv1" and wraps the session key with AES-256 under RFC 3394.
- Standards referenced: The RFC uses FIPS 203, FIPS 204 and FIPS 205 as normative references.
- Status: RFC 9980 was published as a Proposed Standard in June 2026, so implementations are still adopting it.
Confirm with each product whether it generates and verifies version 6 keys and these algorithm IDs. The sources record the standard, not which products have shipped it.
GnuPG 2.5.16, released December 30, 2025, adds Kyber (also called ML-KEM or FIPS-203) as a post-quantum encryption algorithm, and the release announcement declares the 2.5 series stable. A GnuPG developer reply dated April 12, 2026 shows gpg --version output for GnuPG 2.5.18 listing Kyber among public-key algorithms. That reply does not mention ML-DSA, so signing support is not recorded in these sources.
- Kyber is an encryption algorithm: The sources record Kyber in GnuPG 2.5 as a public-key encryption option, not as a signing option.
- Key generation shortcut: The --quick-generate-key option accepts "pqc" as the algo value to create a primary key with a quantum-resistant encryption subkey, and the manual says so.
- Composite keys: The export documentation describes Kyber keys as composite keys paired with an ECC key, which the manual calls a PQ/T hybrid key.
- Opt-in RFC 9980 processing: The --allow-9980 option allows processing of some data formats from RFC 9980, and "pqc9980" may be used as the algo value with it.
- Version check: Run gpg --version on each host and confirm that Kyber appears in the public-key list.
Confirm with GnuPG which 2.5 release you are running, and whether your signing workflows need ML-DSA support. The sources do not record ML-DSA in GnuPG.
The GnuPG 2.5.16 announcement says the 2.4 series reaches end of life in about six months from its December 30, 2025 release. That places end of life around mid-2026, and the sources do not give an exact date. Installations still on 2.4 therefore have no post-quantum option from the 2.5 line, and the announcement does not describe a backport.
- Post-quantum algorithms are not recorded for 2.4: The sources record Kyber for 2.5, not for 2.4.
- End of life is approximate: The announcement says about six months, so confirm the exact support end date in the GnuPG release notes before recording it.
- Distribution packages may lag: Operating system packages can ship a different GnuPG branch from upstream, so check the version your system actually runs.
- Migration path is the 2.5 series: The sources point to 2.5 as the stable line that carries Kyber.
Confirm the installed GnuPG version on each system and the support end date with your distribution or GnuPG. The sources do not say whether any downstream vendor will extend 2.4 support.
Sequoia's November 15, 2025 blog post records post-quantum support as pre-releases only, sq 1.4.0-pqc.1 and sequoia-openpgp 2.2.0-pqc.1. Post-quantum support is limited to the OpenSSL backend, and the other four backends are described as planned. The author says official releases would follow ratification of the standard, and does not expect exclusive use of post-quantum cryptography to be practical for the next few years because of limited interoperability.
- Pre-release status: The post-quantum code is recorded as pre-release, not as a supported release.
- Backend requirement: Only the OpenSSL backend is recorded with post-quantum support, so the crypto-openssl feature must be enabled at build time.
- Example command (illustrative): The post places the key generation step with --cipher-suite mldsa65-ed25519 and --profile rfc9580 after building with the crypto-openssl feature.
- Interoperability caveat: The author expects limited interoperability, which matters for mixed fleets.
- Date sensitivity: This record is from November 2025, so newer Sequoia releases may have changed these details.
Confirm the current sq release and backend list in the Sequoia project before relying on this. The sources do not record a supported post-quantum release from Sequoia.
How to record your OpenPGP public-key dependencies
This sequence produces a dated record of every OpenPGP key, algorithm and setting in your environment that depends on RSA or elliptic-curve cryptography. Use it to triage which data flows and logins need attention before any post-quantum change is planned.
Inventory every key version and algorithm
Export the public keys your teams and systems use, then record each key's version (4 or 6), its primary algorithm and each subkey's algorithm and purpose. RFC 9580 defines version 4 and version 6 keys, and version 6 keys use different signature rules, so the version must be captured for each key. Your inventory is complete when every key appears once with its version and algorithms listed, and you can point to the export command or keyring listing that produced it.
Record GnuPG and Sequoia builds
Run
gpg --versionfor GnuPG andsq --versionfor Sequoia on every host that performs OpenPGP operations, and note the exact release string. GnuPG 2.5.16 added Kyber as a post-quantum encryption algorithm, and a developer reply dated April 12, 2026 shows Kyber in the output for GnuPG 2.5.18. Post-quantum support in Sequoia, as of its November 15, 2025 blog post, existed only in pre-release builds (sq 1.4.0-pqc.1) and only in the OpenSSL backend. The check is complete when each host has a recorded build string and you have marked whether it is a stable release or a pre-release.Check symmetric and S2K settings
Query the configuration on each host for
s2k-cipher-algo,s2k-digest-algo,personal-cipher-preferencesanddefault-preference-list, then compare the values with the documented GnuPG defaults. The GnuPG manual documents AES-256 as the default S2K cipher and SHA-1 as the default S2K digest, and it identifies MD5 as the only digest weak by default. Note any setting that differs from those defaults and any that is absent from the configuration file. The check is complete when each host has a recorded set of values and a clear flag on each deviation.Identify RSA and ECC only keys
For each key in the inventory, determine whether it uses only RSA or elliptic-curve algorithms, with no post-quantum component. Check the algorithm list from step one, and flag any key whose primary or subkeys are RSA, DSA, Elgamal, ECDSA, EdDSA, ECDH, X25519 or X448. RFC 9580 notes that these algorithms are used for signatures or key exchange. The check is complete when every key carries a single label, either RSA or ECC only or a post-quantum or hybrid designation, and you can list the flagged keys by name.
Confirm the 2.5 and pre-release status
Compare each host's build from step two against the GnuPG 2.5 series and the Sequoia pre-release facts, and record whether the build supports post-quantum algorithms at all. Note also whether the
--allow-9980option is set, because the GnuPG manual says it enables processing of some RFC 9980 data formats. The check is complete when each host has a recorded support status and the--allow-9980setting, and any host without a 2.5 or pre-release build is marked as not supporting post-quantum algorithms.Record the check date for each entry
Attach the date of every check to its entry in the inventory, using the date on which the command was run rather than the date of this document. Post-quantum support in GnuPG and Sequoia has changed within months, so an undated record cannot show what was true when it was made. The check is complete when every row in the record has a date, and the record names the person who ran each check.
Confirm each entry with the vendor
Where a result is unclear, confirm it against the GnuPG or Sequoia documentation or with the maintainers, rather than inferring it. The sources listed on this page do not state the current built-in default key algorithm in GnuPG, so confirm that value on your own hosts with
--default-new-key-algoset to the value you observe. The check is complete when every open question in the record has a source or a named confirmation, and no entry rests on an assumption.
What the sources do not say about OpenPGP post-quantum support
The sources read for this page leave several questions open about how OpenPGP implementations handle post-quantum keys today. Each gap below names what the sources do not establish and who to ask, so teams triaging public-key exposure can get answers from the maintainers rather than assume them.
Current GnuPG default key algorithm
The pages read for this topic do not state the built-in default key algorithm GnuPG uses when no option is set. The manual's example for --default-new-key-algo is rsa2048 for both certify and sign and for encryption, which is an example, not the default. Ask the GnuPG maintainers which algorithm gpg uses by default in the version you run, and check the output of gpg --version and a test key generation on your own build. Do not assume the default from the manual example.
GnuPG esoteric optionsML-DSA absent from GnuPG's April reply
The April 12, 2026 developer reply on the gnupg-users list confirms that Kyber can be used in GnuPG 2.5 for encryption. It does not mention ML-DSA, so the sources do not establish whether GnuPG can create or verify post-quantum signatures. Ask the GnuPG developers whether ML-DSA signing is planned or supported in any 2.5 release, and in which version. Until they answer, treat post-quantum support for signatures as unconfirmed.
GnuPG users list replyNo CNSA 2.0 statement in RFC 9980
The pages opened for RFC 9980 contain no CNSA 2.0 statement, so no position from that standard can be reported here. Any requirement from the NSA's CNSA 2.0 suite that a commercial deployment must meet would come from a contract or customer requirement, not from this RFC. Ask the OpenPGP implementation maintainers and your federal customer, if you have one, which CNSA 2.0 parameter sets they expect, and check the NSA's own published guidance for the wording that applies.
RFC 9980 textNo vendor-wide switch to post-quantum keys
The sources record no vendor-wide default switch to post-quantum keys in GnuPG or Sequoia. The GnuPG manual describes --quick-generate-key with a pqc option, which creates a key with a quantum-resistant encryption subkey on request, and the Sequoia post-quantum work was pre-release as of November 2025. Ask each maintainer whether a default change is planned, which release it would appear in, and whether existing RSA and ECC keys would be migrated or only new keys created.
Sequoia PQC postWhat can go wrong when moving OpenPGP keys toward post-quantum algorithms
The main risk in moving OpenPGP toward post-quantum algorithms is that the switch is narrower than it looks. RFC 9980 limits post-quantum algorithms to version 6 keys, with one exception: ML-KEM-768+X25519 (ID 35) may also appear in version 4 encryption-capable subkeys. Any inventory that treats a post-quantum label as applying to a whole key pair should be checked against the key version. Security leads should confirm which key versions exist in their keyrings and keyservers before reporting any key as post-quantum.
Processing is a second constraint. In GnuPG, some data formats defined by RFC 9980 are only handled when --allow-9980 is set, and the manual says pqc9980 may also be used as the algo value with it. Teams that rely on GnuPG to read or generate these formats should test that the option is set in the scripts, mail clients and automation that call it. The GnuPG manual also describes Kyber keys as composite keys paired with an ECC key, so a post-quantum encryption subkey does not remove the classical component. Sequoia's November 2025 post reports only pre-release support, available in its OpenSSL backend, and says the author did not expect exclusive use of post-quantum cryptography to be practical for the next few years because of limited interoperability. Mixed deployments should expect some recipients to be unable to read post-quantum messages.
Several defaults in the sources remain classical. The GnuPG manual's example key algorithm is rsa2048/cert,sign+rsa2048/encr, the documented default for --s2k-digest-algo is SHA-1, and the documented default for --s2k-cipher-algo is AES-256. The sources do not state the current built-in default key algorithm, so teams should run gpg --version and check --default-new-key-algo and --default-preference-list in their own configuration rather than assume they have changed. Confirm these settings in each environment before relying on any post-quantum profile.
Common questions about OpenPGP public-key dependencies
Is OpenPGP quantum safe?
No product or message format can be called quantum safe on the strength of the sources listed here. OpenPGP is an open IETF message-format standard, and its current specification, RFC 9580 (July 2024), defines RSA, DSA, Elgamal, ECDSA, EdDSA, Ed25519, Ed448, ECDH, X25519 and X448 for signatures and key exchange, all of which rely on public-key cryptography that a large quantum computer could break. Post-quantum algorithms are defined separately in RFC 9980, published as a Proposed Standard in June 2026. Whether a given OpenPGP deployment is post-quantum depends on which keys it uses and which client software it runs, so check each key version and each client's configuration rather than treating the standard as a single answer.
Which OpenPGP key version do we need for post-quantum algorithms?
RFC 9980 says post-quantum algorithms are used only in version 6 keys, with one exception: ML-KEM-768+X25519 (algorithm ID 35) may also appear in version 4 encryption-capable subkeys. RFC 9580 requires version 6 signatures for version 6 keys and version 4 signatures for version 4 keys, and it forbids creating version 3 signatures. Inventory your keys by version before planning anything, because a version 4 primary key will generally need replacing rather than upgrading. Confirm with your client vendor which key versions their tools generate and whether they support RFC 9980 algorithm IDs.
Does post-quantum OpenPGP support cost extra?
The sources listed here do not state any price for post-quantum OpenPGP support, and GnuPG and Sequoia are open-source projects whose licenses do not, on their own, carry a fee. The cost you will actually bear is usually labor and rework: upgrading client software, generating new keys, redistributing public keys to correspondents, and updating any tooling or keyservers that store them. Costs recur when keys rotate and when clients fall behind the standard. Ask your vendor or integrator for a quote that separates one-time key migration from ongoing key management, and ask which client versions your correspondents must run to read the new keys.
What breaks when we move OpenPGP keys to post-quantum algorithms?
Several things can break, and the sources list them as things to check rather than guarantees:
- Correspondents running clients that do not yet implement RFC 9980 may be unable to encrypt to or verify your new keys.
- Keyservers and key-distribution tooling may not accept version 6 keys or the new algorithm IDs.
- Existing automation that assumes RSA or ECC key formats may fail on composite keys.
- Default preference lists may still advertise classical algorithms, so keys and clients may not negotiate the new ones.
Test these paths with a representative set of correspondents before cutting over.
What should we ask GnuPG and Sequoia about post-quantum support?
Ask each project for its current, dated status rather than a general commitment. For GnuPG, ask which version supports the Kyber (ML-KEM) encryption algorithm, whether ML-DSA signatures are supported, how the --allow-9980 option and pqc9980 algo value behave, and when the 2.4 series reaches end of life; the GnuPG 2.5.16 announcement from December 30, 2025 says about six months. For Sequoia, ask whether a stable release has followed ratification of the standard, which backends beyond OpenSSL support post-quantum keys, and whether the pre-release sq 1.4.0-pqc.1 has been superseded. Also ask each for their interoperability position with clients that do not yet support the new algorithms.
Can our own team inventory OpenPGP key dependencies, or do we need outside help?
Your own team can usually run the inventory, and it is a reasonable first step. Start by listing every OpenPGP key by version, algorithm, creation date and owner, along with the client and keyserver each one touches. Then record which RFC 9580 public-key algorithms each key uses for signing and for encryption. If the inventory uncovers custom integrations, legacy keys, or many clients across departments, an outside integrator can help with the migration work. DeployOpen plans and implements open-source platform changes inside a client's own environment on a fixed scope agreed in writing; it does not issue audit reports or attestations.
Does GnuPG generate post-quantum keys by default?
The GnuPG manual documents a quick-generation option that accepts "pqc", which the manual describes as creating a key with a quantum-resistant encryption subkey. The sources listed here do not state the current built-in default key algorithm, so do not assume a new key is post-quantum unless you specify it. Check the algorithm of each generated key with your own tooling. Note that the manual describes Kyber keys as composite keys paired with an ECC key, so verify both halves of any key you create.
How DeployOpen helps teams inventory OpenPGP public-key use
DeployOpen works on which OpenPGP functions depend on RSA and elliptic-curve keys by first fixing the scope in writing, then testing the actual key types, algorithms and settings in your environment. The result is a documented inventory that your security and compliance teams can review and keep current.
How we scope
- Engagements are fixed-scope, with the systems, key types and OpenPGP clients agreed in writing before work starts.
- The scope names which signing, encryption and key-exchange functions are in and out of the inventory.
- We confirm which GnuPG, Sequoia or other OpenPGP versions your teams run, since support differs between them.
How we build
- We check key versions, algorithm IDs and default key-generation settings against RFC 9580 and your installed tools.
- We review personal cipher and digest preferences, S2K settings and any weak-algorithm allowances in your configuration.
- We record which keys are RSA, ECDSA, EdDSA or ECDH, and which are version 4 or version 6, in a dated inventory.
How we hand over
- You receive a written inventory listing each OpenPGP function, the public-key algorithm it depends on and the version it applies to.
- The report states which findings are confirmed in your environment and which need a vendor answer to close.
- We provide the configuration commands and settings used during testing, so your engineers can repeat the checks.
How we support
- Ongoing support is available as a retainer for re-running the inventory as OpenPGP clients and standards change.
- We can retest after you change key-generation defaults or enable post-quantum options, and update the inventory to match.
- Confirm with your vendors any post-quantum support status before relying on it, since sources on this page are dated.

