Where GnuPG uses cryptography: key pairs, signatures, encryption and key servers

GnuPG uses public-key cryptography for signatures, encryption, SSH authentication and certificate checks. This entry lists each area to record in your cryptographic inventory and how to collect the details.

On this page

Where GnuPG uses cryptography and why it belongs in your inventory

An engineer or security lead building a cryptographic inventory needs to record every place GnuPG uses cryptography, not only the signing workflow that comes to mind first. The areas to capture are key pairs and signatures, encryption of files and messages, the gpg-agent and its SSH support, certificate and OCSP checks performed by dirmngr, and key server lookups. Each one belongs in the inventory because each depends on public-key algorithms or on keys whose lifetime may outlast current algorithm choices. The entry should be owned by the release engineering or security team that holds the signing keys, since that team can confirm which keys exist, where they are stored and which GnuPG version runs on each machine that uses them.

Key pairs come first. GnuPG creates OpenPGP keys through gpg --quick-generate-key or unattended generation, and the algorithm chosen at creation sets which public-key scheme protects each primary key and subkey. The GnuPG manual says the pqc value yields a key with a quantum-resistant encryption subkey, and the 2.5.22 announcement says the 2.5 series introduced Kyber (ML-KEM) as a PQC encryption algorithm. The inventory should list each key by fingerprint, algorithm and subkey type, because the default for new keys is still RSA according to the manual page checked on 2026-12-04. Confirm the installed version with the vendor's download page before treating any listed algorithm as available on your build, since 2.4 has reached end of life and receives no more updates.

The gpg-agent and dirmngr components carry their own cryptographic settings. The agent handles passphrase protection and, when enable-ssh-support is set, SSH authentication using keys marked for that use. Dirmngr verifies hkps certificates through the system CAs unless an hkp-cacert directive is set, and it rejects OCSP requests unless --allow-ocsp is given. Record those settings per host, along with the keyserver in use, because the dirmngr manual states there has been no default keyserver since version 2.5.3. Ask the owning team to confirm whether any key-server lookup or OCSP check runs in an environment that the inventory will later need to cover.

Which GnuPG areas use cryptography, and which depend on public keys

This table lists each GnuPG area that uses cryptography, what it protects, the algorithm family the sources name, whether it depends on public-key algorithms, and where it is configured. Rows marked undocumented have no source detail here, so confirm them with the GnuPG project before recording an answer. Use it as the starting point for an inventory, then check each setting against your own installed version.

AreaWhat it protectsAlgorithm family and public-key dependenceWhere it is configured
Key pairs and signaturesIdentity of key holders and integrity of signed data and third-party key signaturesPublic-key. Key-Type sets the primary key algorithm (RSA or ECC); the sources name RSA 2048 and 3072 as current defaults and ed25519 as a planned default. Depends on public-key algorithms: truegpg --quick-generate-key; unattended key generation parameters (Key-Type, Key-Length, Key-Curve); --default-new-key-algo
EncryptionConfidentiality of messages and files sent to a recipient keyPublic-key encryption subkeys (RSA, ECC such as cv25519, and Kyber as ML-KEM in composite form from GnuPG 2.5). Depends on public-key algorithms: truegpg --quick-generate-key with algo values default, future-default or pqc; --export-options=mode1003 for the GNU-specific extension
Passphrase protection of secret keysSecret key material at rest, protected by a passphrase-derived keySymmetric encryption with a passphrase-derived key. The sources name AES-256 as the s2k cipher default and SHA-1 as the s2k digest default. Depends on public-key algorithms: false--s2k-cipher-algo, --s2k-digest-algo, --s2k-mode, --s2k-count (gpg); --default-cache-ttl and minimum passphrase length (gpg-agent)
gpg-agent and SSH authenticationPrivate key operations and SSH logins that use GnuPG-held keysKeys held by gpg-agent for SSH use the agent's key handling. Whether a given key is used depends on its keygrip and public-key type. Depends on public-key algorithms: true, where the held key is RSA or ECCenable-ssh-support (SSH_AUTH_SOCK); Use-for-ssh attribute in key files; sshcontrol file (deprecated per the sources)
Certificate checks in dirmngrValidation of S/MIME and TLS certificates and OCSP responses used during key and certificate lookupsCertificate validation uses X.509 signatures and TLS. The sources do not name a specific algorithm family for dirmngr checks. Depends on public-key algorithms: true, as certificate signatures are public-key. Confirm exact algorithm handling with the project--allow-ocsp, --ocsp-max-clock-skew, --ocsp-max-period (dirmngr); hkp-cacert directive; system CA store when no hkp-cacert is set
Key server accessAuthenticity and transport security of key lookups and uploadsTransport over hkps uses TLS, which relies on public-key certificates. No default keyserver is set in releases since 2.5.3. Depends on public-key algorithms: true, via TLS certificates. Algorithm details for the transport are undocumented in these sources; confirm with the projectdirmngr configuration: keyserver setting and hkp-cacert directive; the sources do not name a default keyserver

Which protocols GnuPG terminates or originates, and which settings choose their algorithms

GnuPG handles several protocols, each carrying different data and each with its own algorithm settings. The cards below separate OpenPGP, S/MIME, the SSH agent protocol, and the network traffic dirmngr makes, and name the option or configuration file that selects algorithms for each. Confirm the exact setting for your installed version against the manual pages before you record it in an inventory.

OpenPGP as defined by RFC 4880

OpenPGP is GnuPG's core format for signing, encrypting and exchanging keys, and the GnuPG home page states that GnuPG implements it as defined by RFC 4880. It carries signed and encrypted files, messages and key packets. Algorithms are chosen at key generation with gpg --quick-generate-key and the algo values in the Key Management manual, and at the default level through --default-new-key-algo. Check which algorithm each existing key uses, because the default applies only to new keys.

Key Management manual

S/MIME support

The GnuPG home page says the software supports S/MIME, which carries signed and encrypted email through X.509 certificates rather than OpenPGP keys. The sources listed on this page do not give the S/MIME algorithm options or the configuration files that select them. Confirm with the vendor and in the product documentation which certificate and cipher settings apply to your installed release, and inventory any S/MIME certificates separately from OpenPGP keys.

GnuPG home page

OpenSSH agent protocol through gpg-agent

gpg-agent can serve the OpenSSH agent protocol, so OpenSSH clients can authenticate with keys held in GnuPG. The agent manual says the protocol is always enabled on Unix and that SSH_AUTH_SOCK is set only when enable-ssh-support is given. Only keys named in the sshcontrol file, by 40-hex-digit keygrip, are offered for SSH. That file is deprecated in favor of a Use-for-ssh attribute in the key files, so record both where they exist.

Agent Configuration manual

HKPS keyserver traffic from dirmngr

dirmngr fetches and publishes keys over HKPS, the HTTP Keyserver Protocol over TLS. The dirmngr manual says there has been no default keyserver since version 2.5.3, so the server in use must be set by you. Without an hkp-cacert directive, dirmngr verifies HKPS certificates against the system certificate authorities. Record the keyserver addresses and the trust store in use, since both determine which TLS connections the host opens.

Dirmngr Options manual

OCSP requests from dirmngr

dirmngr can send OCSP requests to check whether a certificate has been revoked. The dirmngr manual says OCSP requests are rejected by default unless --allow-ocsp is set, so confirm whether that option is enabled on each host. The manual also sets the clock-skew and validity-period limits for OCSP responses. Identify which responder URLs these requests reach, because they show which certificate services each host contacts.

Dirmngr Options manual

Compliance mode and key length limits

The compliance manual sets the mode that governs which algorithms and key lengths GnuPG accepts. The default is --gnupg, and the --min-rsa-length and --require-compliance options apply to the de-vs mode. A value such as 3000 makes 2048-bit RSA and DSA keys non-compliant under that mode. Check which mode each deployment runs in, since the same key can be accepted in one mode and refused in another.

