Login: Fixed typo that prevented non-DH crypto from working (thanks Keith Schmader)
--- a/includes/clientside/jsres.php Wed Nov 11 23:48:55 2009 -0500
+++ b/includes/clientside/jsres.php Mon Nov 16 00:06:55 2009 -0500
@@ -12,7 +12,7 @@
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
*/
-define('ENANO_JS_DEBUG', 1);
+// define('ENANO_JS_DEBUG', 1);
// if Enano's already loaded, we've been included from a helper script
if ( defined('ENANO_CONFIG_FETCHED') )
--- a/includes/clientside/static/login.js Wed Nov 11 23:48:55 2009 -0500
+++ b/includes/clientside/static/login.js Mon Nov 16 00:06:55 2009 -0500
@@ -772,7 +772,7 @@
}
// Post operations: stash encryption keys and All That Jazz(TM)
- logindata.key_aes = data.crypto_aes_key;
+ logindata.key_aes = data.crypto.aes_key;
logindata.key_dh = data.crypto.dh_public_key;
logindata.captcha_hash = show_captcha;
logindata.loggedin_username = data.username;