scratch
-based container image which contains the wpa_passphrase
utility from Jouni Malinen's wpa_supplicant package
As the man page for wpa_passphrase(8) says:
wpa_passphrase pre-computes PSK entries for network configuration blocks of a
wpa_supplicant.conf
file. An ASCII passphrase and SSID are used to generate a 256-bit PSK
The source code for this image is hosted on GitHub in the backplane/conex repo.
usage: wpa_passphrase <ssid> [passphrase]
If passphrase is left out, it will be read from stdin
The following shell function can assist in running this image interactively:
wpa_passphrase() {
docker run \
--rm \
--interactive \
--tty \
"backplane/wpa_passphrase" \
"$@"
}