Compliance Options manual

Which GnuPG keys and certificates to record, by use

Signing keys are the primary key and any signing subkeys that create signatures on files, packages and releases. The primary key is created with the algorithm set by the key type, and the sources list the default new-key algorithms as RSA-based (rsa2048 or rsa3072) for the certification and signing capability, while the manual names ed25519 as the planned future default. The manual does not state that a post-quantum algorithm is a default for new keys, so record the algorithm each key actually uses.

  • Storage: Secret material is kept in the GnuPG home directory and used through gpg-agent, so record the home directory and the agent in each host's inventory.
  • Creation: Interactive creation uses gpg --quick-generate-key, and unattended creation uses a parameter file with Key-Type, Key-Length and, for ECC keys, Key-Curve.
  • Key-Length handling: The manual says Key-Length is ignored for ECC keys, so an ECC key's size is set by its curve rather than a length value.
  • Export and rotation: Export of secret keys is governed by gpg --export-secret-keys and the --export-options setting, and the holder of the secret key decides when to rotate it.
  • Signature validity: Third-party checks reject SHA-1 signatures by default, so record any use of --allow-weak-key-signatures.

For each signing key, confirm the algorithm, the creation command and who holds the export and rotation rights in your own environment.

How administrators and tools reach GnuPG and what protects each path

Administrators and tools reach GnuPG through four main paths: the gpg command-line interface, the gpg-agent socket that holds private key operations, the SSH agent protocol that gpg-agent can serve when enable-ssh-support is set, and the dirmngr process that fetches keys and checks certificates. Each path needs its own review because each one has different controls. The gpg-agent manual says the OpenSSH agent protocol is always enabled on Unix, but SSH_AUTH_SOCK is only set when enable-ssh-support is given. Only keys listed in the sshcontrol file, identified by their 40-hex-digit keygrip, are used for SSH, and the manual says that file is deprecated in favor of a Use-for-ssh attribute in the key files. Confirm which of the two mechanisms your deployment uses, because an old sshcontrol entry and a newer key attribute can both affect which keys an SSH client can reach.

Key server traffic goes through dirmngr. The dirmngr manual says there has been no default keyserver since version 2.5.3, so each deployment must name its own. Without an hkp-cacert directive, dirmngr uses the system CA store to verify hkps TLS certificates, so the trust decision moves to whatever CAs the host carries. Where a dedicated CA is required, set hkp-cacert explicitly and record the file in the configuration inventory. The manual also says OCSP requests are rejected by default unless --allow-ocsp is set, with a 600-second --ocsp-max-clock-skew and a 7776000-second (90-day) --ocsp-max-period. Confirm whether your environment needs OCSP at all before enabling it.

The --compliance options control which algorithms and key sizes the command accepts. The compliance manual says the default is --gnupg, and that --min-rsa-length and --require-compliance apply to the de-vs mode, where a value such as 3000 makes 2048-bit RSA and DSA keys non-compliant. The sources do not say how these modes interact with post-quantum key types, and they do not describe any remote or central administration of GnuPG. Treat remote management, fleet policy distribution and any central logging of gpg-agent or dirmngr activity as undocumented in the sources, and ask the GnuPG project or your packager how they are handled before relying on them.

How GnuPG releases and version branches are signed and supported

GnuPG ships through a download page, an announcement list and a set of version branches with different support windows. Knowing which channel is authoritative and which branches still receive updates tells you which builds to inventory and which to plan to replace.

The download page as the release reference

The GnuPG download page lists the current stable release, the legacy 1.4 release and the support status of each branch. On the date checked, 2026-12-04, it listed 2.5.24 (dated 2026-09-23) as the current stable release and 1.4.23 (dated 2018-06-11) as the legacy 1.4 release. Use it as the reference point when you record which version each system runs and whether that version is still supported. The sources listed on this page do not describe the signing scheme used on the release artifacts, so confirm it on the download page or with the project before you rely on it for verification.

