Repository navigation
fix: preserve notarization tickets for Locked Use payloads - #139
Merged
Merged
Conversation
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.
Problem
Normal screen unlock evaluates the Locked Use remote branch before native authentication. On a cold authorization-host load, Gatekeeper can wait for an online notarization-ticket lookup before
mechanismInvokestarts. Local traces showed about 6.24 seconds before invocation, while the mechanism itself returned in about 11 ms. Non-locking remote-right requests reproduced approximately 3.17 s / 8.5 ms and 3.40 s / 10.1 ms cold/warm pairs.The release workflow only stapled the outer App. The separately installed authorization bundle had no stapled ticket, and npm packages were already staged and packed before notarization. Stapling the nested payload afterward also changes the outer App's resource seal.
Change
Validation
make check-docs, Action SHA pinning, andgit diff --checkpass.Remaining verification
This fixes the identified ticket-distribution gaps. It does not yet prove that all cold-load latency is eliminated: security caches and other trust/network checks can still affect timing. A real Developer ID/notarization build, installation round trip, and cold/warm manual-unlock comparison remain pending. No installed system component or authentication policy was changed during this investigation.
Evidence and reproduction: cold-authorization investigation.