Skip to content

Latest commit

 

History

History

wpa_passphrase

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

wpa_passphrase

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

usage: wpa_passphrase <ssid> [passphrase]

If passphrase is left out, it will be read from stdin

Interactive

The following shell function can assist in running this image interactively:

wpa_passphrase() {
  docker run \
    --rm \
    --interactive \
    --tty \
    "backplane/wpa_passphrase" \
    "$@"
}