login.keychain-db gets renamed after OS update. iCloud sync then resets it each time.
Esteemed Apple community,
What is happening with the OS security updates that reset the Keychain login files to empty in the last 2 or 3 security updates???
I have been using Keychain Secure Notes to store passwords and secure info for years without any problems. I always follow the recommendations for OS updates. But the last few times I have noticed that when I do those, and then try to open Keychain Access, all my keychains and secure notes are gone.
I did some research here and found a real useful post which said that the system likely made a copy called login_renamed_1.keychain-db and created a new login.keychain-db. Sure enough, when I look in ~/Library/Keychains I do see that on the day I did the OS update, there was a new login file created and my existing one was moved to this _renamed file. Uhhh, why???
As was suggested, I went into Terminal and create a BACKUP of that renamed file, just for safety, and then did
mv login_renamed_1.keychain-db login.keychain-db
to return my original Keychain file where it belongs. When I then open Keychain access, all my logins are there and all seems well and good.
Except that when I then try to open my mail or open a Safari link I get a message saying "Can't open this due to an iCloud problem. Open Preferences to fix it" or something to that effect. When I go in Preferences, it asks me to re-enter my AppleID pwd. If Keychain Access is still opened, it comes back with an generic error message saying "There is a problem with this". and it won't let me enter my iCloud AppleID.
If on the other hand, I close Keychain Access and then go into Preferences and re-enter my AppleID, then it accepts it and it seems everything is fine... except that when I re-open Keychain Access, everything is empty again. So the two are playing ping pong to see who is going to make me go bananas first.
Bottom line: I can either have all my existing gKeychain information available OR my iCloud working but not both...
Does anyone have a solution for this? I have done a good amount of searching here but, apart from the method described above, I have not found any answer.
Thank you very much for any help.
Bo.