Skip to content

Commit 9f8764c

Browse files
committed
Merge bitcoin#34475: ci: Treat SHA1 LLVM signing key as warning
3c8f5e4 ci: Treat SHA1 LLVM signing key as warning (will) Pull request description: The current SHA1 LLVM signing key is considered not secure since 2026-02-01T00:00:00Z which makes this run fail when downloading packages. See: llvm/llvm-project#153385 Apply the fix from the issue to temporarily to treat this error as a warning, until the upstream key can be updated. This PR should be reverted once the upstream key is updated. ACKs for top commit: hebasto: ACK 3c8f5e4, tested by running the "iwyu" CI job locally on Ubuntu 25.10 after burning all podman's caches. Tree-SHA512: fbccf98bfd73cb338670f1ceea994d277d746acbc88b9b90a403d9a59d82abda0f3ba34c4d484b70926340c2d0c873259f930c36ccd4f9d18bb1d22d49ee70c4
2 parents 5cb4cf9 + 3c8f5e4 commit 9f8764c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ci/test/01_base_install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ if [ -n "$DPKG_ADD_ARCH" ]; then
2222
fi
2323

2424
if [ -n "${APT_LLVM_V}" ]; then
25+
# Temporarily work around Sequoia PGP policy deadline for legacy repositories.
26+
# See https://github.com/llvm/llvm-project/issues/153385.
27+
if [ -f /usr/share/apt/default-sequoia.config ]; then
28+
sed -i 's/\(sha1\.second_preimage_resistance =\).*/\1 9999-01-01/' /usr/share/apt/default-sequoia.config
29+
fi
2530
${CI_RETRY_EXE} apt-get update
2631
${CI_RETRY_EXE} apt-get install curl -y
2732
curl "https://apt.llvm.org/llvm-snapshot.gpg.key" | tee "/etc/apt/trusted.gpg.d/apt.llvm.org.asc"

0 commit comments

Comments
 (0)