nextcloud-server/apps/encryption/lib
Vincent Petry fd6c5a134f
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:19:24 +07:00
..
AppInfo Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +07:00
Command Fix encrypted version to 0 when finding unencrypted file 2021-08-26 14:19:24 +07:00
Controller Remove unneeded casts that were found by Psalm 2021-01-11 13:14:41 +07:00
Crypto Remove unneeded casts that were found by Psalm 2021-01-11 13:14:41 +07:00
Exceptions Update license headers for 19 2020-04-29 11:57:22 +07:00
Hooks Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
Migration Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
Settings Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +07:00
Users Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +07:00
HookManager.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +07:00
KeyManager.php Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +07:00
Recovery.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
Session.php Update license headers for 19 2020-04-29 11:57:22 +07:00
Util.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00