-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Add get-task-allow
entitlement to allow debuggers to attach to codesigned Julia
#37069
Conversation
…signed Julia Without this entitlement, users that wish to attach a debugger to the codesign Julia executable they receive from `julialang.org` must strip the codesigning signature from the Julia executable (e.g. via `codesign --remove-signature Julia-1.5.app/Contents/Resources/bin/julia`). This has its disadvantages, of course, so much better to simply declare to the OS that it's alright for other processes to attach to this process.
…signed Julia (#37069) Without this entitlement, users that wish to attach a debugger to the codesign Julia executable they receive from `julialang.org` must strip the codesigning signature from the Julia executable (e.g. via `codesign --remove-signature Julia-1.5.app/Contents/Resources/bin/julia`). This has its disadvantages, of course, so much better to simply declare to the OS that it's alright for other processes to attach to this process. (cherry picked from commit bf8a8e8)
…signed Julia (#37069) Without this entitlement, users that wish to attach a debugger to the codesign Julia executable they receive from `julialang.org` must strip the codesigning signature from the Julia executable (e.g. via `codesign --remove-signature Julia-1.5.app/Contents/Resources/bin/julia`). This has its disadvantages, of course, so much better to simply declare to the OS that it's alright for other processes to attach to this process. (cherry picked from commit bf8a8e8)
…signed Julia (JuliaLang#37069) Without this entitlement, users that wish to attach a debugger to the codesign Julia executable they receive from `julialang.org` must strip the codesigning signature from the Julia executable (e.g. via `codesign --remove-signature Julia-1.5.app/Contents/Resources/bin/julia`). This has its disadvantages, of course, so much better to simply declare to the OS that it's alright for other processes to attach to this process.
@@ -4,6 +4,8 @@ | |||
<dict> | |||
<key>com.apple.security.automation.apple-events</key> | |||
<true/> | |||
<key>com.apple.security.cs.get-task-allow</key> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be com.apple.security.get-task-allow
(delete the .cs
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps you can open a PR with the fix?
I'm not sure I know how to test the fix. I really know nothing about code signing other than googling the error message led me to here and I noticed the miss-spelling. |
Thanks for the heads up |
Without this entitlement, users that wish to attach a debugger to the
codesign Julia executable they receive from
julialang.org
must stripthe codesigning signature from the Julia executable (e.g. via
codesign --remove-signature Julia-1.5.app/Contents/Resources/bin/julia
). Thishas its disadvantages, of course, so much better to simply declare to
the OS that it's alright for other processes to attach to this process.