aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-08-11 09:18:16 +0200
committerVincent Petry <vincent@nextcloud.com>2021-08-26 10:44:49 +0200
commit60e44077b73b49a13b235f8e2d9e6e3b9f4efc6f (patch)
treef5f5d3b4933f8a1a02a053601d31775f304e85f4 /lib
parent25e41354f3a4a95ba8e02fd5ef8851ddd36c5d5a (diff)
downloadnextcloud-server-60e44077b73b49a13b235f8e2d9e6e3b9f4efc6f.tar.gz
nextcloud-server-60e44077b73b49a13b235f8e2d9e6e3b9f4efc6f.zip
Fix encrypted version to 0 when finding unencrypted file
Whenever the command is run and a "legacy cipher" seems to be detected when the legacy option is disabled, it's highly likely that the file is actually unencrypted but the database contains a encrypted version higher than 0 for some reason. The command now detects this case and automatically sets the encrypted version to 0 so that the file can be read again. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions