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 <[email protected]>
  • Loading branch information
rullzer authored and solracsf committed Jun 29, 2022
1 parent 2b7cf21 commit 905e6d8
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 @@ -757,8 +757,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 905e6d8

Please sign in to comment.