Skip to content
Unverified Commit 5ebc53ff authored by Vincent Petry's avatar Vincent Petry
Browse files

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: default avatarVincent Petry <vincent@nextcloud.com>
parent 006aac9a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment