diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-08-11 09:18:16 +0200 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-08-26 10:44:49 +0200 |
commit | 60e44077b73b49a13b235f8e2d9e6e3b9f4efc6f (patch) | |
tree | f5f5d3b4933f8a1a02a053601d31775f304e85f4 /lib | |
parent | 25e41354f3a4a95ba8e02fd5ef8851ddd36c5d5a (diff) | |
download | nextcloud-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