RPM and DEB signing legacy keys and tools in a post-quantum plan

Older RPM and DEB signing keys, signature formats and tool versions do not support post-quantum signatures, so the plan has to inventory them first and then move the keys and clients that rely on them.

On this page

Do legacy RPM and DEB signing keys block a post-quantum plan?

If you run a mixed fleet or own package repositories, the honest answer as of 2026-12-04 is that legacy keys do not block a plan, but they do shape its order. The sources listed on this page show post-quantum RPM signing only in RPM 6 with Sequoia on RHEL 10.1, and no post-quantum algorithm for APT repository signing or debsig-verify. Older RSA and DSA keys, MD5 and SHA1 digests, and RPM v4 packages will stay in place until you inventory them and retire them on a schedule you set.

Start by listing every key that signs or verifies packages: OpenPGP keys in your RPM keystore (rpmkeys --list), the keys in /etc/apt/keyrings and /usr/share/keyrings referenced by Signed-By, and the keyrings under /usr/share/debsig/keyrings. Record each key's algorithm and size, the signature types your RPM and DEB packages carry, and whether repo_gpgcheck, pkg_gpgcheck and gpgcheck_policy are set on each host. Fedora 43 still builds v4 packages by default, and the DNF5 defaults leave package checks off, so a fleet can look current while still accepting legacy signatures.

Your plan should treat DEB and RPM differently. On RPM, the path to post-quantum signatures runs through RPM 6 and the Sequoia backend, and the RHEL 10.1 sources describe that support as a technology preview. On DEB, you should confirm with Debian and your repository tooling before you commit a date, because the sources list here show no post-quantum support for APT or debsig-verify. Until that changes, keep your RSA and DSA keys under a documented rotation plan, keep MD5 and SHA1 out of any new repository, and confirm each client's APT and RPM version before you rely on any stronger setting.

Which RPM, APT and debsig-verify versions handle which signature types

This table lists each RPM, APT and debsig-verify version line in the sources, the signature types it handles, the post-quantum status its source states, and where that status comes from. RPM and DEB signing are separate mechanisms, so read each row against its own component. The main takeaway is that RPM 6 and RHEL 10.1 carry post-quantum signing only as stated by their sources, while the Debian sources cited here name no post-quantum algorithm for APT or debsig-verify.

Component and versionSignature types it handlesPost-quantum status stated by the sourceSource and date
RPM 6.0.0OpenPGP v6 signatures, with RSA and DSA in older v3 and v4 packages. v6 packages drop MD5 and SHA1 digests.Lists support for OpenPGP v6 and PQC keys and signatures. Does not name the algorithms or say any is on by default.RPM 6.0.0 release notes, released 2025-09-22
RPM 6.0.1Same signature types as RPM 6.0.0, with fixes for signature and keystore regressions.The release notes list crypto fixes only. They make no new post-quantum claim.RPM 6.0.1 release notes, released 2025-12-10
Fedora 43 default packagingGenerates v4 packages by default, so RSA and DSA signatures remain the default type.The change page describes PQC support in RPM 6.0 but does not state that it is on by default in Fedora 43.Fedora RPM 6.0 change page, last updated 2025-08-21
RHEL 10.1 hybrid ML-DSA-87 and Ed448 signingHybrid ML-DSA-87 and Ed448 RPMv6 signatures, with RSA signatures also present. Older systems validate only the RSA signature.Technology preview, not intended for production use. Works only with RHEL 10.1 packages and is not in upstream RPM releases.Red Hat Developer article, 2025-10-07; Red Hat blog, 2026-02-04
APT 2.9.19 sqv methodRelease file OpenPGP signatures checked through Sequoia instead of GnuPG on supported Debian platforms.The changelog names no post-quantum algorithm for this method.APT changelog, released 2024-12-23
APT 3.0.1 policy warningsRelease file signatures, with a warning for signatures the Sequoia crypto policy will reject within a year.The policy sets cut-offs for SHA224, Brainpool and RSA2048 keys. It names no post-quantum algorithm.APT changelog, released 2025-04-25
APT 3.3.0 sqv requirementRelease file signatures, with sqv required in builds on supported architectures unless pkg.apt.nosqv is set.The changelog names no post-quantum algorithm. Confirm current Debian support with Debian before relying on it.APT changelog, released 2026-05-01
debsig-verify keyring formatPer-package origin OpenPGP signatures, checked against OpenPGP keyrings in /usr/share/debsig/keyrings/. Keybox format is not accepted.The man page names no post-quantum algorithm. No Debian source cited here announces post-quantum support for debsig-verify.debsig-verify man page, Debian trixie

