fix migration from old to new encryption

This commit is contained in:
Björn Schießle 2013-05-27 12:02:27 +02:00
parent f8d1c32112
commit 8b35578833
2 changed files with 1 additions and 3 deletions

View File

@ -81,8 +81,6 @@ class Hooks {
$session->setLegacyKey( $plainLegacyKey );
}
$publicKey = Keymanager::getPublicKey( $view, $params['uid'] );
// Encrypt existing user files:
// This serves to upgrade old versions of the encryption

View File

@ -613,7 +613,7 @@ class Crypt
$decrypted = $bf->decrypt( $content );
return rtrim( $decrypted, "\0" );;
return $decrypted;
}