summaryrefslogtreecommitdiff
path: root/inc/load.php
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2013-07-30 18:50:28 +0200
committerMichael Hamann <michael@content-space.de>2013-07-30 18:55:19 +0200
commit04369c3eae728e14962c41d1ab259f9e7ed99144 (patch)
tree215444b8ba53bcb3ba29b87d12e23a2affe81f33 /inc/load.php
parent30d544a4c371bf69023e4d9958bc2b00d84387d9 (diff)
downloadrpg-04369c3eae728e14962c41d1ab259f9e7ed99144.tar.gz
rpg-04369c3eae728e14962c41d1ab259f9e7ed99144.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',