🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by Benjamin Drung Tue, 24 Nov 2026 14:10
Bug#1155125: mmdebstrap: /usr/bin/sqv complains about SHA1 of old Ubuntu releases
#5930
Author: Benjamin Drung
Date: Tue, 24 Nov 2026 14:10
47 lines
5821 bytes
Package: mmdebstrap
Version: 1.7.0-8
Severity: normal
X-Debbugs-Cc: bdrung@debian.org

Dear Maintainer,

"mmdebstrap bionic bionic.tar" fails to run on unstable:

```
I: automatically chosen mode: unshare
I: chroot architecture amd64 is equal to the host's architecture
I: finding correct signed-by value...
I: automatically chosen format: tar
I: using /tmp/mmdebstrap.RuSTCmjwHP as tempdir
I: running apt-get update...
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [102 kB]
Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
  Sub-process /usr/bin/sqv returned an error code (1), error message is: Signing key on 790BC7277767219C42C86F933B4FE6ACC0B21F32 is not bound:            No binding signature at time 2026-11-24T12:04:53Z   because: Policy rejected non-revocation signature (PositiveCertification) requiring second pre-image resistance   because: SHA1 is not considered secure since 2026-02-01T00:00:00Z
Get:2 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Err:2 http://archive.ubuntu.com/ubuntu bionic InRelease
  Sub-process /usr/bin/sqv returned an error code (1), error message is: Signing key on 790BC7277767219C42C86F933B4FE6ACC0B21F32 is not bound:            No binding signature at time 2018-04-26T23:38:40Z   because: Policy rejected non-revocation signature (PositiveCertification) requiring second pre-image resistance   because: SHA1 is not considered secure since 2026-02-01T00:00:00Z
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [102 kB]
Err:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
  Sub-process /usr/bin/sqv returned an error code (1), error message is: Signing key on 790BC7277767219C42C86F933B4FE6ACC0B21F32 is not bound:            No binding signature at time 2026-11-24T11:29:36Z   because: Policy rejected non-revocation signature (PositiveCertification) requiring second pre-image resistance   because: SHA1 is not considered secure since 2026-02-01T00:00:00Z
Reading package lists...
W: Signature verification failed: http://security.ubuntu.com/ubuntu bionic-security InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Signing key on 790BC7277767219C42C86F933B4FE6ACC0B21F32 is not bound:            No binding signature at time 2026-11-24T12:04:53Z   because: Policy rejected non-revocation signature (PositiveCertification) requiring second pre-image resistance   because: SHA1 is not considered secure since 2026-02-01T00:00:00Z
E: The repository 'http://security.ubuntu.com/ubuntu bionic-security InRelease' is not signed.
W: Signature verification failed: http://archive.ubuntu.com/ubuntu bionic InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Signing key on 790BC7277767219C42C86F933B4FE6ACC0B21F32 is not bound:            No binding signature at time 2018-04-26T23:38:40Z   because: Policy rejected non-revocation signature (PositiveCertification) requiring second pre-image resistance   because: SHA1 is not considered secure since 2026-02-01T00:00:00Z
E: The repository 'http://archive.ubuntu.com/ubuntu bionic InRelease' is not signed.
W: Signature verification failed: http://archive.ubuntu.com/ubuntu bionic-updates InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Signing key on 790BC7277767219C42C86F933B4FE6ACC0B21F32 is not bound:            No binding signature at time 2026-11-24T11:29:36Z   because: Policy rejected non-revocation signature (PositiveCertification) requiring second pre-image resistance   because: SHA1 is not considered secure since 2026-02-01T00:00:00Z
E: The repository 'http://archive.ubuntu.com/ubuntu bionic-updates InRelease' is not signed.
E: apt-get update --error-on=any -oAPT::Status-Fd=<$fd> -oDpkg::Use-Pty=false failed: process exited with 100 and error in console output
W: hooklistener errored out: E: received eof on socket

I: main() received signal PIPE: waiting for setup...
I: removing tempdir /tmp/mmdebstrap.RuSTCmjwHP...
E: mmdebstrap failed to run
```

