5 ms·
Doesn't work on my vanilla Mac.
by kylebgorman 11y ago
Doesn't work on my vanilla Mac.
- ericabiz 11y agoIt is working for me. OS X Yosemite on a late 2013 Retina MBP. myuser@[~]$ security find-generic-password -ga MySSID | grep password password: "password" "desc"<blob>="AirPort network password" (Obviously I've changed the values here, but this is what it outputs for me.)
- nacs 11y agoAn easier way on Mac is to start the built-in Keychain app and search for your Wifi name there.
- Jun8 11y agoSame here, I get: oathkeeper:~ user$ security find-generic-password -ga labnol | grep password security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
- cgati 11y ago"labnol" should be replaced with the SSID you're connected to.
- Gys 11y agoThe SSID is case sensitive. Makes sense, but that was my mistake at first. To find your current SSID: /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -I | grep " SSID"
- heavymark 11y agoJust open keychain app on your mac (any version and you can get the password for any wifi network you have connected to). Requires your computers username/pass just like if you do the terminal way. This tip in the article is just showing how to do something that's always been possible via the gui, but via terminal makes it look/feel cooler doing it.