Which older RPM signature types still depend on RSA and DSA

The RPM manual lists several older signature tags that rely on public-key algorithms. PGP is OpenPGP with RSA (tag 3.0), GPG is OpenPGP with DSA (tag 3.0), and RSA and DSA (both tag 4.0) are the raw public-key signature types. The manual also lists MD5 and SHA1 digests as older tags. A package built before RPM 6 can therefore carry RSA or DSA signatures that a post-quantum client cannot verify. Teams should inventory which repository packages still carry these tags before planning any client change, because a fleet can hold a mix of package formats.

RPM 6 changes how these older signatures are treated. According to the Red Hat Developer article, RPM 6 ignores RPMv4 signatures when at least one RPMv6 signature is present, and if any signature fails verification, the whole verification fails. This means a package that carries both an RSA-based v4 signature and a newer v6 signature is checked against the v6 signature, while a failure in any signature blocks the package. Administrators should confirm, with the vendor and in their own test environment, how each target package format and client version handles mixed signatures before relying on this behavior.

The sources listed on this page do not say whether the RPM 6.0.0 default format, or the Fedora 43 default of v4 packages, changes the risk for a given repository. Check the %_rpmformat setting in build environments and confirm with the distribution which package format its repositories publish.

Which keys, tools and repository files need an inventory entry

RPM and DEB signing use separate mechanisms, so an inventory has to cover both keystores, both build macro sets and both client verification configurations. The cards below list the entries an administrator should record for each, and what the sources say about each one.

RPM keys in the keystore

The RPM keystore holds the public keys that rpm uses to verify packages. RPM 6.0.0 added rpmkeys --import and rpmkeys --export, rpmkeys --rebuild to regenerate the keystore, and an experimental keystore based on openpgp.cert.d. Record each imported key's fingerprint, algorithm and source, and check whether any host uses the experimental keystore. The RPM manual says the algorithm of an OpenPGP signature depends on the signing key, so an RSA or DSA key can sit in the keystore beside newer key types.

RPM 6.0.0 notes

Signing macros in build configuration

Build hosts select the signing backend and key through %_openpgp_sign, %_openpgp_sign_id and %_openpgp_autosign_id. In RPM 6.0.0, %_openpgp_sign accepts gpg or sq, and %_openpgp_sign_id defaults to %{?_gpg_name}. Record these values in every rpmbuild configuration file, including ~/.rpmmacros and /etc/rpm/, because a build that falls back to a default key may sign with a key that nobody listed. Also record whether %_rpmformat is set, since it selects the package format.

Default package format
v6
RPM 6.0.0 notes

DNF5 signature check settings

DNF5 decides whether to check signatures through gpgkey, repo_gpgcheck, pkg_gpgcheck, localpkg_gpgcheck and gpgcheck_policy. The DNF5 manual says repo_gpgcheck, pkg_gpgcheck and localpkg_gpgcheck each default to False, and that gpgcheck is a compatibility option governed by gpgcheck_policy, which defaults to legacy. Record these values for every repository file under /etc/yum.repos.d/ and every host-level override, since a repository that disables checks passes unsigned packages. Confirm the effective values with the configuration your fleet uses.

DNF5 configuration manual

Debian Signed-By keys

APT validates repository Release files against keys named in each source entry's Signed-By field. The apt-secure man page says keys live in /etc/apt/keyrings or /usr/share/keyrings, with .asc for armored keys and .gpg for binary keys. Record each key file, its fingerprint and the source entry that references it. The man page also says APT refuses unsigned repositories by default, so any entry with allow-insecure=yes or a global AllowInsecureRepositories setting needs its own line in the inventory.

apt-secure man page

debsig-verify policies and keyrings

debsig-verify checks per-package signatures against XML policy files in /etc/debsig/policies/<keyid>/ and OpenPGP keyrings in /usr/share/debsig/keyrings/<keyid>/. The debsig-verify man page says these keyrings must be in OpenPGP keyring format, not GnuPG keybox format, so a keyring exported in the wrong format will not load. Record each policy file and keyring pair, and check the keyring format on hosts that use per-package verification. Hosts without these files verify package signatures only where another tool does.

debsig-verify man page

How the RPM and DEB picture differs by distribution and version line

Red Hat signs RPM packages for RHEL 10.1 and later with a hybrid key pairing ML-DSA-87 and Ed448, the first such package being ipmitool-1.8.19-10.el10_1. Packages are also still signed with RSA, so the classical signature stays in place for systems that do not yet check the new one. Red Hat's Developer article describes PQC RPM signing on RHEL 10.1 as a technology preview not intended for production use, and says it works only with RHEL 10.1 packages because upstream RPM releases do not include it.

  • Technology preview status: the Red Hat Developer article of October 7, 2025 says this is not intended for production use.
  • Hybrid signing: packages carry both the ML-DSA-87 and Ed448 signature and an RSA signature.
  • RPMv6 format: the signing uses Sequoia-PGP tools in the RPMv6 format, per the Red Hat PQC page.
  • Verification rule: RPM 6 ignores RPMv4 signatures when at least one RPMv6 signature is present, and a failed signature fails the whole verification.
  • Algorithms: ML-DSA-65 with Ed25519 is also supported, and SLH-DSA is not implemented yet according to the same Developer article.

Check which packages on your RHEL 10.1 systems carry the PQC signature and confirm the signing key and macros with Red Hat before relying on them for any production decision.

How a legacy package reaches a fleet host and where the check fails

The path starts at the build host, which signs each package with an OpenPGP key: RSA or DSA for legacy packages, or hybrid ML-DSA and Ed448 on RHEL 10.1 with Sequoia. The signed package and repository metadata then move to the fleet host, where DNF5 or APT checks the signature against keys in the keystore or the Signed-By field. The key check to watch is the signature type: a legacy-only host can validate RSA or DSA but not the hybrid signature, and under RPM 6 any failed signature fails the whole verification. Treat this diagram as illustrative of the verification order described in the sources.

Illustrative verification order for a package signed with legacy and hybrid keys.

How to find legacy RPM and DEB signing keys across a fleet

