Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-02-09 21:33:05 +0300
committerGit'Fellow (Rebase PR Action) <solracsf@users.noreply.github.com>2022-06-29 18:41:35 +0300
commit905e6d8d8d5f474490922e062c2f014a31d05ed0 (patch)
tree600febeefb125d3a70a8c1f160016a2a1afdfd9c
parent2b7cf212bb2e179294a4190745dbe003d971bc46 (diff)
fixup! Move to AES-256-GCM for openssl_seal/openenh/encryption/move_to_better_cipher
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-rw-r--r--apps/encryption/lib/Crypto/Crypt.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/encryption/lib/Crypto/Crypt.php b/apps/encryption/lib/Crypto/Crypt.php
index dbbd8df1dc8..16d4c24f228 100644
--- a/apps/encryption/lib/Crypto/Crypt.php
+++ b/apps/encryption/lib/Crypto/Crypt.php
@@ -757,8 +757,8 @@ class Crypt {
}
return [
- 'keys' => $mappedShareKeys . $iv,
- 'data' => $sealed
+ 'keys' => $mappedShareKeys,
+ 'data' => $sealed . $iv,
];
}
throw new MultiKeyEncryptException('multikeyencryption failed ' . openssl_error_string());