I have an app that adds some items to the keychain. I've noticed recently that when upgrading the app, the system pops up the "allow access to this keychain item" dialog when it attempts to read a keychain item that was added by the previous version. This app is codesigned and passes all codesign diagnostics. Did something change recently that causes this permission request to pop up even though the both versions of the app are signed with the exact same certificate.
I will state that the app is not signed with a Developer ID Application certificate but with a valid code signing certificate from a non-Apple CA. Is there some new requirement that a Developer ID Application certificate must be used in order to not see this prompt when an app is upgraded?
I dumped the keychain using "security dump-keychain -a" before and after upgrade and the only difference between the item is that the partition_id entry contains an additional cdhash for the new app. From what I understand cdhash will change when there are major changes in the app, which is likely on upgrade.
What can I do to prevent this dialog from appearing on app upgrade?