GnuPG download page

The announcement list for release notes

Each GnuPG release is announced on the gnupg-announce mailing list, which records the changes that matter for cryptography, including new algorithms and fixed regressions. For example, the 2.5.22 announcement of 2026-08-31 introduced Kyber (ML-KEM, FIPS-203) as a PQC encryption algorithm in the 2.5 series. Subscribe or read the archive to track post-quantum changes for the versions in your inventory. Treat these notices as the project's own statements and check them against the release you install.

GnuPG 2.5.22 announcement

Branch 2.5 as the stable line

The 2.5 branch carries the current stable release and is listed as Long Term Support on the download page, with the end-of-life date still to be announced. Its post-quantum support, including Kyber key generation and key protection in the agent, is documented in the 2.5.12 and 2.5.14 announcements. Plan new deployments and upgrades around this branch, and confirm the end-of-life date with the project when it is published. Do not assume a date that the project has not yet given.

GnuPG 2.5.14 announcement

Branch 2.6 and its support status

The download page also lists branch 2.6 as Long Term Support, with the end-of-life date to be announced. The 2.5.22 announcement says that apart from PQC support, the 2.6 series will not differ much from 2.4. Check branch 2.6 on the download page before you standardize on it, because its end-of-life date is not yet set. Record which branch each host runs, not only the release number, so your inventory reflects the support window that applies.

GnuPG download page

End-of-life dates for branches 2.2 and 2.4

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. The 2.5.22 announcement confirms that 2.4 has reached end-of-life and will receive no more updates. Any host still running 2.2 or 2.4 no longer gets project updates, so flag those systems in your inventory for upgrade. Search your environment for these branches, including workstations and key servers, since they are easy to miss.

GnuPG download page

What you can verify and what the project controls

You can verify the version you run with the gpg version command, compare it against the download page and read the announcements for each release. The project controls which releases are published, the branch lifecycle and the end-of-life dates, and it has not announced an end-of-life date for branches 2.5 and 2.6 at the time of checking. The sources listed on this page do not say how the release artifacts are signed, so confirm that with the project before treating any signature check as a basis for trust.

GnuPG download page

Which fields to record for each GnuPG item in your inventory

This table lists the fields an inventory row needs for each GnuPG key, signature, encryption setting or key server source, with the defaults the GnuPG manuals state. Read the Notes column first, since several defaults depend on the version, the configuration file or the compliance mode in use. Record the value you find on each system, not only the default.

FieldWhat to recordStated default or note
Product and versionOutput of gpg --version, the branch (for example 2.4 or 2.5) and its end-of-life statusBranch 2.4 end-of-life 2026-06-30; branch 2.5 is Long Term Support, end-of-life date to be announced (GnuPG download page, 2026-12-04)
OwnerNamed person or team that owns the keyring, the agent and the keyNo default. Record the owner in your own system, since GnuPG does not track it.
Keyring and agent locationHome directory (GNUPGHOME), keyring files and the gpg-agent socket pathConfirm with gpgconf --list-dirs on each host.
Key type and size or curvePrimary key algorithm, Key-Length for RSA or Key-Curve for ECC keysDefault new-key algorithm is rsa2048 for certify and sign, with rsa2048 for encryption (rsa3072 is also listed as an option). The manual names ed25519 with cv25519 as the planned future default.
Subkey useEach subkey's usage flags (encrypt, sign, certify, authenticate) and whether it is post-quantum (Kyber or pqc)Kyber subkeys are implemented as composite keys (GnuPG manual, Operational GPG Commands).
Passphrase cache and s2k settingsdefault-cache-ttl, s2k-cipher-algo, s2k-digest-algo, s2k-mode and s2k-countdefault-cache-ttl 600 seconds; s2k-cipher-algo AES-256; s2k-digest-algo SHA-1; s2k-mode 3; s2k-count inquired from gpg-agent (GnuPG manuals).
Certificate or keyserver sourceWhere the public key came from: local import, a keyserver, a WKD source or a file, and the dirmngr configurationNo default keyserver since version 2.5.3. Without an hkp-cacert directive, dirmngr uses the system CAs to verify hkps TLS certificates (dirmngr manual).
Configurable or fixed by the projectWhether the setting can be changed by the operator or is fixed in the GnuPG build or releaseConfirm each setting against the manual for your version. Options such as --allow-weak-key-signatures and --allow-9980 change defaults only when given explicitly.
Confidentiality periodHow long the data protected by the key must stay confidential, recorded by the data ownerNo default. This value sets the priority of the item in a migration plan, so ask the data owner to state it.

