I had previously learned that NetworkManager stores WiFi passwords in
/etc/NetworkManager/system-connections/<wifi name> file. But in my case on Ubuntu 15.10 I can't find any password in that file.
I tried this:
sudo cat /etc/NetworkManager/system-connections/cig | grep psk [sudo] password for edward: key-mgmt=wpa-psk psk-flags=1
here does NetworkManager store WiFi passwords?