🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #5117

Bug#1154269: Forbid embedded trust anchors

#5117
From: Marco d'Itri
Date: Thu, 19 Nov 2026 15:40
58 lines
4504 bytes
--WCpb0ku/WrahkzDS
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Nov 19, Ansgar =F0=9F=99=80 <ansgar@debian.org> wrote:

>1. It should state which is the reference version. Probably the one in
>nss which is the source of the convenience copy for OpenSSL-compatible
>software in ca-certificates?
The reference version is ca-certificates, which follows the NSS trust=20
store: no changes here.

>2. It doesn't cover extra data like trust bits, explicitly untrusted
>certificates, trusting only certificates issued before a certain day,
>expiry dates independent of "notAfter" and similar. There is no format
>to share such data over different trust stores yet as far as I can
>tell. Removing these is a regression.
Of course browsers have a much more complex trust model than a list of=20
certificates. Since browsers are special in so many other ways I think=20
that it is fine to recognize that they cannot use ca-certificates=20
because they actually use a different trust store.
No changes here too.

>3. It is unclear what software like Go should do when building stand-
>alone binaries (possibly not even for Linux). Convert the trust store
>into the appropriate format when the Go library is built? Have no trust
>store and differ from upstream?
An embedded trust store in a random Go program distributed in Debian=20
would be a policy violation, yes: it should use the system trust store.
And I strongly believe that it needs to be a policy violation.

I am not familiar with the Go ecosystem, but I see here
https://go.dev/src/crypto/x509/root_linux.go that Go programs can use=20
the system trust store.

>4. Given ca-certificates doesn't see regular additions of new CAs, I
>feel this would introduce regressions if browsers used this. Indeed
>this has happened in the past:
I do not think that browsers should use ca-certificates, but maybe=20
ca-certificates needs to be better maintained too.

--=20
ciao,
Marco

--WCpb0ku/WrahkzDS
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHQEABYKAB0WIQQnKUXNg20437dCfobLPsM64d7XgQUCav8V9wAKCRDLPsM64d7X
gRxdAQCw5GgPlh5skIpJr0TWQZ3e6yIUTODYQpqojmmHPOQ7sgD4vf8lve3HP6mo
Z3kjgK0KQJt/MA5p5MMMN680iXn5Dg==
=VYaB
-----END PGP SIGNATURE-----

--WCpb0ku/WrahkzDS--
Technical Details
Message-ID: <O1coV-cUxz-17@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <O0KiZ-cE4i-7@gated-at.bofh.it> <O0KiZ-cE4i-7@gated-at.bofh.it> <O19U5-cTdB-9@gated-at.bofh.it> <O0KiZ-cE4i-7@gated-at.bofh.it> <O19U5-cTdB-9@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Marco d'Itri <md@Linux.IT>
Newsgroups: linux.debian.bugs.dist,linux.debian.policy
Subject: Bug#1154269: Forbid embedded trust anchors
Date: Thu, 19 Nov 2026 16:40:01 +0100
Message-ID: <O1coV-cUxz-17@gated-at.bofh.it>
References: <O0KiZ-cE4i-7@gated-at.bofh.it> <O0KiZ-cE4i-7@gated-at.bofh.it> <O19U5-cTdB-9@gated-at.bofh.it> <O0KiZ-cE4i-7@gated-at.bofh.it> <O19U5-cTdB-9@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov 19 15:33:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Marco d'Itri <md@Linux.IT>, 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: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="WCpb0ku/WrahkzDS"
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003572
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 58
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 19 Nov 2026 16:29:59 +0100
X-Original-Message-ID: <av8V9-POBhsyrZht@bongo.bofh.it>
X-Original-References: <179499427490.135398.4788150447872972514.reportbug@vidgeina.enricozini.org> <179499427490.135398.4788150447872972514.reportbug@vidgeina.enricozini.org> <a4df763fe11fbdfe743a5728963ebe3181849051.camel@debian.org> <179499427490.135398.4788150447872972514.reportbug@vidgeina.enricozini.org> <a4df763fe11fbdfe743a5728963ebe3181849051.camel@debian.org>