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

fix: preserve macOS entitlements and requirements in codesign #1461

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

zbowling
Copy link
Contributor

@zbowling zbowling commented Mar 2, 2025

During recodesign after dynamic relocation, we drop entitlements and requirements stored on the binary. These are important to keep, especially for debuggers like lldb, which need certain entitlements like com.apple.security.get-task-allow which ad-hoc signed apps don't have default so they can attach to other processes.

Long term, we should expose more options to set signing identities, explicit signing requirements, and other options. This is especially important if we want to allow GUI apps to be in conda-forge that can be directly launched without first launching a signed terminal process.

@wolfv wolfv merged commit b4931e1 into prefix-dev:main Mar 4, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants