OS X Keychains: 32 to 64 bit

I recently switched my application from 32 to 64 bit on Mac OS X. The only problem I am facing right now is that some users complain that their existing key fobs are no longer saved and they cannot create new ones. Is there a reason why the keychain service will stop working after such a switch? The actual code for processing keychains has never changed.

+3
source share
1 answer

It's hard to say without looking at the code in question, but since the keychain APIs are C, not Objective-C, you might run into some problems passing some UInt32 that might previously be forced from an 'unsigned int' or 'int'.

I would check your calls to all Sec * routines and look for signs of problems with the type of enforcement.

0
source

Source: https://habr.com/ru/post/1759911/


All Articles