🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.policy
Article #16

Bug#1154269: Forbid embedded trust anchors

#16
From: Helmut Grohne
Date: Tue, 24 Nov 2026 21:00
62 lines
4814 bytes
On Wed, Nov 18, 2026 at 10:31:14AM +0100, Enrico Zini wrote:
> +.. _s-embeddedtrustanchors:
> +
> +Embedded trust anchors
> +----------------------
> +
> +Similarly, Debian maintains packages containing trust anchors (e.g. WebPKI
> +certificate authorities, DNSSEC root zone trust anchors, RPKI trust anchor
> +locators) which are kept current during the lifetime of a release.
> +
> +Other packages which use this information must depend on the appropriate data
> +packages and not contain duplicated copies of such trust anchors, as it would
> +increase the effort of managing a local policy or restoring system security or
> +functionality in a timely manner after external events such as an unplanned key
> +revocation or a scheduled rollover.
> +
>  .. _s-readmesource:

The discussion on both d-devel and here suggests that we do not yet have
full consensus on the hard stance. People keep raising plausible
exceptions to such a rule and/or object to it.

What I do perceive consensus about is the rough shape of the problem.
Nobody seems to be arguing that the current situation of embedding would
be ok. Generally, we already seem to agree that embedding of datasets
should be the exception rather than the rule.

How about relaxing the proposed requirement slightly? I think earlier
drafts used the "should" wording in place of "must" and Sean clarified
that in policy "should" means "without good reason". We may consider the
"should" wording to be a toothless tiger without much chance of changing
the status quo. If we go back to the underlying problem, a key aspect is
the difficulty of figuring out what needs updating in case of a
revocation. We may still require the remaining exceptions to help us
here by requiring them to document exceptions.

+Other packages which use this information should depend on the
+appropriate data packages and not contain duplicated copies of such
+trust anchors, as it would increase the effort of managing a local
+policy or restoring system security or functionality in a timely manner
+after external events such as an unplanned key revocation or a scheduled
+rollover. Exceptions to this rule must be documented via a
+machine-readable mechanism such as ``Built-Using``,
+``Static-Built-Using`` or the security-tracker's
+``data/embedded-code-copies``.

I understand that the documentation requirement imposes work (to those
that don't fix their embedding), but I note that shifting work from the
security team towards maintainers is precisely the goal of this change.
I also understand that weakening the rule is not enough to some. There,
I note that violating a "should" still is a bug (though not an RC one)
and that the perfect is the enemy of the good.

Would this slightly relaxed version be easier to gather consensus
around?

We could also broaden the scope again to require documentation for other
cases such as vendored dependencies that did receive a security update
in the past, but then we risk debating to death as we scope creep yet
another change into this already complex discussion.

Helmut
Technical Details
Message-ID: <O35Ml-dWvb-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O0KiZ-cE4i-7@gated-at.bofh.it> <O0KiZ-cE4i-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Helmut Grohne <helmut@subdivi.de>
Newsgroups: linux.debian.bugs.dist,linux.debian.policy
Subject: Bug#1154269: Forbid embedded trust anchors
Date: Tue, 24 Nov 2026 22:00:01 +0100
Message-ID: <O35Ml-dWvb-5@gated-at.bofh.it>
References: <O0KiZ-cE4i-7@gated-at.bofh.it> <O0KiZ-cE4i-7@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Nov 24 20:51:35 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Helmut Grohne <helmut@subdivi.de>, 1154269@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-policy@lists.debian.org
X-Debian-Pr-Message: followup 1154269
X-Debian-Pr-Package: debian-policy
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: debian-policy
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004789
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 62
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 21 Nov 2026 14:25:39 +0100
X-Original-Message-ID: <20261121132539.GA1770787@subdivi.de>
X-Original-References: <179499427490.135398.4788150447872972514.reportbug@vidgeina.enricozini.org> <179499427490.135398.4788150447872972514.reportbug@vidgeina.enricozini.org>