Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: API to change keychain password?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: API to change keychain password?




On Dec 10, 2008, at 11:38 AM, Greg wrote:

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.


-ken


Kind regards,

Greg Slepak

_______________________________________________ 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
References: 
 >API to change keychain password? (From: Greg <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.