Repository navigation
fix(native): preserve exact code signing identifiers - #803
Closed
rudycelekli wants to merge 1 commit into
Closed
rudycelekli wants to merge 1 commit into
rudycelekli wants to merge 1 commit into
Conversation
Signed-off-by: Rudy Celekli <[email protected]>
Owner
|
Superseded by #815, which integrated this change and has now merged (3af3811). Thanks @rudycelekli for the fix and the thorough verification — much appreciated! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Preserve the exact
Identifier=value emitted bycodesign -d --verbose=4. Signing identifiers can contain leading or trailing spaces; trimming the value changes the inspected identity. Other display-field normalization is unchanged.Verification
/usr/bin/codesign, resolve it throughparseBinaryTarget, and call the publicNativeMacOSProviderinspect_signatureoperation. Three spaced identifiers mismatch on main; all four identifiers (including the ordinary control) match after this fix.npm run test:focused -- tests/boundary/providers/native/nativeProvider.test.ts tests/boundary/providers/native/nativeInventory.golden.test.ts: 25 passed.npm run check: all five tasks passed; 129 existing lint warnings, zero errors.npm run check:fast: passed.Native proof ran on macOS arm64 with the installed Apple toolchain. No other OS matrix or credentialed signing is claimed. No Hopper/Ghidra behavior changes; those real-provider workflows were not run. Hosted CI will run separately.
AI assistance was used for investigation, implementation, and regression tests.