]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_cli.c
wpa_cli: Add command for setting PSK_PASSPHRASE
authorHagai Moshe <hagai.moshe@tandemg.com>
Thu, 12 Jul 2018 15:35:51 +0000 (18:35 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 2 Jan 2019 22:52:51 +0000 (00:52 +0200)
commitb9eb717f85fbca320b9782cfbce56ba7af28c5e2
tree689b616974c5e749543a83d842fe21c28b0a97eb
parent38b405c8f055fafd3117bee32c108de86f835f94
wpa_cli: Add command for setting PSK_PASSPHRASE

Setting mem_only_psk=1 in the wpa_supplicant configuration prevents the
passphrase from being stored in the configuration file. wpa_supplicant
will request the PSK passphrase over the control interface in such case
and this new wpa_cli command can be used to set the psk_passphrase.

usage:
psk_passphrase <network id> <psk_passphrase>

Signed-off-by: Hagai Moshe <hagai.moshe@tandemg.com>
Signed-off-by: Simon Dinkin <simon.dinkin@tandemg.com>
wpa_supplicant/wpa_cli.c