diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-06-22 15:35:52 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-08-20 15:42:43 +0200 |
commit | 5340ab3a75d58651e3cc65688d94444b38570cfc (patch) | |
tree | 426f4cd4a944319ed1254a463adfbb86dba6f950 /core/register_command.php | |
parent | 886466d5109de6ed399e2da3dcf87eea66d531ce (diff) | |
download | nextcloud-server-5340ab3a75d58651e3cc65688d94444b38570cfc.tar.gz nextcloud-server-5340ab3a75d58651e3cc65688d94444b38570cfc.zip |
New SSE key format
* Encrypt the keys with the instance secret
* Store them as json (so we can add other things if needed)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/register_command.php')
-rw-r--r-- | core/register_command.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php index c2a3f76b6c3..e05cff3e37f 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -139,6 +139,14 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) { ) ); $application->add(new OC\Core\Command\Encryption\ShowKeyStorageRoot($util)); + $application->add(new OC\Core\Command\Encryption\MigrateKeyStorage( + $view, + \OC::$server->getUserManager(), + \OC::$server->getConfig(), + $util, + \OC::$server->getCrypto() + ) + ); $application->add(new OC\Core\Command\Maintenance\DataFingerprint(\OC::$server->getConfig(), new \OC\AppFramework\Utility\TimeFactory())); $application->add(new OC\Core\Command\Maintenance\Mimetype\UpdateDB(\OC::$server->getMimeTypeDetector(), \OC::$server->getMimeTypeLoader())); |