This sequence builds a per-host inventory of the signing keys, repository trust settings and package signature types that older RPM and DEB tooling depends on. The output tells you which hosts and packages need a post-quantum decision and which need upgrading before one can be made.

  1. List imported RPM signing keys on each host

    On each RHEL-family or Fedora host, run rpm -qa gpg-pubkey* to list the keys imported into the RPM database, then run rpmkeys --list and rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} %{SIGPGP:pgpsig}\n' gpg-pubkey* to see each key's algorithm and fingerprint. Record the key ID, algorithm, creation date and owning repository for every key. The step is complete when every imported key on the host appears in the export with its algorithm recorded.

  2. Export DNF5 repository trust settings

    Read every file under /etc/yum.repos.d/ and any dnf.conf overrides, and record the gpgkey, gpgcheck, repo_gpgcheck and pkg_gpgcheck values for each repository. Note that the DNF5 manual gives repo_gpgcheck, pkg_gpgcheck and localpkg_gpgcheck a default of False, and that gpgcheck is governed by gpgcheck_policy (default legacy), so an absent value is not the same as an enforced one. The step is complete when each repository on the host has a row showing the effective values, including repositories that set none.

  3. Identify APT keyrings referenced by Signed-By

    On each Debian or Ubuntu host, list the Signed-By entries in /etc/apt/sources.list.d/ and the deb822 source files, and open each keyring path under /etc/apt/keyrings/ or /usr/share/keyrings/. For each keyring, record the key fingerprints, whether a subkey matches, and the Valid-Until setting of the repository, because the Debian format wiki says Signed-By is ignored when Valid-Until is absent or expired. The step is complete when every repository has its keyring path, fingerprint list and Valid-Until status in the export.

  4. Check APT's signature policy settings

    Run apt-config dump | grep -Ei 'AllowInsecure|AllowWeak|assert-pubkey-algo|gpgvcommand|nosqv' and record the effective values, noting which hosts use sqv rather than GnuPG. Confirm the APT version with apt --version, since the changelog places the sqv method at 2.9.19 and the requirement for sqv in builds at 3.3.0. The sources do not give default values for Apt::Key::assert-pubkey-algo, so confirm the effective value on each host instead of assuming one. The step is complete when each host's APT version, verifier and algorithm assertion are recorded.

  5. List debsig-verify policies and keyrings

    On hosts that verify individual .deb files, list the XML policies under /etc/debsig/policies/<keyid>/ and the keyrings under /usr/share/debsig/keyrings/<keyid>/. Confirm each keyring is in OpenPGP keyring format, not GnuPG keybox format, since the man page says debsig-verify requires that. Record the key ID, policy file and keyring file for each entry. The step is complete when every debsig policy on the host has a matching keyring recorded, or is flagged as lacking one.

  6. Record signature types on installed RPM packages

    For each host, query installed packages with rpm -qa --qf '%{NAME}-%{VERSION}-%{RELEASE} %{RSAHEADER:pgpsig} %{DSAHEADER:pgpsig} %{SIGPGP:pgpsig}\n' or an equivalent tag query, and note which packages carry only RSA or DSA signatures. Use the signature tags in the RPM signatures and digests manual to classify each as v4-era (MD5, SHA1, RSA, DSA) or OpenPGP. The Red Hat Developer article says RPM 6 ignores v4 signatures when at least one v6 signature exists, so record that behavior for packages that carry both. The step is complete when the host export lists every package's signature type and whether it is v4-only.

  7. Confirm the inventory export meets the closing check

    Combine the outputs from the previous steps into one host inventory export per fleet. The export should show no MD5 or SHA1 repository digests in use, every repository's trust settings and keyring, every key's algorithm, and each host's RPM or APT version. Have a second engineer spot-check at least one host from each distinct build, and confirm that the algorithm column is filled for every key. The step is complete when the export has no empty required fields and the spot check matches the source files.

Questions administrators ask about legacy RPM and DEB keys

Is RPM or APT quantum safe?

The sources do not support calling either one quantum safe. Post-quantum signing exists in parts of the RPM ecosystem, but only as specific releases and packages, and the sources do not describe the whole tool as safe. RPM 6.0.0 (released September 22, 2025) lists support for OpenPGP v6 keys and signatures including post-quantum algorithms, but it does not name the algorithms or say any of them is on by default. For APT, the Debian sources reviewed mention no post-quantum algorithm for repository signing or debsig-verify, and no Debian roadmap for one. Treat both as unverified for post-quantum use and confirm the current state with your distribution's maintainers before recording an answer.

Which RPM version is needed for post-quantum package signing?

The sources point to RPM 6 with the Sequoia backend. RPM 6.0.0 added OpenPGP v6 support, and building with Sequoia, the default, requires rpm-sequoia 1.9.0 or later. On Red Hat Enterprise Linux, post-quantum RPM signing appeared with RHEL 10.1, where Red Hat signs packages with a hybrid ML-DSA-87 and Ed448 key using the RPMv6 format. Red Hat's Developer article of October 7, 2025 describes this as a technology preview not intended for production use, and says upstream RPM releases do not include the post-quantum support, so it works only with RHEL 10.1 packages. Confirm the exact package set and the status of this support with Red Hat before relying on it.

Does moving to post-quantum RPM or DEB signing cost extra?

