nextcloud/apps/encryption/lib
Vincent Petry e019b0d329
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>
2021-08-26 14:17:01 +02:00
..
AppInfo Update php licenses 2021-06-04 22:02:41 +02:00
Command Fix encrypted version to 0 when finding unencrypted file 2021-08-26 14:17:01 +02:00
Controller Update php licenses 2021-06-04 22:02:41 +02:00
Crypto Merge pull request #26323 from J0WI/crypt-const 2021-06-23 11:17:05 +02:00
Exceptions Update php licenses 2021-06-04 22:02:41 +02:00
Hooks Update php licenses 2021-06-04 22:02:41 +02:00
Migration Update php licenses 2021-06-04 22:02:41 +02:00
Settings Update php licenses 2021-06-04 22:02:41 +02:00
Users Update php licenses 2021-06-04 22:02:41 +02:00
HookManager.php Update php licenses 2021-06-04 22:02:41 +02:00
KeyManager.php Update php licenses 2021-06-04 22:02:41 +02:00
Recovery.php Update php licenses 2021-06-04 22:02:41 +02:00
Session.php Update php licenses 2021-06-04 22:02:41 +02:00
Util.php Update php licenses 2021-06-04 22:02:41 +02:00