i really got stuck here so some help would be very necessary: i
wrote a (yet) dummy plugin which is properly loaded (it seems) when
i start keychain access and writes some messages to console. What i
now want to achieve is that, my plugin generates some values which
are then displayed by keychain access when i select the plugin in
the keychain list. Does anyone have an idea what i have to do? Is
this possible without changing and rebuilding the security
framework? Maybe it's only a matter of return values?
Any help would be really appreciated :)
The good news is that you should be able to do this. (We certainly
have dynamically loaded DLs in the system, and they don't use any
Magic Apple Pixie Sauce to work.)
The bad news is that the space of possible Things That Can Go Wrong is
vast.
Keychain Access is probably not the best test bed for developing a DL
(though you want it to be happy when you're done). Write yourself a
simple test program that uses CSSM APIs to load and attach your plugin
and give it a few simple things to do. Inspect the MDS for your
(loaded) plugin to see if it looks okay. Make very sure that the meta-
table information returned by your DL is correct - the higher layers
(the Sec* APIs, which are called by KCA) use the meta-information to
dynamically adapt to your DL's structure, so if you inadvertently lie
about yourself, things emphatically Will Not Work.
Cheers
-- perry
---------------------------------------------------------------------------
Perry The Cynic email@hidden
To a blind optimist, an optimistic realist must seem like an Accursed
Cynic.
---------------------------------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/apple-cdsa/email@hidden