nextcloud-server/apps/encryption
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 Downstream encryption:fix-encrypted-version 2021-06-30 12:23:30 +07:00
composer Add missing files for Composer v2 2021-08-16 08:30:10 +07:00
css
img
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:28 +07:00
lib Fix encrypted version to 0 when finding unencrypted file 2021-08-26 14:19:24 +07:00
templates Format code to a single space around binary operators 2020-10-05 20:25:24 +07:00
tests Fix encrypted version to 0 when finding unencrypted file 2021-08-26 14:19:24 +07:00