Which RPM and DEB package signing functions depend on RSA and elliptic-curve keys

RPM and DEB signing rely on public-key signatures from OpenPGP keys (RSA, DSA or other OpenPGP algorithms), with post-quantum RPM signing available only in RHEL 10.1 as a technology preview as of the sources' dates.

On this page

Which RPM and DEB signing functions rely on RSA and elliptic-curve keys today

RPM and DEB package signing both depend on public-key signatures from OpenPGP keys, and the sources describe no key exchange step in either one. The post-quantum signing found in the sources is limited to RPM v6 on RHEL 10.1, shipped as a technology preview, and the Debian sources mention no post-quantum algorithm at all. RPM signatures are made with OpenPGP keys whose algorithm can be RSA, DSA or another OpenPGP algorithm, and older RPM packages carry RSA and DSA signature types. APT verifies OpenPGP signatures on Release files, and debsig-verify checks per-package signatures against OpenPGP keyrings. These are two separate mechanisms with no single vendor owner. RPM belongs to the RPM Package Manager project at rpm.org, while Debian tooling (mainly APT and debsig-verify) belongs to the Debian project. A security lead therefore has to inventory each mechanism on its own terms.

The answer below is as of the dates in the sources: RPM 6.0.0 (September 22, 2025) and 6.0.1 (December 10, 2025), the Red Hat blog of February 4, 2026, the Red Hat Developer article of October 7, 2025, and the APT changelog entries through APT 3.3.0 (May 1, 2026). Confirm the current state with the vendor before relying on it. On the RPM side, check which signature types your packages carry and which %_openpgp_sign backend your build uses. Red Hat states that packages are still signed with RSA alongside the hybrid ML-DSA-87 and Ed448 key from RHEL 10.1, and that older systems validate only the RSA signature. On the Debian side, check which signing keys your repositories reference through Signed-By and whether any key uses a weak algorithm, since the APT changelog sets future cut-offs for SHA224, Brainpool and RSA2048 keys.

Treat the RHEL 10.1 post-quantum signing as a preview, not a production control. The Red Hat Developer article says the feature is not intended for production use, that PQC support is not in upstream RPM releases, and that it works only with RHEL 10.1 packages. It also says RPM 6 ignores RPMv4 signatures once one RPMv6 signature is present, and that a single failed signature fails the whole verification. Before any rollout, confirm with the vendor whether this preview will become supported, and test verification on every client version in your fleet, since older clients validate only RSA. The sources do not say when Debian will offer any post-quantum signing, and you should ask Debian or your distribution contacts directly.

Which signature types apply to each RPM, APT and debsig function

This table lists, for each RPM, APT and debsig-verify function, which signature types the sources describe and from which version they apply. Read each row with its source and date, and note where the sources do not confirm a setting as the default. The main takeaway is that RPM 6 and RHEL 10.1 add post-quantum signature options, but the sources show no post-quantum default in APT or debsig-verify.

Component and functionSignature types describedSource and dateDefault confirmed by sources
RPM v4 packages, older tagsRSA and DSA public-key signatures, with OpenPGP/RSA and OpenPGP/DSA tagsRPM signatures and digests manual, undated in the sourcesNot confirmed for the older tags
RPM 6.0.0 OPENPGP signature typeAlgorithm depends on the signing key and can be any algorithm the OpenPGP standard allowsRPM signatures and digests manual, RPM 6.0.0 release notes, released September 22, 2025Not confirmed
RPM 6.0.0 PQC keys and signaturesSupport for OpenPGP v6 keys and signatures including PQC, without named algorithms in the release notesRPM 6.0.0 release notes, September 22, 2025; Fedora RPM 6.0 change page, updated August 21, 2025Not confirmed; no algorithm is named as on by default
RHEL 10.1 RPM signing (hybrid)Hybrid ML-DSA-87 and Ed448 signature alongside RSA, which older systems validate only through RSARed Hat blog, February 4, 2026; Red Hat Developer article, October 7, 2025Not confirmed as default; described as technology preview not intended for production
APT Release file signaturesOpenPGP signatures on InRelease or Release.gpg, validated by gpgv or sqvDebian repository format wiki; Debian apt-secure man page for trixieNot confirmed; APT refuses unsigned repositories by default
APT Sequoia crypto policy cut-offsSHA224 invalid from 2026-02, Brainpool keys from 2028-02, RSA2048 keys from 2030-02APT changelog, APT 3.0.1, April 25, 2025Not confirmed as default; the sources give no default for assert-pubkey-algo
debsig-verify per-package signaturesOrigin OpenPGP signature checked against keyrings in OpenPGP format, not keybox formatdebsig-verify man page for trixie, undated in the sourcesNot confirmed; no post-quantum algorithm named

