if the ssid has a space make sure to enclose it in double quotes. example: security find-generic-password -ga “The Network” | grep password
if the ssid has a space make sure to enclose it in double quotes. example: security find-generic-password -ga “The Network” | grep password