Package: wpasupplicant
Version: 2:2.4-1+deb9u3
Severity: normal
Tags: patch
Dear Maintainer,
functions.sh appears to be passing an incorrectly named variable for
private key 2's password.
functions.sh uses `private_key_passwd2` when the parameter is named
`private_key2_passwd`:
> set_network 0 private_key_passwd2 "mypassword"
FAIL
> set_network 0 private_key2_passwd "mypassword"
OK
>
Bug appears to be present in version up to experimental. This patch
fixes the issue for 2:2.4-1+deb9u3:
--- /etc/wpa_supplicant/functions.sh 2018-08-09 07:23:49.000000000 +0000
+++ /tmp/functions.sh 2019-05-17 22:26:28.581382870 +0000
@@ -741,8 +741,8 @@
wpa_cli_do "$IF_WPA_PRIVATE_KEY2" ascii \
set_network private_key2 wpa-private-key2
- wpa_cli_do "$IF_WPA_PRIVATE_KEY_PASSWD2" ascii \
- set_network private_key_passwd2 wpa-private-key-passwd2
+ wpa_cli_do "$IF_WPA_PRIVATE_KEY2_PASSWD" ascii \
+ set_network private_key2_passwd wpa-private-key2-passwd
wpa_cli_do "$IF_WPA_DH_FILE2" ascii \
set_network dh_file2 wpa-dh-file2
`/usr/share/doc/wpasupplicant/examples/wpa_supplicant.conf.gz` also has
examples:
# ca_path2: Directory path for CA certificate files (PEM)
# client_cert2: File path to client certificate file
# private_key2: File path to client private key file
# private_key2_passwd: Password for private key file
# dh_file2: File path to DH/DSA parameters file (in PEM format)
-- System Information:
Debian Release: 9.9
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-0.bpo.2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8),
LANGUAGE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages wpasupplicant depends on:
ii adduser 3.115
ii libc6 2.24-11+deb9u4
ii libdbus-1-3 1.10.26-0+deb9u1
ii libnl-3-200 3.2.27-2
ii libnl-genl-3-200 3.2.27-2
ii libpcsclite1 1.8.20-1
ii libreadline7 7.0-3
ii libssl1.0.2 1.0.2r-1~deb9u1
ii lsb-base 9.20161125
wpasupplicant recommends no packages.
Versions of packages wpasupplicant suggests:
pn libengine-pkcs11-openssl <none>
pn wpagui <none>
-- no debconf information