Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Falco225

macrumors newbie
Original poster
Oct 16, 2020
2
1
Hello,

I recently wiped my Mac and now i need help restoring my old keychain. My website passwords used to be stored in keychain's "Local Items" (no iCloud sync) and I had made a copy of /Library/Keychains folder prior to wiping the Mac. As far as I understand those passwords are saved in /Library/Keychains/UUID/keystore-2.db which should not be accessible on any other system when transferred as it is linked to the original system by the UUID. The "Login" keychain is working fine, it transfers and unlocks without problems.

Found a lot of info online about this topic, but most problems were regarding transferring "Local Items" keychain to a new machine (which is not possible without first exporting to another keychain). My question is whether it is possible to somehow access the old "Local Items" keychain while I still have access to the same machine despite it being wiped and freshly installed? I have the old keychain files and know the unlock passcode.
 
Last edited:

Falco225

macrumors newbie
Original poster
Oct 16, 2020
2
1
Seems like the "LocalItems" password database is encrypted with a machine specific key and cannot be opened with any other system. The good news is this key does not change after a complete system wipe (must be some kind of a hardware key). So even if the system is completely wiped, rename the fresh "Keychains" library folder to something like "Keychains_old" and copy your old "Keychains" folder, reboot and voila, everything accessible once again. Might need to input your old keychain unlock code when opening if your current user login code differs from the pre-wipe one.
 
  • Like
Reactions: Brian33
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.