LinuxCommandLibrary

wpa_passphrase

Generate a WPA PSK from an ASCII passphrase for a SSID

TLDR

Compute and display the WPA-PSK key for a given SSID reading the passphrase from stdin

$ wpa_passphrase [SSID]
copy


Compute and display WPA-PSK key for a given SSID specifying the passphrase as an argument
$ wpa_passphrase [SSID] [passphrase]
copy

SYNOPSIS

wpa_passphrase [ ssid ] [ passphrase ]

OVERVIEW

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.

OPTIONS

ssid

The SSID whose passphrase should be derived.

passphrase

The passphrase to use. If not included on the command line, passphrase will be read from standard input.

LEGAL

wpa_supplicant is copyright (c) 2003-2022, Jouni Malinen <j@w1.fi> and contributors. All Rights Reserved.

This program is licensed under the BSD license (the one with advertisement clause removed).

SEE ALSO

wpa_supplicant.conf(5) wpa_supplicant(8)

Copied to clipboard