Hello all,

I'm having a very odd problem. I'm trying to add a keychain item using SecKeychainItemCreateFromContent from the security framework. Of course before trying to add a new item I check if it exists with: SecKeychainSearchCreateFromAttributes.That's when the odd part comes in, I get that the item doesn't exist, which I confirm with the 'keychain Access' application and yet I get a –25299 (errSecDuplicateItem) error when I try to create the item. In fact I tried modifying the item assuming that it exists even though I can't find it and (as expected) the program crashes because it tries to modify a key that doesn't exist. Has anyone had a similar error? can anyone shed some light on me?

Thanks in advance!
best regards,

Alejandro Rodríguez_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to