3

By now, it's been well-documented that you can't migrate your local Keychains in full, without some workarounds. Especially not the "Local Items" keychain. From the horse's mouth: "You can’t copy passwords stored in your Local Items or iCloud Keychain."

Apple wants you to use iCloud to store your (keychain) logins, which you may disagree with…

The procedure to migrate your keychain data (and specifically Local Items) is listed in the Apple article, and with slight variations, around here as well… however this post is not about this.

I'm cloning systems where I don't have specific important passwords stored. But of course, Keychain needs to work smoothly, or else the OS installation becomes a disaster of endless prompts. After running the Setup Assistant's Migration Assistant, the Local Items keychain becomes impossible to access. It asks for the system's admin password, but the correct one wouldn't work. (Tried it 20 ways to heaven.) Trying to create an item in the keychain brings up this awesome error:

enter image description here

An error has occurred: no error. I love it! Beats Word 2.0's "out of memory" not-out-of-memory error messages.

Better yet, it's equally impossible to access the Passwords panel in System Preferences, nor reset Keychain (in Keychain Access > Preferences). They also ask for the admin's password and reject it.

macOS 12.6. This is reproducible.

1 Answer 1

3

The solution was to go to ~Library/Keychains, and delete everything in there. This will achieve the same goal of resetting Keychain.

I was worried it'd wreak havoc in the system, but it appears that the essential entries are immediately regenerated, for both the Local Items and the logins keychains.

With Keychain working again, if you have logins you wish to migrate over, use the procedures outlined in the aforementioned links to do so.

PS Interestingly, another account I have on the system didn't exhibit the problem at all; its Keychain migrated fine, including Local Items. It seems that only the admin or active account that performs the Migration, is affected.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .