Skip to content

Commit a36eb2b

Browse files
committed
fix: Fixing cosign
1 parent 95c9742 commit a36eb2b

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

.github/scripts/release/sign-checksums.sh

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,19 @@ function main {
4444
# GPG signing
4545
echo "Signing SHA256SUMS with GPG..."
4646
gpg --batch --yes -u "${GPG_FINGERPRINT}" \
47-
--pinentry-mode loopback \
48-
--passphrase "${SIGNING_GPG_PASSPHRASE}" \
49-
--output SHA256SUMS.gpgsig \
50-
--detach-sign SHA256SUMS
47+
--pinentry-mode loopback \
48+
--passphrase "${SIGNING_GPG_PASSPHRASE}" \
49+
--output SHA256SUMS.gpgsig \
50+
--detach-sign SHA256SUMS
5151

5252
echo "GPG signature created: SHA256SUMS.gpgsig"
5353

5454
# Cosign signing (keyless OIDC)
5555
echo "Signing SHA256SUMS with Cosign..."
5656
cosign sign-blob SHA256SUMS \
57-
--oidc-issuer=https://token.actions.githubusercontent.com \
58-
--output-certificate=SHA256SUMS.pem \
59-
--output-signature=SHA256SUMS.sig \
60-
--yes
57+
--output-certificate=SHA256SUMS.pem \
58+
--output-signature=SHA256SUMS.sig \
59+
--yes
6160

6261
echo "Cosign signature created: SHA256SUMS.sig"
6362
echo "Cosign certificate created: SHA256SUMS.pem"

0 commit comments

Comments
 (0)