My application creates a keychain and stores some keys and a Generic
Password information related to my application.
We also hook an unlock callback via SecKeychaiinAddCallback ( myProc,
When I manually unlock that keychain from the Keychain Access
application my unlock callback routine is called. I then retrieve my
special application login information by calling
SecKeychainFindGenericPassword. Everything works fine in this
From Apple Mail if I create a signed message with the identity key in
my keychain I get a password dialog to unlock that keychain. I then
drop in my unlock callback routine and I get prompted again for a
password to that same keychain when I call
I can also reproduce the above problem if I try to access an item in
the Keychain with the keychain locked from Keychain Access.
Any idea why I get prompted twice to unlock the same keychain from 2
different applications? Is unlock keychain means unlock the entire
keychain or is it unlock only used items in that keychain? Is there
a way to force unlock on the entire keychain so I only get prompted
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden