Skip to content

Commit

Permalink
fixup! Move to AES-256-GCM for openssl_seal/open
Browse files Browse the repository at this point in the history
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
  • Loading branch information
rullzer authored and skjnldsv committed Jun 14, 2021
1 parent 0efd645 commit bc0d48c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/encryption/lib/Crypto/Crypt.php
Original file line number Diff line number Diff line change
Expand Up @@ -719,8 +719,8 @@ public function multiKeyEncrypt($plainContent, array $keyFiles) {
}

return [
'keys' => $mappedShareKeys . $iv,
'data' => $sealed
'keys' => $mappedShareKeys,
'data' => $sealed . $iv,
];
}
throw new MultiKeyEncryptException('multikeyencryption failed ' . openssl_error_string());
Expand Down

0 comments on commit bc0d48c

Please sign in to comment.