Which GnuPG items depend on public-key algorithms and so fall in migration scope

Only inventory rows that rely on public-key algorithms belong in a post-quantum migration scope for GnuPG. Those rows include RSA and DSA keys, elliptic-curve keys such as the ed25519 and cv25519 pairs that GnuPG uses for its planned future default, and the Kyber-based composite keys that the 2.5 series introduced as pqc options. Engineers should walk the inventory key by key and record the algorithm and keygrip of each primary key and subkey, because a single OpenPGP key can mix an RSA signing subkey with an elliptic-curve encryption subkey. The GnuPG manual's key generation options, default, future-default and pqc, show that a key's algorithm is set per key, so the scope decision must be made per key, not per installation.

Rows that rely only on symmetric algorithms and hashes fall outside the public-key scope, though they still need review. The gpg manual sets the passphrase protection defaults to AES-256 for --s2k-cipher-algo and SHA-1 for --s2k-digest-algo, with --s2k-mode at 3. Those defaults protect secret key files with a passphrase rather than with a public key, so they do not by themselves place a row in migration scope. Confirm in your own environment whether any site overrides these values, because the manual gives defaults and does not show what your configuration files contain. Also note that third-party signatures made with SHA-1 are treated as invalid by default, so SHA-1 rows that touch signature verification need their own check.

For dependency detail, read the sibling topic on which GnuPG functions depend on RSA and elliptic-curve keys, which covers the data flows and logins that use public-key cryptography today. For upgrade needs, read the sibling topic on what a post-quantum upgrade of GnuPG involves. For support status, read the sibling topic on whether GnuPG supports post-quantum cryptography, and the one on the vendor roadmap and notices for the provider's own statements. Legacy key types and installed versions are covered in the sibling topic on GnuPG legacy keys and versions, and the full set of in-scope items appears in the sibling topic on post-quantum migration scope for GnuPG and OpenPGP keys.

How to gather GnuPG cryptographic details for the inventory

