fix migration from old to new encryption
This commit is contained in:
parent
f8d1c32112
commit
8b35578833
|
@ -82,8 +82,6 @@ class Hooks {
|
|||
|
||||
}
|
||||
|
||||
$publicKey = Keymanager::getPublicKey( $view, $params['uid'] );
|
||||
|
||||
// Encrypt existing user files:
|
||||
// This serves to upgrade old versions of the encryption
|
||||
// app (see appinfo/spec.txt)
|
||||
|
|
|
@ -613,7 +613,7 @@ class Crypt
|
|||
|
||||
$decrypted = $bf->decrypt( $content );
|
||||
|
||||
return rtrim( $decrypted, "\0" );;
|
||||
return $decrypted;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue