Repository navigation
fix: make notarized Mac packaging pass: sign onnxruntime, check engine notarization - #21
Conversation
…[skip ci] Apple rejected the beta.21 Mac build: libonnxruntime.1.23.2.dylib and onnxruntime_binding.node in retriever-runtime had no Developer ID signature or secure timestamp. Public packaging signed only the bundled Node. It now signs every native binary in the bundled dist-* folders the same way, then writes their new fingerprints into the folder's provenance.json (keeping the unsigned ones), because MemCode checks those files against it before loading local search. beta.20 got through only because its notarized build was re-signed by hand. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Mention Blocks like a regular teammate with your question or request: @blocks review this pull request Run |
The public Mac check ran Gatekeeper's app assessment on the four engine programs extracted from engine.zip. macOS always answers "valid but does not seem to be an app" for command-line tools, so a correctly signed and notarized engine failed the beta.21 build every time. It now asks codesign whether Apple notarized each one (=notarized requirement). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Added |
Apple rejected the notarized beta.21 Mac build because
libonnxruntime.1.23.2.dylibandonnxruntime_binding.nodeinretriever-runtimehad no Developer ID signature or secure timestamp. Public packaging signed only the bundled Node.Now
prepareMacSigningsigns every native binary in the bundleddist-*folders (Node keeps its own entitlement signing), then records the new fingerprints in that folder'sprovenance.json, keepingunsignedSha256, because the app verifies those files before loading local search.Tests: two new cases in
tests/macos-release-trust.test.ts(which files get signed; fingerprints recorded). Full suite: 1,516 passed, 0 failed. Typecheck clean.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.