diff --git a/README.ssl b/README.ssl index 0176978..6452d0f 100644 --- a/README.ssl +++ b/README.ssl @@ -1,13 +1,21 @@ -Encrypting the communication with the CryptoBox webserver with SSL +Encrypting the http traffic to the CryptoBox webserver with SSL This file describes how to encrypt your connection to the CryptoBox webserver. This is highly recommended as the encryption password for your data could be exposed to intruders in your local network otherwise. -There are two ways for setting up a SSL connection: +There are several ways for setting up a SSL connection: - run the CryptoBox webserver behind an ssl-enabled webserver - use stunnel to provide an SSL socket + - use the a proxy server (e.g. pound) + - ... +At the end of this document you will find some information on how to turn off +SSL detection of the CryptoBox. You should read it, if there is no solution +for your specific setup available or if you are _very_ sure, that you do not +need encrypted http connections. + +------------------------------------------------------------------- 1) CryptoBox behind an ssl-enabled webserver Read the documentation of your favourite webserver to learn how to enable @@ -28,6 +36,8 @@ There are two ways for setting up a SSL connection: TODO +------------------------------------------------------------------- + 2) CryptoBox behind stunnel You may want to tunnel the traffic between the cryptobox-server and your browser. "stunnel" is an excellent candidate for this job. @@ -46,7 +56,28 @@ There are two ways for setting up a SSL connection: And maybe you want to add the last command to your bootup scripts. -3) Problems with SSL detection? +------------------------------------------------------------------- + +3) CryptoBox behind a proxy server + As there are many proxy servers around, we cannot describe all of them. As + an example, we will explain the setup of the load-balancing proxy 'pound'. + + Just add the following lines to you /etc/pound/pound.cfg: + # Remove the X-SSL-Request header from incoming + # connections to prevent hackers from spoofing it + HeadRemove "X-SSL-Request" + + # Add an extra header to tell the CryptoBox that + # the external connection is secure + HTTPSHeaders 0 "X-SSL-Request: 1" + + This example is taken from: + http://jamesthornton.com/writing/openacs-pound.html + + +------------------------------------------------------------------- + +4) Problems with SSL detection? If the CryptoBox continues to complain about the unencrypted connection, even if it runs behind an ssl-enabled webserver or behind stunnel, then you can do one of the following things: diff --git a/plugins/language_selection/plugin_icon.gif b/plugins/language_selection/plugin_icon.gif index 7059295..54c5017 100644 Binary files a/plugins/language_selection/plugin_icon.gif and b/plugins/language_selection/plugin_icon.gif differ diff --git a/plugins/language_selection/plugin_icon.png b/plugins/language_selection/plugin_icon.png index fdaa852..6fa00fa 100644 Binary files a/plugins/language_selection/plugin_icon.png and b/plugins/language_selection/plugin_icon.png differ diff --git a/plugins/plugin_manager/plugin_list.cs b/plugins/plugin_manager/plugin_list.cs index ccd5118..8b4c013 100644 --- a/plugins/plugin_manager/plugin_list.cs +++ b/plugins/plugin_manager/plugin_list.cs @@ -38,7 +38,7 @@ loop: index = #0, #100, #1 ?> - + checked="checked" /> checked="checked" /> checked="checked" /> @@ -94,7 +94,7 @@ each:x = Settings.PluginList ?> - + checked="checked" /> checked="checked" /> checked="checked" /> diff --git a/src/cryptobox/web/dataset.py b/src/cryptobox/web/dataset.py index 26222c0..bdc6d80 100644 --- a/src/cryptobox/web/dataset.py +++ b/src/cryptobox/web/dataset.py @@ -201,8 +201,6 @@ class WebInterfaceDataset(dict): del self[key] lang_data = plugin.get_language_data() self[entry_name] = plugin.get_name() - self[entry_name + ".Name"] = lang_data.getValue("Name", plugin.get_name()) - self[entry_name + ".Link"] = lang_data.getValue("Link", plugin.get_name()) self[entry_name + ".Rank"] = plugin.get_rank() self[entry_name + ".RequestAuth"] = plugin.is_auth_required() and "1" or "0" for capy in plugin.plugin_capabilities: diff --git a/templates/volume_plugins.cs b/templates/volume_plugins.cs index aef6ab1..61424ba 100644 --- a/templates/volume_plugins.cs +++ b/templates/volume_plugins.cs @@ -28,7 +28,12 @@ class="volume_plugin_active"class="volume_plugin_passive">" alt="icon: " />  >" alt="icon: " />