This is caused by sqv rejecting the SHA1 signatures. Since these are old
releases, they should still be accepted. So for Ubuntu <= bionic sqv
should probably be configured to still accept SHA1.

-- 
Benjamin Drung
Debian & Ubuntu Developer
Bug#1155125: mmdebstrap: /usr/bin/sqv complains about SHA1 of old Ubuntu releases
#6017
Author: Johannes Schauer Marin Rodrigues
Date: Tue, 24 Nov 2026 21:20
62 lines
4175 bytes
--===============0405099536582520862==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Hi,

Quoting Benjamin Drung (2026-11-24 15:07:27)
> "mmdebstrap bionic bionic.tar" fails to run on unstable:
>=20
> [...]
>=20
> This is caused by sqv rejecting the SHA1 signatures. Since these are old
> releases, they should still be accepted. So for Ubuntu <=3D bionic sqv
> should probably be configured to still accept SHA1.

here is a reproducer without mmdebstrap involved:

#!/bin/sh
TMPDIR=3D"$(mktemp -d)"
mkdir -p "$TMPDIR/etc/apt" "$TMPDIR/var/cache" "$TMPDIR/var/lib" "$TMPDIR/e=
tc/apt/trusted.gpg.d/" "$TMPDIR/etc/apt/apt.conf.d"
cat << END > "$TMPDIR/apt.conf"
Apt::Architecture "amd64";
Dir "$(cd "$TMPDIR" && pwd)";
END
echo "deb [signed-by=3D/usr/share/keyrings/ubuntu-archive-keyring.gpg] http=
://archive.ubuntu.com/ubuntu bionic main" > "$TMPDIR/etc/apt/sources.list"
APT_CONFIG=3D"$TMPDIR/apt.conf" apt-get update

If you can find out how to make the above work, then you can find out how to
make mmdebstrap work. Did you search the mmdebstrap for APT::Hashes::SHA1::=
Weak
and tried out those options?

Thanks!

cheers, josch
--===============0405099536582520862==
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Description: signature
Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"

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

iQIzBAABCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmsF/sUACgkQ8sulx4+9
g+FejhAAo3lmvMS0UT+jRH8qWtv+LJSIHHXTR9yKoGF+0+9iA0IfbWPnWx/IXUet
Qdvn0UcyA8JCppwh6b/nQx3C/s27QZ2xwKlSeSiMkBVR/HZXg8epR69MY9lQB9so
UY8svrZg15OnwfChMIUzcZXxP4fG3wBazgFS9eJYGhNj9cU9xd30ruvSEMWL7KGo
mO3l21wDrwsXlTUOf8V7Dpsa8Vluey/C4ViaOQKLb/iXpcu2xHeC21pOXNBaOst4
et0g+wzE4sKvn8Ce0o6tnEbux42lljwAnpo96df9RoisvqUY/0H/L1vDL230s52e
AmXuWaxjkRWVx+FRF5tFv+nGQaWe+pQLngSnVLZAs0r7CA8bk+J6yt1SzIhnHpeL
3zgpsk/pnoai61cLgk5W0GichwrrSryLwACh5YzFNodXBZwN8tp9Mf9DOjzmxoBM
hJgr+26WDgzPX+3vz0QXpgYQidUYFnUavZxYIA47QRbe7aDl1nTjbe0kDpulAzQv
xPtJaOJG9d64DOgCkAzcpBjReFCQtLzCLo3NYYnnWZKiijkoj1wnpzNrKcqRDHHQ
RVI8pzoiwSBvvZ3iL6Yx//SGYj+AVPobPDFYPTz7CpLbqt3YXeSgSsB2of95+KjD
8/MuFCHQF9NtD4i140dD+CgBOXFXjTBsNxdvhg9yiytJIR6fPi8=
=VhV+
-----END PGP SIGNATURE-----

--===============0405099536582520862==--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads