diff options
author | Florin Peter <github@florin-peter.de> | 2013-05-31 01:35:48 +0200 |
---|---|---|
committer | Florin Peter <github@florin-peter.de> | 2013-05-31 01:35:48 +0200 |
commit | 986e9dd362809cedec783f55f161d6b3bce7d680 (patch) | |
tree | 57b00877d23b23e52df28d57addee450cae88880 /apps/files_encryption/hooks | |
parent | 4f9cbadfa437c72db03e5d6def76d6d9103453b1 (diff) | |
download | nextcloud-server-986e9dd362809cedec783f55f161d6b3bce7d680.tar.gz nextcloud-server-986e9dd362809cedec783f55f161d6b3bce7d680.zip |
use legacyDecrypt to decrypt key file like the previous files_encryption
Diffstat (limited to 'apps/files_encryption/hooks')
-rw-r--r-- | apps/files_encryption/hooks/hooks.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php index 955425595ba..4e0e5c4b958 100644 --- a/apps/files_encryption/hooks/hooks.php +++ b/apps/files_encryption/hooks/hooks.php @@ -76,7 +76,7 @@ class Hooks { && $encLegacyKey = $userView->file_get_contents('encryption.key')
) {
- $plainLegacyKey = Crypt::legacyBlockDecrypt($encLegacyKey, $params['password']);
+ $plainLegacyKey = Crypt::legacyDecrypt($encLegacyKey, $params['password']);
$session->setLegacyKey($plainLegacyKey);
|