10-07-2019, 02:42 PM
It looks like the wpa_passphrase utility hangs waiting for input if special characters for example back-quotes are not escaped. Same for embedded double quotes because moOde's use of the utility encloses the SSID and password in double quotes to cover embedded spaces and single quotes.
wpa_passphrase "SSID" "PASSWORD"
There is prolly a PHP function to perform escaping on the strings.
wpa_passphrase "SSID" "PASSWORD"
There is prolly a PHP function to perform escaping on the strings.