On Tue, Nov 3, 2009 at 12:14 PM, Wim Lewis <[email protected]> wrote:
> It's possible to get a persistent reference to a keychain item (a CFData
> blob) using SecKeychainItemCreatePersistentReference() or
> SecItemCopyMatching(kSecReturnPersistentRef=YES, ...). So you could store
> that in Core Data and convert it back to a keychain item ref when you need
> it. (I haven't actually used these APIs so I don't know how functional they
> are. FYI, the unique item identifier you can get from
> SecKeychainItemGetUniqueRecordID() isn't persistent or transportable.)

I'd be concerned about moving the document to another machine.  Even
if I have the same username and password in the keychain, the
persistent reference approach won't find it.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to