Which RPM and DEB signing components use public-key cryptography

RPM and DEB use two separate signing mechanisms with different owners, and both rely on OpenPGP public-key signatures. The cards below cover each component in turn, the algorithms it depends on, and what the sources say about post-quantum support today.

RPM package signatures

The rpmsign tool attaches OpenPGP signatures to RPM packages. Its algorithm depends on the signing key, so older packages commonly carry RSA or DSA signatures. Since RPM 6.0.0, rpmsign --addsign adds a signature without removing existing ones, and --resign replaces all of them. Check which signing backend your build uses, since the %_openpgp_sign macro selects gpg or sq.

RPM signatures manual

RPM keystore and key handling

The RPM keystore holds the public keys used to verify package signatures. The rpmkeys --import, --export and --rebuild commands manage it, and RPM 6.0.0 added an experimental openpgp.cert.d-based keystore. The keystore holds public keys, so its risk lies in trusting the wrong key and in how the keys themselves are algorithmically constructed. Confirm which keystore format your systems read before inventorying key types.

RPM 6.0.0 release notes

DNF5 repository and package checks

DNF5 uses the repo_gpgcheck and pkg_gpgcheck options to verify OpenPGP signatures on repository metadata and on packages. Both default to False, and gpgkey lists the key file URLs DNF checks against. Enabling these checks makes the RSA or DSA signatures on your packages part of your verification path. Confirm the values set on each host, because defaults can differ from policy.

DNF5 configuration manual

APT Release and InRelease signatures

APT verifies the OpenPGP signature on each repository's InRelease or Release.gpg file, which lists the hashes of the package indexes. The optional Signed-By field pins the keys allowed for each repository. APT 3.0.1 added the Sequoia crypto policy, which sets cut-off dates for weak algorithms, including RSA2048 keys from 2030-02. Check which keys each source uses and when they expire.

Debian repository format

debsig-verify per-package signatures

debsig-verify checks the origin OpenPGP signature inside each .deb against XML policy files and keyrings. Policies live in /etc/debsig/policies/ and keyrings in /usr/share/debsig/keyrings/, and keyrings must use OpenPGP format rather than GnuPG keybox format. This check runs per package, separately from repository signing. Inventory the policy and keyring files on each system to identify the keys in use.

debsig-verify man page

Post-quantum support in each path

Red Hat signs RHEL 10.1 RPM packages with a hybrid ML-DSA-87 and Ed448 key as a technology preview, and still signs them with RSA as well. RFC 9980 defines post-quantum OpenPGP algorithms. The sources do not show post-quantum algorithms for APT repository signing or debsig-verify, and they show no Debian roadmap for them. Confirm support with each vendor for your release.

Red Hat RHEL 10.1 blog

How the answer differs for RHEL 10.1, Fedora 43 and Debian

