wpa_passphrase

Generate a WPA-PSK key from an ASCII passphrase for a given SSID. More information: <https://manned.org/wpa_passphrase.1>.

Install

All systems
curl cmd.cat/wpa_passphrase.sh
Debian Debian
apt-get install wpasupplicant
Ubuntu
apt-get install wpasupplicant
Alpine
apk add wpa_supplicant
Arch Arch Linux
pacman -S wpa_supplicant
image/svg+xml Kali Linux
apt-get install wpasupplicant
Fedora
dnf install wpa_supplicant-1
Windows (WSL2)
sudo apt-get update sudo apt-get install wpasupplicant
Raspbian
apt-get install wpasupplicant
Docker
docker run cmd.cat/wpa_passphrase wpa_passphrase powered by Commando

Generate a WPA-PSK key from an ASCII passphrase for a given SSID. More information: <https://manned.org/wpa_passphrase.1>.

  • Compute and display the WPA-PSK key for a given SSID reading the passphrase from `stdin`:
    wpa_passphrase SSID
  • Compute and display WPA-PSK key for a given SSID specifying the passphrase as an argument:
    wpa_passphrase SSID passphrase

© tl;dr; authors and contributors