I'm trying to use wpa_supplicant in PSK mode, but my key has a few troublesome characters in it, namely backslash, \, and double quote, ". I thought that you could simply escape these in a manner similar to how C escapes these characters, by putting a backslash in front of them, i.e. \\ results in a \ and \" results in ". However, when I try to start wpa_supplicant with the characters escaped, it errors with: Code:Line 11: Invalid passphrase length 68 (expected: 8..63) and a host of other errors following that, because it no longer has the PSK. So, is there some other way I'm supposed to escape these characters? The key is normally 63 characters long, and I wonder if it's calculating the key length before considering the escape sequences, which would be a bug. If so, is the only way around this to use wpa_passphrase?