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

chefwong

macrumors 6502
Original poster
Jan 17, 2008
463
30
When using migration assist, I believe it brings back keychain.

If starting fresh on a new notebook and not looking to do migration assist, I don't see a way to export keychain data. Is there a way.
All I care about is the WiFi Keychain
 

chefwong

macrumors 6502
Original poster
Jan 17, 2008
463
30
No. AFAIK. Last time I did this on a new mac, icloud-keychain sync enabled, and connecting to Wireless networks on New Mac would not connect . However, saved WiFI networks on IOS keychain works, but apparently under OSX, WiFI under keychain is not part of iCloud sync. I know it works as every new phone/iPad I have bought just works across all networks..
 
Last edited:

chefwong

macrumors 6502
Original poster
Jan 17, 2008
463
30
TM or using the Migration Assistant will bring WiFi Keychain back.
New Mac - want to start clean. All I want to -bring over- is just the WiFi keychain. But yes, TM or Migration Assistant will bring that over.
 

InfoTime

macrumors 6502a
Jul 17, 2002
500
261
I went through this process last time I got a new MacBook. Like you I want to start clean. I know I can import them, but this time around I'd like to just have a list of all of them in a text file or whatever. Lots of utilities on Windows that will do this. When I search for how to do it on the Mac everyone has a howto on how to read them out of keychain, ONE AT A TIME.

I already know how to do that.

Anyone know of a script or utility that will read them all out? I've got a bunch.
 

chefwong

macrumors 6502
Original poster
Jan 17, 2008
463
30
It's been awhile but I ended up completely fresh.
TM afaik, is the only one that will definitely do it.

Using System Migration, and I for but it was *system settings* or the like in the options, it did not carry it over. Wishful thinking I know.
 

InfoTime

macrumors 6502a
Jul 17, 2002
500
261
It's been awhile but I ended up completely fresh.
TM afaik, is the only one that will definitely do it.

Using System Migration, and I for but it was *system settings* or the like in the options, it did not carry it over. Wishful thinking I know.
I found a way to get all 381 WiFi passwords. I used the script here:


I ran that in Script Editor. Opened Keychain Access and clicked on the Local Items keychain. Searched for "Airport network password" to get it to display only WiFi passwords and not everything else. Also sorted so that it would go through Local Items then System. The script only works for Local Items. The System items are duplicates best I can tell and they require an additional username and password to reveal.

I modified the script to run 100 at a time. Sometimes Keychain Access would close its window after a batch. Also I cut out the "account" step as it was redundant. i.e. the original script would create
WiFi name, WiFi name, password.
After I removed the account step from the script I just got
WiFi name, password.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.