summaryrefslogtreecommitdiff
path: root/inc/load.php
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2013-07-30 18:50:28 +0200
committerChristopher Smith <chris@jalakai.co.uk>2013-08-01 11:11:52 +0200
commit865faf755070832ca9c794e1f1c190ddda7e0850 (patch)
tree850fd29bc1b64d62ab21c9ffff97cbb8b9d0405d /inc/load.php
parentae27e120734c91b8f006928ec4e2f89e5b79393d (diff)
downloadrpg-865faf755070832ca9c794e1f1c190ddda7e0850.tar.gz
rpg-865faf755070832ca9c794e1f1c190ddda7e0850.tar.bz2
Add AES from phpseclib and use it for cookie encryption
This replaces the deprecated and broken Blowfish implementation that has previously been used and should provide a lot more security.
Diffstat (limited to 'inc/load.php')
-rw-r--r--inc/load.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/load.php b/inc/load.php
index 5ca9b4cd8..7fb328215 100644
--- a/inc/load.php
+++ b/inc/load.php
@@ -82,6 +82,10 @@ function load_autoload($name){
'RemoteAPI' => DOKU_INC.'inc/remote.php',
'RemoteAPICore' => DOKU_INC.'inc/RemoteAPICore.php',
'Subscription' => DOKU_INC.'inc/subscription.php',
+ 'Crypt_Base' => DOKU_INC.'inc/phpseclib/Crypt_Base.php',
+ 'Crypt_Rijndael' => DOKU_INC.'inc/phpseclib/Crypt_Rijndael.php',
+ 'Crypt_AES' => DOKU_INC.'inc/phpseclib/Crypt_AES.php',
+ 'Crypt_Hash' => DOKU_INC.'inc/phpseclib/Crypt_Hash.php',
'DokuWiki_Action_Plugin' => DOKU_PLUGIN.'action.php',
'DokuWiki_Admin_Plugin' => DOKU_PLUGIN.'admin.php',