Skip to content

Commit 3c8f5e4

Browse files
committed
ci: Treat SHA1 LLVM signing key as warning
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.
1 parent 81e67d9 commit 3c8f5e4

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)