• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Looking for guidance re: password/credential storage and Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looking for guidance re: password/credential storage and Core Data


  • Subject: Re: Looking for guidance re: password/credential storage and Core Data
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 3 Nov 2009 12:27:23 -0800

On Tue, Nov 3, 2009 at 12:14 PM, Wim Lewis <email@hidden> 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@hidden)

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:

This email sent to email@hidden

References: 
 >Looking for guidance re: password/credential storage and Core Data (From: David HM Spector <email@hidden>)
 >Re: Looking for guidance re: password/credential storage and Core Data (From: Wim Lewis <email@hidden>)

  • Prev by Date: Re: NSDate / NSXMLParser
  • Next by Date: Maryland (USA) Cocoaheads - Re: [MEET] November CocoaHeads Mac Developer Meetings
  • Previous by thread: Re: Looking for guidance re: password/credential storage and Core Data
  • Next by thread: NSDate / NSXMLParser
  • Index(es):
    • Date
    • Thread