Skip to content

Use current codesign certificate extraction syntax - #27

Merged
s1korrrr merged 1 commit into
mainfrom
feat/andrzej_codesign_certificate_output
Jul 20, 2026
Merged

Use current codesign certificate extraction syntax#27
s1korrrr merged 1 commit into
mainfrom
feat/andrzej_codesign_certificate_output

Conversation

@s1korrrr

Copy link
Copy Markdown
Member

Summary

  • pass the certificate prefix with the current documented --extract-certificates=<prefix> syntax
  • preserve the leaf-certificate SHA-256 comparison for both the signed DMG and mounted app
  • reuse the hardened-runtime detail parser for mounted-app verification
  • make the notarization contract reject the broken separated-prefix form

Production reproduction

The exact-tag build signed and strictly verified the DMG, but current codesign interpreted the separated prefix as another artifact path and produced no certificate files. The equals form extracts the full chain successfully from both the DMG and app.

Verification

  • red: notarization contract exited 6 on the separated-prefix invocation
  • green: bash Packaging/DeveloperID/tests/notarize_release_contract_test.sh
  • green: Packaging/DeveloperID/tests/run_tests.sh
  • green: shell syntax and diff check

No dedicated security scan was run, per owner instruction.

@s1korrrr
s1korrrr merged commit 8e9b559 into main Jul 20, 2026
5 checks passed
@s1korrrr
s1korrrr deleted the feat/andrzej_codesign_certificate_output branch July 20, 2026 22:46
s1korrrr added a commit that referenced this pull request Jul 21, 2026
Co-authored-by: Rafal Sikora <24563931+s1korrrr@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant