summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting-wireless-security.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2017-04-21 15:07:26 +0200
committerLubomir Rintel <lkundrak@v3.sk>2017-04-30 13:58:57 +0200
commit0d72400ae9e5857997364a4c4574435e22cf902c (patch)
treeb0ce20ce4d52037b8b18e6847f180091f22041ff /libnm-core/nm-setting-wireless-security.c
parent3380e64afc61bdedb43debb60ea404f98b90e297 (diff)
downloadNetworkManager-lr/wps.tar.gz
cli: add WPS PIN supportlr/wps
nmcli d wifi connect "My Network" pin 12345670 Also, add a note in the manual that it shouldn't really be used.
Diffstat (limited to 'libnm-core/nm-setting-wireless-security.c')
-rw-r--r--libnm-core/nm-setting-wireless-security.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libnm-core/nm-setting-wireless-security.c b/libnm-core/nm-setting-wireless-security.c
index 5cc3d2fe25..2a3c1e402a 100644
--- a/libnm-core/nm-setting-wireless-security.c
+++ b/libnm-core/nm-setting-wireless-security.c
@@ -1929,8 +1929,12 @@ nm_setting_wireless_security_class_init (NMSettingWirelessSecurityClass *setting
*
* The PIN used for WPS.
*
- * NetworkManager will automatically disable WPS and unset this property
- * after a successful WPS enrollment.
+ * Please note that this property is not handled as a secret and will be
+ * visible to the users of the machine. Aside from that, there's a known
+ * security flaw in the PIN based method that makes the PIN easy to guess.
+ *
+ * Enabling PIN method it on your router introduces a substantial risk that
+ * unauthorized nodes will join the wireless network.
*
* Since: 1.10
**/