diff --git a/.github/workflows/build-git-installers.yml b/.github/workflows/build-git-installers.yml index 23f0066d18b4f5..1da39551d3b684 100644 --- a/.github/workflows/build-git-installers.yml +++ b/.github/workflows/build-git-installers.yml @@ -690,6 +690,15 @@ jobs: # Install debsigs sudo apt-get install -y debsigs + # Stop using SHA-1 for the signature. For details, see + # https://gitlab.com/debsigs/debsigs/-/commit/75c6c8f96e6cdc33bca9c5f32195b68ff35bc32f + # which seems to have made it to have made it into debsigs v0.2.1, but Ubuntu 24.04 is + # stuck with v1.19. + mkdir -p patched-debsigs && + sed 's/, "--openpgp"//' patched-debsigs/debsigs && + chmod a+x patched-debsigs/debsigs && + echo "$PWD/patched-debsigs" >>$GITHUB_PATH + # Import GPG key echo -n '${{ steps.gpg-secrets.outputs.private-key }}' | gpg --import --no-tty --batch --yes