I use iwd as a network manager on my Arch install, and need to enter a password containing an exclamation mark. However, when I try using iwctl to do this, it gives the error 'Operation Failed' (same error it will give if I give it a wrong, but valid password). I am sure I've entered the right password.
I have tried:
- entering the password as-is in iwctl's tui interface
- entering the password with a backslash before the exclamation mark in the tui
- making a *.psk file in /var/lib/iwd with the passphrase and/or the pre-shared key (tried with just password, just key, both), using wpa_passphrase to generate the key)
- tried editing the password in the *.psk file to use ! instead, or tried wrapping it all in double quotes
- tried calling iwctl in one line with
iwctl --passphrase ksajdaksdj!aksjd station wlan0 connect SSID_HERE, as well as using ! instead or wrapping it all in double quotes