]> source.dussan.org Git - nextcloud-server.git/commit
Prevent running FixEncryptedVersion without master key 27728/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:26:42 +0000 (12:26 +0000)
commit5588199812dcfac1788108ff3192ba14c59fe45a
tree908d07e0fdfdb6e989f4e270cdbb03234dbfcdd3
parent3b7e6ea8c862a2fc0248847c0a1012df2dc2b03f
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