Red Hat signs RPM packages for RHEL 10.1 with a hybrid ML-DSA-87 and Ed448 key, and still signs the same packages with RSA. The Red Hat blog dated February 4, 2026 says the first such package was ipmitool-1.8.19-10.el10_1, and that older systems validate only the RSA signature. The Red Hat PQC page lists RPM signing as PQ-Ready from RHEL 10.1, while the Red Hat Developer article of October 7, 2025 describes this signing as a technology preview not intended for production use.

  • Verification rule: RPMv6 signatures must all verify. The Red Hat Developer article says RPM 6 ignores RPMv4 signatures when at least one RPMv6 signature is present, and that a single failed signature fails the whole verification.
  • Parameter set: The Red Hat Developer article names ML-DSA-87-Ed448 as the approved CNSA 2.0 parameter set, with ML-DSA-65+Ed25519 also supported and SLH-DSA not yet implemented.
  • Tooling: Signing uses Sequoia-PGP tools in the RPMv6 format. Upstream RPM releases do not include this support, so it works only with RHEL 10.1 packages.
  • Enablement: The Red Hat Developer article describes generating a key with sq key generate using the rfc9580 profile, copying macros.rpmsign-sequoia into /etc/rpm/, and running rpmsign --addsign --rpmv6.

Confirm with Red Hat which RHEL 10.1 packages carry the hybrid signature, and check how your RHEL 10.1 hosts verify them.

What a security lead should check first

This sequence establishes which RPM and DEB signing paths depend on RSA, DSA or other public-key algorithms, which tool versions and settings enforce those checks, and what the vendor has committed to, so the team can record a dated answer before planning any upgrade. Each step closes with a check that produces a record an auditor or vendor-risk reviewer can inspect.

  1. Inventory repositories and packages signed with RSA or DSA

    The release engineer or repository owner lists every RPM and APT repository the organization uses, along with the packages each one serves and the key that signs them. For RPM, the owner runs rpm -qa --qf with the signature fields and records which packages carry RSA, DSA or OpenPGP signatures. For APT, the owner reads the Release and Release.gpg or InRelease files for each source and notes the key fingerprints. The step is closed when the inventory lists each repository, its signing algorithm and its key fingerprint, and the list has been reviewed against the sources in use.

  2. Confirm the RPM and APT versions in use

    The system administrator records the RPM and APT versions on each system class, since signature handling differs by release. RPM 6.0.0 introduced v6 packages and enforcement changes, and RPM 6.0.1 followed with signature and keystore fixes, so the installed rpm version determines which signature formats a host can verify. APT versions matter because APT 2.9.19 added an sqv method and APT 3.0.1 added a warning for signatures the policy will reject within a year. The step is closed when each system class has a recorded rpm and apt version tied to its inventory entry.

  3. Check RHEL 10.1 packages and their RSA verification

    The Linux administrator determines whether any hosts run RHEL 10.1 and whether they install packages from Red Hat that carry the hybrid ML-DSA-87 and Ed448 signature. Red Hat states that packages are also still signed with RSA and that older systems validate only the RSA signature, so the administrator should confirm on a sample host that the RSA signature still verifies with rpm -K. The Red Hat Developer article describes PQC RPM signing on RHEL 10.1 as a technology preview not intended for production, so teams should not treat it as an operational control. The step is closed when the sample results, the RHEL 10.1 host count and the verification output are recorded.

  4. Review DNF5 gpgcheck and repository settings

    The system administrator reads the DNF5 configuration on each host and in the central management tooling, looking at repo_gpgcheck, pkg_gpgcheck, localpkg_gpgcheck, gpgcheck and gpgcheck_policy, along with the gpgkey entries. The DNF5 manual says repo_gpgcheck, pkg_gpgcheck and localpkg_gpgcheck default to False, and that gpgcheck is a compatibility option governed by gpgcheck_policy, which defaults to legacy. The administrator should flag any repository where checks are disabled or where a gpgkey points to a stale or unexpected key. The step is closed when each repository's effective settings and key references are recorded and each deviation has an owner.

  5. Review APT Signed-By and assert-pubkey-algo settings

    The package administrator examines each APT source entry for a Signed-By field and any allow-insecure settings, and checks the Apt::Key::assert-pubkey-algo value in the effective APT configuration with apt-config dump. Signed-By limits which key validates a repository's Release file, and the Debian wiki notes it is ignored when Valid-Until is absent or expired. The apt-secure man page says current APT refuses unsigned repositories by default unless Acquire::AllowInsecureRepositories or allow-insecure=yes is set, so the administrator should search for those overrides. The sample configuration documents no default for assert-pubkey-algo, so the administrator should record the value actually in effect. The step is closed when each repository has a recorded Signed-By key, any insecure overrides are listed and the effective assert-pubkey-algo value is noted.

  6. Record the vendor answer and its date

    The security lead writes to the package vendor and to the distribution maintainers asking whether RPM and DEB signing on the organization's versions will add post-quantum algorithms, on what timeline, and whether any notice or transition guide is planned. The sources reviewed show that Red Hat lists RPM signing as PQ-Ready from RHEL 10.1 without a specific roadmap, and that no Debian page or source opened announces post-quantum support for APT repository signing or debsig-verify. The lead should record each answer verbatim, with the date and the person who gave it, and note where no answer was received. The step is closed when the signed or dated vendor responses are filed with the inventory.