The sources give no pricing for post-quantum RPM or DEB signing, so no figure can be stated. The cost sits mainly in work you perform: inventorying the repository keys, package formats and client tool versions across your fleet, and updating clients and mirrors. Those costs recur whenever a new key is rolled out or a client is upgraded. Ask your distribution vendor whether any post-quantum signing support is covered by an existing subscription, and ask your internal teams to estimate the inventory and client update effort. Those two inputs usually determine the total cost more than the signing change itself.

What breaks when packages move to RPM v6 or hybrid signatures?

Older clients may fail to verify newer packages. RPM 6 ignores RPMv4 signatures when at least one RPMv6 signature is present, and if any signature fails verification, the whole verification fails. Red Hat notes that packages are still signed with RSA, and older systems validate only that RSA signature, so a hybrid package keeps working on them. Clients that rely only on RSA or DSA public-key signatures from older RPM and DEB tooling will not gain the post-quantum signature. The RPM 6.0.0 notes also say v6 packages drop MD5 and SHA1 digests, so very old tools may not read them. Test a sample of your oldest client versions against a v6 package before you change the signing format across a repository.

Does APT or debsig-verify have a post-quantum path?

The Debian sources reviewed show no post-quantum path for APT repository signing or for debsig-verify package signatures. The apt-secure man page, the Debian repository format wiki and the APT changelog mention no post-quantum algorithm, and no Debian page announces ML-KEM, ML-DSA or SLH-DSA support or a roadmap for it. APT does add a Sequoia-based sqv method and assertions that reject weak keys on dates set in the Sequoia crypto policy, such as SHA224 from 2026-02 and RSA2048 from 2030-02, but these are classical hardening measures, not post-quantum support. Plan your DEB migration as a dependency on Debian's future release timing and check the Debian security team's announcements for any change.

Can an administrator do this in-house, or do they need outside help?

The sources do not say whether a given organization can complete this in-house, because that depends on fleet size, the number of repositories and clients, and the internal skills available. A reasonable first step is an in-house inventory: list the repository signing keys, the RPM and APT tool versions on each client, and any internal repositories or mirrors that rely on RSA or DSA. Outside help becomes relevant for the scope of the change, such as building a test repository, validating older clients and planning the key rollout. DeployOpen can define that scope in a scoping call, and the written scope, deliverables and timeline are agreed before any work starts. Confirm the distribution's current support status before you commit to either path.

What the sources do not show and what to ask each vendor

The sources read for RPM and DEB signing name no post-quantum algorithm defaults, production dates or roadmap for several components. Each card below names one gap and the specific question to put to the vendor or distribution before you plan a change.

Debian roadmap for APT and debsig-verify

The Debian sources read for this topic, including the apt-secure man page, the Debian repository format wiki and the APT changelog, mention no post-quantum algorithm for APT repository signing or for debsig-verify. No Debian page announces ML-KEM, ML-DSA or SLH-DSA support for either tool. Ask the Debian project or your distribution maintainer for a dated roadmap covering both APT repository signing and per-package debsig-verify signatures, since the two use separate mechanisms and may move on different schedules.

apt-secure man page

RPM 6 algorithm defaults per build

The RPM 6.0.0 release notes say RPM supports OpenPGP v6 and PQC keys and signatures. Neither the release notes nor the Fedora change page names the algorithms or says any given algorithm is on by default. Ask each distribution which PQC algorithms its RPM build enables and which signing defaults apply, and confirm this per build, since support in upstream RPM does not tell you what your packages carry. The Red Hat Developer article notes that PQC signing works only with RHEL 10.1 packages.

RPM 6.0.0 release notes

RHEL PQC RPM signing production date

The Red Hat Developer article of October 7, 2025 describes RHEL 10.1 PQC RPM signing as a technology preview not intended for production use. The sources read give no production or general availability date for it. Ask Red Hat for the general availability date for PQC RPM signing, and whether the hybrid ML-DSA-87 and Ed448 signature will be supported on RHEL releases beyond 10.1, before you schedule any client that must verify it.

Red Hat Developer article

Fedora default package format change

