🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1147931: mmdebstrap: deprecate use of gpgvnoexpkeysig

#105
From: Jochen Sprickerhof
Date: Thu, 08 Oct 2026 03:50
92 lines
5531 bytes
--9HqOG5YWgCR+Ad5W
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Johannes Schauer Marin Rodrigues <josch@debian.org> [2026-10-07 15:54]:
>Quoting Jochen Sprickerhof (2026-09-15 15:38:17)
>> Adding --aptopt Apt::Key::gpgvcommand has two consequences:
>>
>> 1. It is added to the outer apt config on the host system.
>
>this sounds like it is added to the /etc of the system running mmdebstrap
>but this is not the case.

Right, I meant that it is added to the mmdebstrap apt config that is=20
used when mmdebstrap uses the host system apt to do the initial=20
bootstrap.

>Indeed it seems more is needed with modern versions of apt. In addition to
>what the mmdebstrap man page says, these days you also must convince apt t=
hat
>SHA1 is fine:
>
>    --aptopt=3D'APT::Hashes::SHA1::Weak "yes"'
>
>I have the man page adjusted accordingly in git. If you do this, you can go
>back as far as 2009-05-23T21:38:52Z. If you try to go further back you get:

Thanks for pointing that out! Feel free to close this bug with that=20
change.

>Yes, but I wouldn't make gpgv a dependency. At maximum I'd make it a Sugge=
sts.
>The error message says "gpgv executable not found" which I find a error me=
ssage
>which is good enough to understand that gpgv must be installed for this to
>work.

I think documenting the dependency next to how and when to use=20
gpgvnoexpkeysig is enough.

>Yes, this is because mmdebstrap is used like this with ancient timestamps =
only
>in debbisect which throws away the chroot after it created it, so there is
>never an "apt update" happening. If you want to keep the ancient chroot to=
 work
>with it later then yes, you'd need gpgvnoexpkeysig. I haven't heard yet of
>anybody who has a use-case for doing that.

Not really a use case but rust-rust-apt 0.11.3-2 added a gpgv dependency=20
so it works in debrebuild with gpgvnoexpkeysig.

>I don't think it's needed for debrebuild because you never want to rebuild
>anything in snapshot timestamps from 2013 or earlier.

I will open an MR for that later.

>Since there seems to be a use-case for gpgvnoexpkeysig for timestamps of D=
ebian
>unstable (the timestamps differ for other suites) between 2009-05-23T21:38=
:52Z
>and 2013-10-12T13:01:34Z what is the argument to remove the utility. Where=
 does
>its existence in the mmdebstrap codebase cause problems?

It is fine and we should keep it.

Thanks!

Jochen

--9HqOG5YWgCR+Ad5W
Content-Type: application/pgp-signature; name=signature.asc

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

iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmrHEIMACgkQW//cwljm
lDNAaA//QR5E0CGp5b4P1GChnm8OSqMIZZRI/uYWm2nOLiaLEanXJoVQS01as3JD
6s0v6X9wY3dIBymyi6yLWQo0QuBc0PzVhDwFZCTjDpPNVZD9LlNN2njW826SHkxz
qNSnwNa7DuGN6BsQn5U+xE44NEImTpJMzknPLsQCh52r9A16z5N9mZfEY7rY5dVP
3BztZ4CnRQV3HcFasfCzJnSdcJyk/w+A8zYjwDeBQpLrh6MjOzqcjPF7TgMCdKcU
QQwJnfKLyx7LieFRPsHA0HstLiGx5t4lJPBHsHzgCJ6DH5/hsGhCQFHIw8O85TB0
RRjBkz485R3DfOUZZMLuMxrW6XUkUCvhoxPGa1lotRMvX4K3ZrVQqhFcPfIlNkJU
80B0OBDY9VbTFOAOGqTqJ8xK+4zU5iJ/OTFQKu9tAv1h2MI8hqBS3w0f94aaDwZK
q5XOMiFuaYJbPPDg1aBDYZRlRHn3OQlWVTh6BJZlGkqFXePqrj4+I08V8HMxiWIZ
FWf+P4Lyu7Hf4fdMOSqmKUfNSSniTi21zzJpa3nkg+16CF8Z87M4imYkmtjBiiou
pB+GNwW2Wl6pBtEkBgmtDTlv/He19KJkrNfIHCEELE5FX3oXMZcmABGfKZruLyQI
DI/TDMaiZtzM8fa4DoQyH9vjtcMOs2Hk6pgtFi7sEEo3p9ayaV4=
=IWLw
-----END PGP SIGNATURE-----

--9HqOG5YWgCR+Ad5W--
Technical Details
Message-ID: <NLNiN-4cgs-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NDBHP-hlfw-9@gated-at.bofh.it> <NLAlz-45tK-3@gated-at.bofh.it> <NDBHP-hlfw-9@gated-at.bofh.it> <NLAlz-45tK-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Jochen Sprickerhof <jspricke@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1147931: mmdebstrap: deprecate use of gpgvnoexpkeysig
Date: Thu, 08 Oct 2026 05:50:01 +0200
Message-ID: <NLNiN-4cgs-3@gated-at.bofh.it>
References: <NDBHP-hlfw-9@gated-at.bofh.it> <NLAlz-45tK-3@gated-at.bofh.it> <NDBHP-hlfw-9@gated-at.bofh.it> <NLAlz-45tK-3@gated-at.bofh.it>
X-Original-To: Johannes Schauer Marin Rodrigues <josch@debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Oct  8 03:41:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Jochen Sprickerhof <jspricke@debian.org>, 1147931@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: josch@debian.org
X-Debian-Pr-Message: followup 1147931
X-Debian-Pr-Package: mmdebstrap
X-Debian-Pr-Source: mmdebstrap
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="9HqOG5YWgCR+Ad5W"
Content-Disposition: inline
Organization: The Debian Project
X-Debian-User: jspricke
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995649
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 92
Sender: robomod@news.nic.it
X-Original-Cc: 1147931@bugs.debian.org
X-Original-Date: Thu, 8 Oct 2026 05:39:51 +0200
X-Original-Message-ID: <ascQgilov00c7U6c@mpd>
X-Original-References: <178947949772.1165778.4532671828842500452.reportbug@fenchel> <179138125211.21057.13575189366550835296@localhost> <178947949772.1165778.4532671828842500452.reportbug@fenchel> <179138125211.21057.13575189366550835296@localhost>