What Debian and the RPM project have not published

The sources listed on this page show that RPM and Debian have each taken different steps toward post-quantum signing, and that neither has published the full set of decisions a security lead needs. The cards below mark what is missing and name the question to put to each project or vendor, so the gaps can be recorded in a vendor-risk file rather than assumed to be closed.

No Debian post-quantum announcement

The Debian sources reviewed for this page, including the apt-secure man page, the Debian repository format wiki and the APT changelog, mention no post-quantum algorithm for repository signing or for debsig-verify. No Debian page was found that announces ML-KEM, ML-DSA or SLH-DSA support in these tools. Ask the Debian APT and debsig-verify maintainers whether a post-quantum signature type is planned, and whether any release date or test build exists.

apt-secure man page

No published Debian roadmap

No Debian roadmap for post-quantum APT or debsig-verify was found in the sources reviewed. The only dated Debian-side signal is the Sequoia move in APT, which replaces GnuPG but does not by itself add a post-quantum algorithm. Ask the Debian project for a written plan covering repository signing, per-package signing and the keyring format, and ask when that plan will be reviewed.

APT changelog

No RPM default post-quantum algorithm

The RPM 6.0.0 release notes and the RPM signatures manual say v6 supports OpenPGP keys and signatures that can use PQC algorithms, but neither names a default post-quantum algorithm or says one is enabled out of the box. The Fedora change page also does not name one. Ask the RPM project which algorithm, if any, its default signing configuration uses, and whether that default will change in a future release.

RPM 6.0.0 release notes

No Red Hat RPM signing roadmap

Red Hat's PQC page lists RPM signing as PQ-Ready from RHEL 10.1 but gives no specific roadmap for RPM signing. The Developer article describes RHEL 10.1 PQC RPM signing as a technology preview not intended for production, and says SLH-DSA is not implemented yet. Ask Red Hat for the dates it plans to move PQC signing out of technology preview, when SLH-DSA support is expected, and whether the RPMv6 signing path will be supported in upstream RPM.

Red Hat PQC page for RHEL

Undocumented defaults in APT settings

The APT sample configuration file lists Apt::Key::assert-pubkey-algo, including its ::next and ::future variants, along with Trusted, TrustedParts and AllowWeakRepositories, but gives no documented default values for them. Those defaults decide which key algorithms APT will accept, so they matter for a post-quantum plan. Ask the APT maintainers for the default value of each setting in the release you run, and whether the ::future cut-off has a published date.

APT configure-index

Undocumented DNF repository check defaults

The DNF5 configuration manual sets repo_gpgcheck, pkg_gpgcheck and localpkg_gpgcheck to False by default, and says gpgcheck follows gpgcheck_policy, which defaults to legacy. The RPM 6.0.0 notes say RPM now enforces signature checking by default, while the Fedora change page says Fedora 43 keeps the legacy behavior. Ask the Fedora and DNF maintainers which check runs by default in your release, and whether that default will change.

