-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Add managed MachO signing #108992
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
Merged
Merged
Add managed MachO signing #108992
Changes from 18 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
8901e5e
Add managed MachO signing
jtschuster 10fc3b3
Add managed MachO signing
jtschuster f2f8402
Merge branch 'MachSigning' of https://github.com/jtschuster/runtime i…
jtschuster 65a5a46
PR feedback, use different memory map file workaround
jtschuster c4425e9
Set enableMacOSCodesign=true in singlefile test
jtschuster 622b32c
Make NameBuffer constants more readable
jtschuster b69eafd
Update src/installer/managed/Microsoft.NET.HostModel/MachO/MachMagicE…
jtschuster ed70909
Update src/installer/managed/Microsoft.NET.HostModel/MachO/MachMagicE…
jtschuster 72e2ccf
PR Feedback:
jtschuster f92c9fa
Handle folders in the test data package
jtschuster 6784db8
PR feedback
jtschuster 4be00c2
Merge branch 'main' of https://github.com/dotnet/runtime into MachSig…
jtschuster 9c6b1bc
Fix test issues
jtschuster 5d8fe8e
Merge branch 'main' of https://github.com/dotnet/runtime into MachSig…
jtschuster 3a2351b
Move BinaryFormat files and Enums to separate folders and add notes a…
jtschuster 5eafdcb
Extend the AppHost template on disk before modifying and signing. Rem…
jtschuster f58574e
Use new MachO types in MachOUtils.cs
jtschuster b551128
Fix comments, use explicit types, update darc dependencies
jtschuster 58f5144
Use unsafe and sizeof instead of Marshal.SizeOf, fix format nits
jtschuster 4b77556
Rename signatureLC to signatureLoadCommand, remove unnecessary methods
jtschuster 4a1f133
Remove extra 'unsafe' blocks
jtschuster 78605a0
Revert arguments string change
jtschuster 272f0e5
Re-add ResourceUpdater to HostWriter
jtschuster 4a46cb9
Move CodeSignature to a nested type within MachObjectFile, move signa…
jtschuster e81000a
Merge branch 'main' of https://github.com/dotnet/runtime into MachSig…
jtschuster 3cdc7ce
Set file length after memory mapped file is disposed
jtschuster a18cb1b
Close memory mapped file in test signing method.
jtschuster 5320d1f
PR Feedback
jtschuster 71cadf4
Merge branch 'main' of https://github.com/dotnet/runtime into MachSig…
jtschuster 2a36163
Revert local testing change that enabled codesigning always.
jtschuster 980c755
Revert extra change in TestApp.cs
jtschuster 2cf8e41
Remove license from ThirdPartyNotices
jtschuster a8956b3
Add more definitions links, fix test nits.
jtschuster 0c7e528
Merge branch 'main' of https://github.com/dotnet/runtime into MachSig…
jtschuster 753c73c
Add comment explaining why the file must be written to create signatu…
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
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.