AuthorizationCreateFromExternalForm throwes .denied
#3
-
I managed to get authorization to bless my priv helper tool from my main app. I used the When I hit this line in the decoding: Blessed/Sources/Blessed/Authorization.swift Lines 107 to 109 in ef63245 I get a return value of
(PID Here's an chunk of the log (the line formats aren't consistent, because I was copy/pasting them weirdly)
The odd thing is, Here's the codesign verification of the XPC service
... and here's the codesign verification of the the helper
Off the top of your head, do you have any trouble shooting ideas I could try? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
At the point in time that your XPC helper tool performed the deserialization, did the The output of |
Beta Was this translation helpful? Give feedback.
-
I'm not interested in doing this as |
Beta Was this translation helpful? Give feedback.
At the point in time that your XPC helper tool performed the deserialization, did the
Authorization
instance still exist in your main app? If not, then the authorization no longer exists in the Security Server.The output of
SMJobBlessUtil.py check
or codesign verification aren't relevant (yet) because unless I'm misunderstanding you haven't even been able to callLaunchdManager.bless(...)
from your XPC helper server as you're unable to deserialize theAuthorization
instance. It's the bless action which has code signing requirements, not anything related to authorization.