diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-08-12 13:22:24 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-08-19 15:45:45 +0200 |
commit | 8928bbe96901b9374ecd42cb6cf9e3e7914ebafa (patch) | |
tree | 9af1f497be8502c74da6f3bcb02482764f5fa7df /lib/private/Repair.php | |
parent | bc2b42250820197c3f71518299c401515f6ee1cc (diff) | |
download | nextcloud-server-8928bbe96901b9374ecd42cb6cf9e3e7914ebafa.tar.gz nextcloud-server-8928bbe96901b9374ecd42cb6cf9e3e7914ebafa.zip |
Make legacy cipher opt in
* Systems that upgrade have this enabled by default
* New systems disable it
* We'll have to add some wargning in the setup checks if this is enabled
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r-- | lib/private/Repair.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php index 60609de4170..6151812d316 100644 --- a/lib/private/Repair.php +++ b/lib/private/Repair.php @@ -48,6 +48,7 @@ use OC\Repair\NC16\AddClenupLoginFlowV2BackgroundJob; use OC\Repair\NC16\CleanupCardDAVPhotoCache; use OC\Repair\NC16\ClearCollectionsAccessCache; use OC\Repair\NC18\ResetGeneratedAvatarFlag; +use OC\Repair\NC20\EncryptionLegacyCipher; use OC\Repair\OldGroupMembershipShares; use OC\Repair\Owncloud\DropAccountTermsTable; use OC\Repair\Owncloud\SaveAccountsTableData; @@ -156,6 +157,7 @@ class Repair implements IOutput { new RemoveLinkShares(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig(), \OC::$server->getGroupManager(), \OC::$server->getNotificationManager(), \OC::$server->query(ITimeFactory::class)), new ClearCollectionsAccessCache(\OC::$server->getConfig(), \OC::$server->query(IManager::class)), \OC::$server->query(ResetGeneratedAvatarFlag::class), + \OC::$server->query(EncryptionLegacyCipher::class), ]; } |