-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Preserve entitlements in MacOS signer #115800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 34 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
5800a18
Use managed signer for bundles
jtschuster 0555c08
Fix tests and write out symtab
jtschuster 416e029
Fix test failures
jtschuster 81e5cf1
Flip comparison
jtschuster 5dd384f
Add comment to TryAdjustHeadersForBundle, and throw if it returns false
jtschuster 031fe60
Don't memory-map file if it's not a Mach-O, remove unused file.
jtschuster 7ee6a45
Fix typo, restructure IsSigned check.
jtschuster ec5b478
PR Feedback: Fomatting and comments
jtschuster 5c381c7
PR feedback:
jtschuster e6fec41
Create new file for macos signing, update LINKEDIT.VMSize to fit sign…
jtschuster 11893bd
Merge branch 'main' into ManagedSignBundles
jtschuster c6d3c55
Merge branch 'main' into ManagedSignBundles
jtschuster 163a8e1
PR feedback
jtschuster 443b151
Merge branch 'main' of https://github.com/dotnet/runtime into Managed…
jtschuster 32c8bb0
Remove old file that's not needed
jtschuster d50db43
Merge branch 'ManagedSignBundles' of https://github.com/jtschuster/ru…
jtschuster 2b2f820
Merge branch 'main' of https://github.com/dotnet/runtime into Managed…
jtschuster ef1cb02
Use constant for alignments
jtschuster c249fe5
Merge branch 'main' of https://github.com/dotnet/runtime into Managed…
jtschuster ae704e7
Wip
jtschuster 90834fa
Merge branch 'main' of https://github.com/dotnet/runtime into Managed…
jtschuster ca9532b
revert dotnet.sh
jtschuster 82834c6
Merge branch 'main' of https://github.com/dotnet/runtime into Managed…
jtschuster dbc3fe5
Wip
jtschuster 2b6446a
Merge branch 'main' of https://github.com/dotnet/runtime into Managed…
jtschuster c79f117
Ensure entitlements are preserved
jtschuster a8d7f65
Update doc comments
jtschuster 3908b00
Add entitlements to singlefilehost
jtschuster d4bcbbc
Check for identical code signatures in tests
jtschuster 2ea2b12
undo test throw
jtschuster e331655
Remove CodeSignature class use EmbeddedSignatureBlob instead
jtschuster 1d7c5a0
Merge branch 'main' of https://github.com/dotnet/runtime into Preserv…
jtschuster 7733427
Remove CodeSignature class, unsign before enabling testonly behaviors
jtschuster 7593313
Rename file to match class, don't set length of file while mapped
jtschuster 9cc919d
Update bundler to memory map a file once, add test for inode change w…
jtschuster a427944
Don't abuse inheritance, add Stream file abstraction
jtschuster 2fb3cb6
Update reading BigEndian values
jtschuster f37a9f7
Merge branch 'main' of https://github.com/dotnet/runtime into Preserv…
jtschuster 6a39a82
Use composition + interfaces instead of inheritance for blobs
jtschuster 01beca9
Merge branch 'main' into PreserveEntitlements
jtschuster File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.