I've got an application that adds callbacks to the keychain. So
far all works as intended, in that my callback is being called.
One crucial event that seems to be missing is an event to let us
know that a user cancled or could not complete a keychain access.
i.e.
1. user attempts to unlock a keychain, but enters invalid passwords.
2. user attempts to unlock a keychain but hits cancel.
Please tell me there is a hidden API or something that will let me
get notification of this!!
There isn't. Instead, a "user canceled" error is returned directly
from the function being called. For Sec*-level functions,
userCanceledErr (-128) is returned. If you're calling CSSM-level
functions, one of the CSSMERR_*_USER_CANCELED error codes is returned
(see cssmapple.h).
Can you help me understand why it's crucial to receive a notification
when a user hits Cancel?
-k
Will
_______________________________________________
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
This email sent to email@hidden
_______________________________________________
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