Is there an API to change a keychain's password? I've searched
this list and have found someone else asking this question with no
response on 2006:
There is currently no public API to change a keychain's password.
Out of curiosity, what is the scenario where you need to change a
keychain's password? Are you trying to keep the account and keychain
passwords in sync, is it a secondary keychain that your app created,
or something else?
It would be nice if there was, perhaps there's an undocumented API?
<http://www.opensource.apple.com/darwinsource/> will direct you to
the source code for the libraries that make up the Security
framework. The keychain subsystem and its header files are in the
libsecurity_keychain project. Functions which operate on keychains in
general (as opposed to keychain items) are found in SecKeychain.h,
and corresponding private functions are found in SecKeychainPriv.h.
Standard disclaimer: private interfaces are not APIs, and as such,
are not supported. They can change at any time, so you use them at
your own risk.
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