Build the NetworkManager keyfile for a home network. Pure, so the exact contents are what the tests assert.
The SSID is written as a byte list, which needs no escaping and carries any UTF-8 name. An empty passphrase makes an open network.
the SSID and passphrase from the claim
the Wi-Fi interface
the keyfile contents
ProvisioningError when the SSID is empty or longer than 32 bytes, or the passphrase isn't 8–63 printable characters or 64 hex digits
Build the NetworkManager keyfile for a home network. Pure, so the exact contents are what the tests assert.
The SSID is written as a byte list, which needs no escaping and carries any UTF-8 name. An empty passphrase makes an open network.