10-22-2019, 01:08 PM
Thanks to @TheOldPresbyope it turns out that wpa_passphrase does in fact accept all special characters in the passphrase if its fed via stdin :-)
-Tim
Code:
pi@rp3:~ $ cat ./pwd.txt
abcd!@#$%^&*()_-+={}[]:;"'~`?/<>,.ef gh """'''
pi@rp3:~ $ sudo wpa_passphrase "MYSSID" < ./pwd.txt
# reading passphrase from stdin
network={
ssid="MYSSID"
#psk="abcd!@#$%^&*()_-+={}[]:;"'~`?/<>,.ef gh """'''"
psk=7221495adc33f8c1a382138480a867f1b542a1e395a5ed83504748e39caab9ee
}
-Tim