fixup! Move to AES-256-GCM for openssl_seal/open

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2021-02-09 19:33:05 +01:00
parent 85968ed179
commit 0b21799ba6
1 changed files with 2 additions and 2 deletions

View File

@ -727,8 +727,8 @@ class Crypt {
}
return [
'keys' => $mappedShareKeys . $iv,
'data' => $sealed
'keys' => $mappedShareKeys,
'data' => $sealed . $iv,
];
}
throw new MultiKeyEncryptException('multikeyencryption failed ' . openssl_error_string());