disabled PSK option until we have a way to enforce strong secrets
authorMartin Willi <martin@strongswan.org>
Mon, 25 Aug 2008 07:48:11 +0000 (07:48 -0000)
committerMartin Willi <martin@strongswan.org>
Mon, 25 Aug 2008 07:48:11 +0000 (07:48 -0000)
src/charon/plugins/nm/gnome/properties/nm-strongswan.c

index 71a57e8..db8d2fb 100644 (file)
@@ -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) {