The Fedora RPM 6.0 change page, last updated 2025-08-21, says Fedora 43 keeps generating v4 packages by default, while the RPM 6.0.0 notes list v6 as the default. The sources read do not show a later Fedora release that changes the default to v6. Ask the Fedora project for the release that makes v6 the default package format, since v6 packages drop MD5 and SHA1 digests and affect what older clients can verify.

Fedora RPM 6.0 change page

APT assert-pubkey-algo values

The APT configuration sample lists Apt::Key::assert-pubkey-algo with its ::next and ::future variants, but gives no documented default values for them. The APT changelog records a value of >=rsa2048,ed25519,ed448 added in APT 2.7.13 and a Sequoia crypto policy cut-off for RSA2048 keys from 2030-02. Ask your distribution which values are configured in its APT builds and whether the policy will reject RSA keys before 2030, so you know which repository keys fail verification and when.

APT configure-index

What goes wrong when legacy keys stay in place

Keeping older signing keys and tool settings in place during a post-quantum plan creates several specific failure modes. The first is in RPM. Version 6 packages drop MD5 and SHA1 digests and add a SHA3-256 header digest, so older clients that only understand the legacy digests can fail to install them. RPM 6 also rejects a package when any one of its signatures fails verification, so a PQC signature added with rpmsign --addsign that an older system cannot check can cause the whole verification to fail. The Red Hat Developer article describes this behavior, and its note that RPM 6 ignores RPMv4 signatures once an RPMv6 signature is present shows why the signature set must be planned as a whole. Fedora 43 keeps generating v4 packages by default and keeps the legacy enforcement behavior, while RPM 6 enforces signature checking by default. Fleets that mix these settings should confirm which behavior each repository expects before rollout.

A second risk is that --addsign leaves the original classical RSA signature in place. The Red Hat blog states that RHEL 10.1 packages carry a hybrid ML-DSA-87 and Ed448 signature alongside RSA, and that older systems validate only the RSA signature. Teams that assume the PQC signature replaces the classical one will be surprised when older hosts keep trusting the RSA signature with no protection from the new key. On the DEB side, APT refuses to download from unsigned repositories by default. Setting allow-insecure=yes or Acquire::AllowInsecureRepositories downgrades that failure to a warning, which hides the fact that the repository is no longer verified. Older keys also carry risk here: the Sequoia crypto policy in APT 3.0.1 sets cut-offs for SHA224 keys from 2026-02, Brainpool keys from 2028-02 and RSA2048 keys from 2030-02, so an inventory of repository keys should record their algorithms and sizes.

The sources reviewed do not show any of these problems being fixed by a later release. RPM 6.0.1 is listed as a release with signature and keystore regression fixes, but the sources do not say it resolves the digest, enforcement or multi-signature behaviors described above. For Debian, the sources reviewed show no post-quantum algorithm for APT repository signing or debsig-verify and no roadmap for one. Confirm the current status of each item with the RPM project, Fedora, Red Hat and the Debian APT team before setting a migration date, and record the answers with their version numbers.

How DeployOpen works on this

DeployOpen approaches RPM and DEB signing legacy keys and tools as an inventory and migration project, not a single switch. We start by finding which repository keys, signature types and package tool versions your fleet actually uses, then plan changes around the repositories and clients that depend on them.

How we scope

  • We confirm which RPM and DEB repositories, keys and client fleets are in scope before work starts.
  • Scope covers older RSA and DSA signatures, Release file signing keys and the package tool versions in use.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before any work begins.

How we build

  • We inventory signing keys, keystores, apt sources and signature types across your repositories and hosts.
  • We test repo_gpgcheck, pkg_gpgcheck and Signed-By settings on representative clients before any change.
  • We check RPM and APT versions against the post-quantum support each vendor documents, without assuming defaults.

How we hand over

  • You receive a written inventory of keys, client configurations, tool versions and the gaps we found.
  • Each finding comes with the vendor source it relies on, so your team can confirm it independently.
  • We document a migration order and the steps to rotate keys and verify signatures after each change.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • We can re-run the inventory when vendors publish new RPM, APT or Sequoia releases that change support.
  • Before any post-quantum signing is enabled, we help you confirm with each vendor what its current support covers.

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.