SecKeychainFindGenericPassword
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