Keychain sharing between plug-ins and apps

I'm exploring options for sharing a keychain item between a plug-in and a standalone application. Despite my efforts, I haven't found a straightforward method to accomplish this. Can anyone provide guidance on enabling keychain sharing between these components?

That is, indeed, a challenging problem.

What platform are you targeting?

And, if it’s on macOS, what sort of plug-in? A new-style one, based on ExtensionKit? Or an old school in-memory plug-in?

And if it’s the latter, are there any constraints on the apps that might be loading this plug-in? That is, is it a plug-in for a specific app? Or a plug-in that might be loading by a wide variety of apps?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

@DTS Engineer I am trying to access system keychain from an authorization plugin as login keychain is locked on login window.

Is it possible to use Keychain ACL or keychain sharing with an authorization plugin and make sure only the auth plugin has access to the keychain item ?

Keychain sharing between plug-ins and apps
 
 
Q