🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.devel
Article #491

Re: Scan your system for compromised CA certificates

#491
From: Enrico Zini
Date: Mon, 16 Nov 2026 20:40
88 lines
5032 bytes
--qfqWGdJRKdnayGXL
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Nov 15, 2026 at 09:05:55PM +0100, Marco d'Itri wrote:
> On Nov 15, Steve McIntyre <steve@einval.com> wrote:
>=20
> > IMHO we *absolutely* need to fix this awful anti-pattern of packages
> > embedding and using their own certificate stores like this. On other
> I agree: we need a new policy saying that applications MUST use the system
> certificate store.
>=20
> This may not be easy for some packages, but it cannot be an excuse to
> a) not fix the easy ones, and
> b) not take note of the others that will still need to be fixed.
>=20
> In most cases all that is needed is replacing at build time the embedded
> certificates bundle with a symlink.
>=20
> Is there a volunteer to draft the policy?

Here's my attempt at a draft. Can anyone see fundamental flaws?

diff --git i/policy/ch-source.rst w/policy/ch-source.rst
index 5228e0b..d76de4d 100644
--- i/policy/ch-source.rst
+++ w/policy/ch-source.rst
@@ -803,8 +803,8 @@ the list in ``debian/files``.

 .. _s-embeddedfiles:

-Embedded code copies
---------------------
+Embedded code or database copies
+--------------------------------

 Some software packages include in their distribution convenience copies
 of code from other software packages, generally so that users compiling
@@ -817,6 +817,14 @@ libraries already in Debian and the convenience copy i=
s not used. If the
 included code is not already in Debian, it should be packaged separately
 as a prerequisite if possible.  [#]_

+Similarly, Debian maintains system-wide datasets such as CA certificates or
+timezone information, which is kept current during the lifetime of a relea=
se.
+
+Packages should not ship or embed a copy of such databases without a good
+reason, as it would increase the effort of restoring system security or
+functionality in a timely manner after external events such as a key compr=
omise
+or a timezone update. Exceptions should be documented in ``README.source``.
+
 .. _s-readmesource:

 Source package handling: ``debian/README.source``



Enrico

--=20
GPG key: 4096R/634F4BD1E7AD5568 2009-05-08 Enrico Zini <enrico@enricozini.o=
rg>

--qfqWGdJRKdnayGXL
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIzBAABCAAdFiEEzcrDClsZDUbLiHVsQQj4QWUj0N4FAmr7aA4ACgkQQQj4QWUj
0N63dw/9GXIS9hiZAKW8Rob9V1ORrYZs3MD+87BNOhVHor1WT4QSukAmJQVLWYDm
FwZgeWeQDf+7hoP5cTVy+4KRzKc+6cLyXlJrO9bPUitPUbAPdPLCqA+gGH5rylLT
bNtLNlK2CXLsuWeUddp6/5IBAtSL27fbPu8V712HQjptybpMmesZD253ImSilHr5
nOabuCHA7cRo550OyZAYkTbhWtmUIIrdfqcdnRGR3qwXtFuq+UDfob/tqUuQuA4p
+BVzf/oIA7LfOdbq8MhonBumpWZjlgZBTMT0NGffFBCRthXu5cftX42RUbgnvpiS
ITwth/GFWl+oO+xu2tVtAuFz5HxqVu23M8zB0oUCW9Y5hOn5aO4vQBtgzZz0gX8X
Vd6S3MQnIf6lhmjrikwzyW4lTkPP9WsswI/3LUcPWmqIheaPEmJvQ9VBTe/5meHZ
l9O6ruXuaNIX5D6D5dAIFQksyqA6GLTROgA4F8+PgDDPaJBRg6u9y2tohq7OZMn9
14X/pc2HopuiYCBTPu57eKCEh4XhWlgCCPwV4mBvkmJWbImKqI4gXsgKVUG05yKE
9IHND0gahL691E9YUx+O3SJD+cEJrQUYJRwDyM7sglL31FCmdZntl5EmQRAHDC+0
OpM6iK0JCBaPAj7qOkcp3R8ZnSSl30xO2NgB0GX8B2L+9ZRjxak=
=/5W0
-----END PGP SIGNATURE-----

--qfqWGdJRKdnayGXL--
Technical Details
Message-ID: <O0bEB-cjPk-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <NZMdc-c58b-7@gated-at.bofh.it> <NZN9f-c5H1-1@gated-at.bofh.it> <NZOI2-c6NW-11@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Enrico Zini <enrico@enricozini.org>
Newsgroups: linux.debian.devel
Subject: Re: Scan your system for compromised CA certificates
Date: Mon, 16 Nov 2026 21:40:01 +0100
Message-ID: <O0bEB-cjPk-9@gated-at.bofh.it>
References: <NZMdc-c58b-7@gated-at.bofh.it> <NZN9f-c5H1-1@gated-at.bofh.it> <NZOI2-c6NW-11@gated-at.bofh.it>
X-Mailbox-Line: From debian-devel-request@lists.debian.org  Mon Nov 16 20:31:27 2026
Old-Return-Path: <enrico@ezini.eu>
X-Amavis-Spam-Status: No, score=-1.751 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 HEADER_FROM_DIFFERENT_DOMAINS=0.249] autolearn=no autolearn_force=no
X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_FROM_MX=-3.1; rate: -4.6
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="qfqWGdJRKdnayGXL"
Content-Disposition: inline
X-Mailing-List: <debian-devel@lists.debian.org> archive/latest/373225
List-ID: <debian-devel.lists.debian.org>
List-URL: <https://lists.debian.org/debian-devel/>
List-Archive: https://lists.debian.org/msgid-search/avtoE9kGceGBEtIU@ezini.eu
Approved: robomod@news.nic.it
Lines: 88
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 16 Nov 2026 21:31:15 +0100
X-Original-Message-ID: <avtoE9kGceGBEtIU@ezini.eu>
X-Original-References: <avnrRnhY_Xs-cU_l@ezini.eu>
 <E1xSesr-000000069XA-3dKo@mail.einval.com>
 <avoQo6IJITF4JWKI@bongo.bofh.it>