nextcloud-server/apps/encryption
Vincent Petry 60e44077b7
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 10:44:49 +07:00
..
appinfo Downstream encryption:fix-encrypted-version 2021-06-29 14:39:51 +07:00
composer Add missing files for Composer v2 2021-08-13 15:01:02 +07:00
css Mixin scss icon api 2018-07-19 08:16:58 +07:00
img Svgo optimization 2016-09-27 20:56:26 +07:00
js Use DOMContentLoaded and fix sharebymail loading issue 2020-07-20 12:42:08 +07:00
l10n [tx-robot] updated from transifex 2021-08-24 02:26:09 +07:00
lib Fix encrypted version to 0 when finding unencrypted file 2021-08-26 10:44:49 +07:00
templates l10n: Replace the apostrophe with double quotation 2021-05-06 14:55:35 +07:00
tests Fix encrypted version to 0 when finding unencrypted file 2021-08-26 10:44:49 +07:00