fixup! Move to AES-256-GCM for openssl_seal/open
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
85968ed179
commit
0b21799ba6
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue