From 1a109c9fc65dc232e29bb75ed7f0875c1c070e9f Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Mon, 25 Aug 2008 07:48:11 +0000 Subject: [PATCH] disabled PSK option until we have a way to enforce strong secrets --- src/charon/plugins/nm/gnome/properties/nm-strongswan.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/charon/plugins/nm/gnome/properties/nm-strongswan.c b/src/charon/plugins/nm/gnome/properties/nm-strongswan.c index 71a57e8e9..db8d2fb33 100644 --- a/src/charon/plugins/nm/gnome/properties/nm-strongswan.c +++ b/src/charon/plugins/nm/gnome/properties/nm-strongswan.c @@ -179,7 +179,9 @@ init_plugin_ui (StrongswanPluginUiWidget *self, NMConnection *connection, GError if (!widget) return FALSE; gtk_combo_box_append_text (GTK_COMBO_BOX (widget), _("EAP")); - gtk_combo_box_append_text (GTK_COMBO_BOX (widget), _("Preshared Key")); + /* TODO: PSK is disabled until we have the possibility to enforce strong + * secrets. + gtk_combo_box_append_text (GTK_COMBO_BOX (widget), _("Preshared Key")); */ value = g_hash_table_lookup (settings->data, "method"); if (value) { if (g_strcasecmp (value, "eap") == 0) {