Which OpenPGP functions depend on RSA and elliptic-curve keys

OpenPGP signing, encryption and key exchange rely on RSA, DSA, ECDSA, EdDSA, ECDH and X25519 keys today, and post-quantum algorithms appear only in RFC 9980 and in GnuPG 2.5 builds that support them.

On this page

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 standardAlgorithms or IDsLevel or restrictionSource and date
Signature, RFC 9580 (July 2024)RSA, DSA, ECDSA, Ed25519, Ed448Defined for signatures; version 4 and version 6 keysRFC 9580, July 2024
Key exchange, RFC 9580 (July 2024)Elgamal, ECDH, X25519, X448Defined for key exchange; Elgamal is legacyRFC 9580, July 2024
Legacy, RFC 9580 (July 2024)EdDSA (legacy), DSA, ElgamalEdDSA legacy is deprecated in favor of Ed25519 and Ed448RFC 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 onlyRFC 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 subkeysRFC 9980, June 2026
Kyber in GnuPG 2.5.16 (December 30, 2025)Kyber (ML-KEM, FIPS-203) encryptionRelease notes name Kyber as a post-quantum encryption algorithmGnuPG 2.5.16 announcement, December 30, 2025
Kyber in GnuPG 2.5.18Kyber listed among public-key algorithms in gpg --version outputShown in a developer reply; ML-DSA is not mentionedGnuPG users list, April 12, 2026
Not covered by these sourcesCurrent built-in default key algorithm in GnuPG; ML-DSA support in GnuPG; CNSA 2.0 positionConfirm with the GnuPG project and the RFC 9980 text in your own environmentSources 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 9580

Public-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 announcement

Secret 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 options

Key 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 management

How 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.

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.

  1. 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.

  2. Record GnuPG and Sequoia builds

    Run gpg --version for GnuPG and sq --version for 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.

  3. Check symmetric and S2K settings

    Query the configuration on each host for s2k-cipher-algo, s2k-digest-algo, personal-cipher-preferences and default-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.

  4. 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.

  5. 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-9980 option 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-9980 setting, and any host without a 2.5 or pre-release build is marked as not supporting post-quantum algorithms.

  6. 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.

  7. 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-algo set 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 options

ML-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 reply

No 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 text

No 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 post

What 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.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.