DNF5 configuration manual

What breaks when RPM v6 and post-quantum signatures are enabled

Enabling RPM v6 changes how verification treats the signatures already on a package, so a team that adds post-quantum signing can break installs it previously accepted. According to the Red Hat Developer article, RPM 6 ignores RPMv4 signatures when at least one RPMv6 signature is present, and if any signature in the package fails verification, the whole verification fails. A package that carries an RSA-based v4 signature alongside a new v6 post-quantum signature is therefore only as trustworthy as its weakest signature check, and a failure in the v6 signature blocks an install even when the RSA signature is valid. Before rolling out a dual-signed package, confirm that every client in the fleet runs a tool version that can verify v6 signatures and that the v6 signature verifies on each of them.

The post-quantum path is narrower than the v6 format itself. The Red Hat Developer article describes PQC signing on RHEL 10.1 as a technology preview not intended for production use, and states that PQC support is not in upstream RPM releases, so it works only with RHEL 10.1 packages. Red Hat's February 4, 2026 blog says the first such package was ipmitool-1.8.19-10.el10_1, signed with a hybrid ML-DSA-87 and Ed448 key, and that packages are still also signed with RSA. Older systems validate only the RSA signature, which means a package signed only with the new scheme cannot be checked on them. Confirm which package releases and which RHEL minor versions your hosts run before assuming any post-quantum signature will be validated.

Defaults also differ by distribution, and these differences decide what a verification failure looks like in practice. The RPM 6.0.0 release notes say RPM now enforces signature checking by default, but the Fedora RPM 6.0 change page says Fedora 43 keeps the legacy behavior and that enforcement was dropped from that change for lack of time. Fedora 43 also keeps generating v4 packages by default. A tool that enforces checks on one system may silently accept unsigned or partly signed packages on another, so check the effective enforcement setting, the %_rpmformat macro and the signature types in use on each platform, and document which combination your release pipeline depends on.

Do RPM and DEB package signing use quantum safe cryptography?

Are RPM and DEB package signing quantum safe today?

The sources do not support calling either mechanism quantum safe. Both sign with OpenPGP keys, and the RPM and Debian documentation list RSA, DSA and other classical public-key algorithms as the signature types in use. RPM 6.0 added support for OpenPGP v6 keys and signatures including post-quantum (PQC) algorithms, and Red Hat describes PQC RPM signing on RHEL 10.1 as a technology preview. The sources list no post-quantum algorithm for APT repository signing or debsig-verify, and Debian pages show no announced ML-KEM, ML-DSA or SLH-DSA support. Treat RPM and DEB signing as classical until your vendor or distribution confirms otherwise for the exact version you run.

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

The sources tie post-quantum RPM signing to RPM 6.0 and its v6 package format. RPM 6.0.0 was released on September 22, 2025, and RPM 6.0.1 followed on December 10, 2025. The RPM 6.0.0 notes say v6 packages can carry multiple signatures, and that building with the default Sequoia backend requires rpm-sequoia 1.9.0 or later. Red Hat's implementation runs on RHEL 10.1, where it signs packages with a hybrid ML-DSA-87 and Ed448 key using Sequoia tools in the RPMv6 format. The upstream RPM releases do not contain this PQC support, so it works only with RHEL 10.1 packages. Confirm the exact package and distribution build with your vendor before relying on it.

Does post-quantum RPM and DEB signing cost extra, and what drives the effort?

The sources give no price or duration for this work, so the figures to request come from your own quote. The cost components are the repository and signing-key work, the upgrade of package tools and clients, and testing of older systems that validate only RSA signatures. Costs recur when keys rotate and when mirrors and clients are updated. Effort rises with the number of hosts that cannot take newer RPM or APT versions, the number of internal repositories, and whether signing keys live in hardware. Red Hat says packages are still signed with RSA alongside the PQC signature, so older systems keep working on the classical signature. Ask any provider to break the quote into keys, clients, repositories, and validation of mixed fleets.

What breaks if you switch RPM or APT signing to post-quantum algorithms?

The main risk is that older clients cannot verify the new signatures. 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 older systems validate only the RSA signature, so mixed fleets need both signatures kept during the transition. The RPM 6.0.0 notes also say the default package format is v6, while Fedora 43 keeps generating v4 packages by default and dropped signature enforcement from its change. On the Debian side, APT and debsig-verify keyrings must be in OpenPGP keyring format, not GnuPG keybox format, and the Release file must be SHA256 with no MD5 or SHA1 reliance. Test each client version against both signature types before you change signing defaults.

What should I ask my distribution or vendor about RPM and DEB PQC signing?

Ask which RPM and APT versions your distribution ships, and whether PQC signing is enabled by default or only as a technology preview. Ask whether the signed packages keep a classical RSA or Ed25519 signature alongside any PQC signature, and for which distributions and releases this applies. Ask for the exact algorithms supported (ML-DSA-65+Ed25519, ML-DSA-87+Ed448 or SLH-DSA) and whether the APT signing path and debsig-verify have any PQC plan. Ask how the vendor handles keystore import, key rotation, and removal of SHA1 and MD5 digests in older repositories. Request the documented date of any roadmap statement, since the sources show that Red Hat's implementation and Debian's position both change over time.

Can my team enable PQC RPM and DEB signing ourselves, or do we need outside help?

Your team can test RPM PQC signing without outside help if the platform is RHEL 10.1 and your engineers already manage GPG-style keys. The Red Hat Developer article describes the steps: generate a key with sq using the rfc9580 profile, copy the Sequoia macros file into /etc/rpm, set the fingerprint in ~/.rpmmacros, and run rpmsign --addsign --rpmv6. Because the article labels this a technology preview not intended for production, plan a pilot on a non-production repository first. Outside help is more useful for mixed fleets, internal repository and mirror changes, key custody decisions, and the compliance evidence that auditors will request. DeployOpen plans and implements these changes in the client's own infrastructure, and scope and deliverables are agreed in writing before work starts.

How DeployOpen helps with RPM and DEB signing readiness

DeployOpen works through RPM and DEB signing as two separate mechanisms, since RPM signing and Debian repository and package signing have no single vendor owner. We scope the signing keys, repositories and clients in your environment, build and test the settings you choose, and hand over a written record of what depends on RSA, DSA or elliptic-curve keys and what has changed.

How we scope

  • We confirm which RPM and DEB signing paths your organization runs, including rpmsign, APT repositories and debsig-verify policies.
  • We list the signing keys, key types and keystore locations in use, from rpmkeys and /usr/share/debsig/keyrings.
  • Engagements are fixed-scope, with the systems, versions and deliverables agreed in writing before work starts.

How we build

  • We review the signing macros, such as %_openpgp_sign and %_openpgp_sign_id, and the DNF or APT gpgcheck settings on each client.
  • We test repository signing with Release and InRelease files, Signed-By fields and APT assert-pubkey-algo settings in a staging environment.
  • Where a post-quantum signature option exists, such as RPM 6 with Sequoia on RHEL 10.1, we test it on the exact release and note any technology-preview limits.

How we hand over

  • You receive a written inventory of signing keys, algorithms and clients, with the version and component each finding applies to.
  • Configuration changes are documented step by step, so your release and platform teams can repeat them on other systems.
  • Open questions for each vendor or distribution, such as RPM signing support and Debian roadmap statements, are listed for your confirmation.

How we support

  • Ongoing support, upgrades and periodic retesting are available as a retainer after the initial handover.
  • We retest signing and verification after package tool, APT or distribution upgrades, since default settings can change between releases.
  • We can prepare the readiness evidence your security and compliance reviewers ask for, though independent auditors issue any attestation.

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.