I'm writing an Authorization Plugin (herein called Othello) following the old and new documentation as best I can. It is meant to be run at Login after FileVault opens up as a mechanism in system.login.console
but I am testing it by adding its own right in the Authorization database and a command line test app that attempts to obtain this temporary right. The error message that pops up is the same though:
Relevant console log entries are attached.
There are a few interesting hints in the log, but I can't find much toward resolving any of them:
-
Do Auth Plugins have to be signed by the same team as SecurityAgentHelper? (Can't be...)
-
How is the
MechanismCreate
function even being called if the bundle can't be loaded? -
Why is
MechanismCreate
'sAuthorizationPluginRef inPlugin
parameter apparently some sort of String instead of anAuthorizationPluginRef
?
Here is the temporary right definition I installed with security authorizationdb write othello.login
:
And here is what it looks like after I confirm its installation with security authorizationdb read othello.login
:
Thanks in advance,
Meir