harden provider-bound identity#100
Open
anupsv wants to merge 3 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
This PR hardens the provider-bound identity path and the release/install pipeline around it.
Changes include:
bundle_hashmetadata and validates updates before extraction/install/tmpupdate archive paths in the Rust updater and shell installersSecurity note
This hardens fork resistance by binding claims to a Secure Enclave key that should only be accessible to binaries signed with the expected Team ID and keychain access group. It does not replace full OS-backed runtime measurement of the currently executing provider process; the coordinator still needs a stronger trusted provisioning/attestation chain for that class of assurance.
Validation
go test ./internal/api ./cmd/coordinatorgo test ./internal/attestation ./internal/protocol ./internal/registry ./internal/api ./cmd/coordinatorswift testinenclavecargo test --quiet --no-default-features provider_identitycargo test --quiet --no-default-features coordinator::testscargo test --quiet --no-default-features protocol::testscargo test --quiet --no-default-features test_auto_update_checkcargo test --quiet --no-default-features test_parse_codesign_team_identifierbash -n scripts/install.sh coordinator/internal/api/install.sh scripts/build-bundle.sh scripts/bundle-app.shplutil -p scripts/entitlements.plistgit diff --check