summaryrefslogtreecommitdiff
path: root/libnm-util/nm-setting-8021x.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2013-04-29 14:15:11 -0500
committerDan Williams <dcbw@redhat.com>2013-05-03 10:31:50 -0500
commit229cba835481031bfefb81c01366ccb42dfcf50c (patch)
treef0ad74fb4f8cf441e91dc1bae060e17f6571cbef /libnm-util/nm-setting-8021x.c
parent5a50e60ac3fc35c50cf8811a3ee1e28c281df934 (diff)
downloadNetworkManager-229cba835481031bfefb81c01366ccb42dfcf50c.tar.gz
libnm-util: clarify 802.1x password and password-raw documentation
Diffstat (limited to 'libnm-util/nm-setting-8021x.c')
-rw-r--r--libnm-util/nm-setting-8021x.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libnm-util/nm-setting-8021x.c b/libnm-util/nm-setting-8021x.c
index 907fd24b1d..0c6d9e713a 100644
--- a/libnm-util/nm-setting-8021x.c
+++ b/libnm-util/nm-setting-8021x.c
@@ -3400,7 +3400,7 @@ nm_setting_802_1x_class_init (NMSetting8021xClass *setting_class)
(object_class, PROP_PASSWORD,
g_param_spec_string (NM_SETTING_802_1X_PASSWORD,
"Password",
- "Password used for EAP authentication methods.",
+ "UTF-8 encoded password used for EAP authentication methods.",
NULL,
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE | NM_SETTING_PARAM_SECRET));
@@ -3430,7 +3430,12 @@ nm_setting_802_1x_class_init (NMSetting8021xClass *setting_class)
(object_class, PROP_PASSWORD_RAW,
_nm_param_spec_specialized (NM_SETTING_802_1X_PASSWORD_RAW,
"Password byte array",
- "Password used for EAP authentication methods as a byte array",
+ "Password used for EAP authentication "
+ "methods, given as a byte array to allow "
+ "passwords in other encodings than UTF-8 "
+ "to be used. If both 'password' and "
+ "'password-raw' are given, 'password' is "
+ "preferred.",
DBUS_TYPE_G_UCHAR_ARRAY,
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE | NM_SETTING_PARAM_SECRET));