]> source.dussan.org Git - nextcloud-server.git/commit
Detect disabled signature check when reparing
authorVincent Petry <vincent@nextcloud.com>
Thu, 24 Jun 2021 07:31:52 +0000 (09:31 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Wed, 30 Jun 2021 12:23:31 +0000 (12:23 +0000)
commit7e1c807a0d6c255b151c07ba8f991b6aecc8ce00
tree08458e7bf773cb27739953a3d871e68c88b578fd
parentd2574c4363d339612f386b209d517418346fce3a
Detect disabled signature check when reparing

When running occ encryption:fix-encrypted-version, detect whether the
setting 'encryption_skip_signature_check' is set and abort if it is,
because the repair cannot detect version mismatch errors with it
enabled.

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