Skip to content

Commit adc0f71

Browse files
danielbodartclaude
andcommitted
Make Fulcio verification step non-fatal in codesign script
codesign -dvvv exits non-zero for Fulcio-signed binaries because the Sigstore CA is not in Apple's trust store. This is expected and doesn't affect TCC — add || true so set -e doesn't abort the CI pipeline. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 05c6fd4 commit adc0f71

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

scripts/fulcio-codesign.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,11 @@ security list-keychains -d user -s $ORIGINAL_KEYCHAINS
346346

347347
echo ""
348348
echo "=== Verification ==="
349-
codesign -dvvv "$BINARY" 2>&1 | head -20
349+
# codesign -dvvv may return a non-zero exit for Fulcio-signed binaries
350+
# because the Sigstore CA is not in Apple's trust store. This is expected
351+
# and does not affect functionality — TCC reads the signing identity from
352+
# the CMS blob regardless of chain trust.
353+
codesign -dvvv "$BINARY" 2>&1 | head -20 || true
350354
echo ""
351355
echo "Entitlements:"
352356
codesign -d --entitlements - "$BINARY" 2>&1

0 commit comments

Comments
 (0)