]> source.dussan.org Git - nextcloud-server.git/commit
Prevent running FixEncryptedVersion without master key 27727/head
authorVincent Petry <vincent@nextcloud.com>
Tue, 29 Jun 2021 18:44:07 +0000 (20:44 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Wed, 30 Jun 2021 12:23:32 +0000 (12:23 +0000)
commit19d2dbf80b0a48ed0652cab808adf3260240ff4f
tree0bebf05902ecd8ffa381895b3f6bf655c63fa852
parentb3052e49326dc1f70abd0e67d9d830b65b2aec07
Prevent running FixEncryptedVersion without master key

Return an error when running occ encryption:fix-encrypted-version
when master key encryption is not enabled.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
apps/encryption/lib/Command/FixEncryptedVersion.php
apps/encryption/tests/Command/FixEncryptedVersionTest.php