We've a mono app that we sign and bundle into an app on OSX. Our app accesses the keychain for stored passwords, stored using the app name
This works fine, until we perform an upgrade. On upgrade we replace the .app contents with the (also signed) contents of the upgrade zip file.
However, when the app attempts to access the keychain before, we have NULLs returned in place of our stored passwords. We have found:
- Running codesign -vvv against the upgraded app shows the signature is valid.
- If we reboot the box, the app can access the keychain fine.
- If the app is unsigned the upgrade and keychain access works fine.
So if there a step I'm missing in the signing / upgrade? Is there a service I can restart that would solve it?
Update:
- after the update, the keychain call to retrieve credentials returns 'AuthFailed' after reboot we get 'Success'