• 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
SecKeychainFindGenericPassword
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SecKeychainFindGenericPassword


  • Subject: SecKeychainFindGenericPassword
  • From: Parrish Myers <email@hidden>
  • Date: Sat, 3 Sep 2005 12:58:45 -0700

Hello,

I have been tring to create an application that uses the keychain
services.  It seems that when I pick a password that is 3 characters
or less (in spite of security reasons) the function
"SecKeychainFindGenericPassword" will return a password that is 4
characters.  The size return correctly states the size, but when the
string is passed to "[NSString stringWithUTF8String:] it picks up a
string that is of size 4.  The other characters in the string are
obviously crap, and my authentication fails.  Does this mean that
there is a bug in "SecKeychainFindGenericPassword" or am I simply
initializing the NSString incorrectly.  There seems to be no NSString
initialization function that is not depreciated that takes size.

Does anyone know how to solve this?

Thanks
Parrish
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: SecKeychainFindGenericPassword
      • From: Ryan Britton <email@hidden>
  • Prev by Date: Re: Converting HTML entities to NSXMLNode tree
  • Next by Date: Re: SecKeychainFindGenericPassword
  • Previous by thread: RE: AESend() error - unknown symbol '_AESend'
  • Next by thread: Re: SecKeychainFindGenericPassword
  • Index(es):
    • Date
    • Thread