Skip to content
Snippets Groups Projects
Commit 7892fddc authored by Björn Schießle's avatar Björn Schießle
Browse files

remove ToDo, every time the file key gets encrypted new share keys are...

remove ToDo, every time the file key gets encrypted new share keys are generated and a new encrypted filekey. We always need to use the latest share-keys and encrypted keyfiles
parent bd302424
Branches
No related tags found
No related merge requests found
......@@ -146,7 +146,6 @@ class Proxy extends \OC_FileProxy {
$multiEncrypted = Crypt::multiKeyEncrypt( $plainKey, $publicKeys );
// Save sharekeys to user folders
// TODO: openssl_seal generates new shareKeys (envelope keys) each time data is encrypted, but will data still be decryptable using old shareKeys? If so we don't need to replace the old shareKeys here, we only need to set the new ones
Keymanager::setShareKeys( $rootView, $filePath, $multiEncrypted['keys'] );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment