| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi Perry:
Comments?
John
--On January 9, 2006 9:38:37 AM -0500 John Cebasek <email@hidden> wrote:
Hi All:
We want to protect the keychain with our one time passwords. I can handle the system keychain, however it seems that the personal keychains aren't handled via the authorization file. How are they handled? I was reading the source for libsecurity_keychain, there's Keychains.cpp which appears to contain all the code for managing the keychains and the rights they use are generic-new-passphrase and generic-unlock.
Sadly (for you), software keychain unlock is not handled through the Authorization subsystem. It's done implicitly based on a mechanism driven through CSSM ACLs, and implemented in the securityd daemon. Libsecurity_keychain (being part of the client side code) has neither access to, nor much control over, the password used to unlock a keychain.
Keychains' security is (hard) based on their operational keys being encrypted with (a key derived from) their passphrase. Thus, the (hard) security mechanism doesn't accommodate one-time pads directly. I suppose you could cook up a daemon that somehow knows the keychain's master secret and only doles it out under certain circumstances (you *can* explicitly unlock a keychain if you know its master secret), but that begs the question on how that daemon keeps its secret - in a keychain? :-)
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
| References: | |
| >Keychain dialogs (From: "John Cebasek" <email@hidden>) | |
| >Re: Keychain dialogs (From: Perry The Cynic <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.