This sequence records the GnuPG version, the keys and their algorithms, the agent and dirmngr settings, and the key length defaults in one dated record. The output gives an inventory team a verifiable starting point for deciding which GnuPG functions depend on public-key cryptography.

  1. Confirm the installed GnuPG version

    Run gpg --version on each host that runs GnuPG, including workstations, build servers and any system that verifies signatures. Record the version string, the listed algorithms and the build options, because support for post-quantum algorithms depends on the release. Compare the result with the current stable release and the end-of-life dates on the GnuPG download page, and note the date of the check. The step is complete when every host has a version recorded against its name and date.

  2. List public and secret keys

    Run gpg --list-keys to list public keys and gpg --list-secret-keys to list the secret keys held on the same host. Note the key fingerprints, creation dates, expiry dates and the user IDs attached to each key. Keep a separate record for each home directory, because a host can hold more than one keyring. The step is complete when the public and secret keyring listings are saved for every home directory on the host.

  3. Check key algorithms and subkeys

    Run gpg --list-keys --with-colons or gpg --list-keys with the verbose option to read the algorithm number and key length for the primary key and each subkey. Record which subkeys carry the sign, encrypt, certify and authenticate capabilities. The manual pages in the sources describe the algorithm names used by gpg --quick-generate-key, including the pqc values, so use them to interpret what you see. A key created with an ECC algorithm shows a curve name rather than a bit length. The step is complete when each subkey has an algorithm, a length or curve and a capability recorded.

  4. Read the gpg-agent configuration

    Open the gpg-agent.conf file in the GnuPG home directory and record every directive that is set. Note whether enable-ssh-support appears, because it controls whether SSH_AUTH_SOCK is set. Check for a sshcontrol file, which lists keys by keygrip for SSH use, and check each key for a Use-for-ssh attribute. The gpg-agent manual describes the sshcontrol file as deprecated in favor of Use-for-ssh, so record both and note which one each host uses. The step is complete when the file contents and the SSH key selection method are written down for each host.

  5. Read the dirmngr configuration

    Open dirmngr.conf in the GnuPG home directory and record any keyserver, hkp-cacert, allow-ocsp and OCSP timing directives. The dirmngr manual says there has been no default keyserver since version 2.5.3, so a host without an explicit keyserver directive has none configured. Note whether hkps connections use a custom certificate authority or the system CAs, and whether OCSP requests are allowed. The step is complete when each keyserver in use and the TLS verification method for it are recorded.

  6. Read the key length defaults with gpgconf

    Run gpgconf --gpgconf-list to print the configured defaults for the running installation, including the key length values that the unattended key generation manual says are taken from this output. Also review the default values the gpg manual lists for the s2k settings, such as the cipher, digest and iteration count, and check whether the compliance option has been set to a stricter mode. Record each value next to the version and the date. The step is complete when the gpgconf output and the compliance setting are saved with the other host records.

  7. Record the output in a dated inventory file

    Collect the version, key listings, algorithm details, agent and dirmngr settings, and gpgconf output into one dated file per host, and give each file a consistent name so later checks can be compared. Mark the fields the manuals do not describe, such as the status of a particular composite algorithm in your build, as open questions for the GnuPG project or your distribution. Send the open questions to the project's mailing list or to the vendor that packages your build, and record the date you asked. The step is complete when each host has one file that another engineer can read and verify.

Questions engineers and vendor-risk reviewers ask about GnuPG inventory

Is GnuPG quantum safe?

The sources do not support calling GnuPG quantum safe, and this page does not make that claim. What the sources show is narrower: the GnuPG 2.5.12 announcement of 2025-09-02 says users can select Kyber variants when adding a subkey, and the 2.5.22 announcement of 2026-08-31 names the introduction of Kyber (ML-KEM, FIPS-203) as PQC encryption in the 2.5 series. Those statements cover encryption subkeys in the 2.5 series. The 2024 Koch post says quantum-resistant signature schemes were not yet available at that time, so the sources do not show post-quantum signatures. Confirm the current signature support with the GnuPG project and in your own key inventory before you record an answer.

Which GnuPG version should the inventory record?

Record the exact binary version on every host, from gpg --version, along with the packaged build if your distribution patches it. Do not record only the branch name. As of 2026-12-04 the GnuPG download page listed 2.5.24 (dated 2026-09-23) as the current stable release, and branch 2.4 has an end-of-life date of 2026-06-30. Branches 2.5 and 2.6 are listed as Long Term Support. Recording the version matters because the 2.5 announcements describe Kyber support and fixes that older builds may lack. Your distribution may ship an older 2.4 or 2.2 build, so check each host rather than assuming the upstream release is installed.

Does gathering GnuPG inventory data cost anything beyond staff time?

The sources do not state a cost for inventory work, and this page gives no figures. GnuPG is licensed under the GNU General Public License, according to the GnuPG home page checked on 2026-12-04, so the software itself carries no license fee to run the commands. The main cost is the time of the people who run the checks, collect the output and reconcile it with key owners. Costs that can rise include tooling to query many hosts, and the effort of tracing keys held in backups, developer keyrings and repositories. Ask any vendor or consultant for the scope in writing before work starts, so the quote can be compared on the same basis.

What will a GnuPG inventory not show?

A key listing does not show how a key is used in every workflow. Commands such as gpg --list-keys read a local keyring, so keys held in other keyrings, hardware tokens, agent-held secret keys or backups may be missed. The sources also note that the agent handles SSH use differently: only keys listed in the sshcontrol file, or marked with a Use-for-ssh attribute in the key files, are used for the SSH protocol, so an SSH dependency may not appear in a standard key list. Keyserver and dirmngr behavior depends on configuration, and the dirmngr manual says there has been no default keyserver since version 2.5.3. Record the configuration of each host alongside the key list.

What should we ask the GnuPG project before we rely on post-quantum support?

Ask the project to confirm, for the exact version you run, which algorithms are supported for encryption and for signing, and whether any post-quantum option is a default for new keys. The manual page for --default-new-key-algo, checked 2026-12-04, still gives RSA as the default, and names a planned future default that is not post-quantum, so this question is worth asking directly. Also ask whether the project plans to add post-quantum signature schemes, and what it has committed to for the 2.5 and 2.6 branches. Ask for dates in writing. Where the answer is not in a dated source, record it as unconfirmed.

Can our team complete a GnuPG inventory alone, or do we need outside help?

Many teams can complete the inventory with their own staff, since the work is mostly running documented commands, reviewing the output and assigning owners. Outside help is worth considering when keys sit across many servers, workstations and repositories, when the team has no clear owner for each key, or when an auditor will review the evidence. DeployOpen plans and supports self-hosted open-source platforms inside a client's own infrastructure, and prepares systems and evidence for compliance assessments, but it does not issue audit reports or attestations. Agree the scope in writing before any work starts, whether the work is done in-house or by a partner.

Do GnuPG keys need to be checked for legacy types before inventory?

Yes, record the key type and size of each key, since older keys may use algorithms that differ from the defaults. The gpg manual says that third-party key signatures made with SHA-1 are treated as invalid by default, and that the --allow-weak-key-signatures option overrides that. The compliance manual says the default compliance option is --gnupg, and that a --min-rsa-length value of 3000 makes 2048-bit RSA and DSA keys non-compliant in de-vs mode. Record which keys fall in each category, and note which hosts use the compliance settings, so the result can be reviewed with the key owners.

How DeployOpen works on this

DeployOpen builds a cryptographic inventory for GnuPG in four stages: scoping, building, handover and support. The inventory records where GnuPG creates key pairs, signs, encrypts and reaches key servers in your environment, which version and key types each system runs, and which settings apply. Each stage produces written, reviewable deliverables for your security and release teams.

How we scope

  • Agree in writing which GnuPG installations, workstations, build hosts and signing roles fall inside the inventory.
  • Confirm which GnuPG branches each system runs, such as 2.4 (end-of-life 2026-06-30) or 2.5 and 2.6 (Long Term Support).
  • Define which data flows count as in scope: signing keys, encrypted archives, package repositories and key server lookups.

How we build

  • Collect key inventories with gpg --list-keys and --list-secret-keys, recording algorithm, key length and subkey usage for each key.
  • Review gpg-agent and dirmngr configuration, including keyserver settings, OCSP handling and default key algorithms, on each host.
  • Document where keys are generated with unattended or interactive commands, and which flags such as pqc or future-default are in use.

How we hand over

  • Deliver a written inventory listing each system, GnuPG version, key types, owners, and the configuration settings found.
  • Provide a findings list that separates confirmed facts from items to verify with GnuPG Project documentation or your own testing.
  • Walk your security and release engineers through the inventory so they can maintain it after the engagement closes.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and periodic re-inventory are available as a retainer, which keeps the inventory current as versions change.
  • Ask any quote for the written scope, the systems covered, and whether the retainer includes re-running the inventory after GnuPG releases.

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.