Skip to content
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

SingleFile Bundler should use the managed Mach-O signer #110055

Open
jtschuster opened this issue Nov 21, 2024 · 0 comments
Open

SingleFile Bundler should use the managed Mach-O signer #110055

jtschuster opened this issue Nov 21, 2024 · 0 comments
Assignees
Labels
area-HostModel Microsoft.NET.HostModel issues
Milestone

Comments

@jtschuster
Copy link
Member

The SingleFile bundler should use the managed Mach-O signer. The bundler uses codesign to both remove the signature and sign, and CreateAppHost uses the managed signer. If we enable ad-hoc singing on non-mac, we would have a signature in the singlefile apphost, but wouldn't be able to remove the signature before bundling or resign the final bundle, resulting in an executable with an invalid signature, which seems worse than unsigned.

At the very least, we should use the managed signer to remove the signature in the bundler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-HostModel Microsoft.NET.HostModel issues
Projects
Status: No status
Development

No branches or pull requests

1 participant