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

@ -82,8 +82,6 @@ class Hooks {
} }
$publicKey = Keymanager::getPublicKey( $view, $params['uid'] );
// Encrypt existing user files: // Encrypt existing user files:
// This serves to upgrade old versions of the encryption // This serves to upgrade old versions of the encryption
// app (see appinfo/spec.txt) // app (see appinfo/spec.txt)

View File

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