Files
nextcloud-documentation/admin_manual/configuration_files/encryption_migration.rst
AXTS 57ef67fbf5 Update encryption_migration.rst (#6766)
* Update encryption_migration.rst

Signed-off-by: Andrea Xheli axheli@axtsolutions.com

* Update encryption_migration.rst

Signed-off-by: Andrea Xheli axheli@axtsolutions.com
Signed-off-by: Andrea Xheli <axheli@axtsolutions.com>

* Revert "Update encryption_migration.rst"

This reverts commit 7b22724f19.

* Revert "Revert "Update encryption_migration.rst""

This reverts commit a19e056df9.

Co-authored-by: Andrea Xheli <andyxheli@gmail.com>
2021-07-06 16:18:39 +02:00

24 lines
959 B
ReStructuredText

====================
Encryption migration
====================
Encryption format
-----------------
Nextcloud still supports the legacy encryption scheme used for server side encryption where the encrypted files did not contain header information. This may still be used for installations that still have encrypted files from <= ownCloud 6. Files will be updated to the new encryption format once they are written again. However it is recommended to check if you have to still support this scheme.
Starting with version 20 for new installations the legacy encryption will be off by default.
However if you are upgrading there is a migration path to check if you can disable legacy encryption.
Checking for old files
^^^^^^^^^^^^^^^^^^^^^^
On the command line run:
occ encryption:scan:legacy-format
The command will tell you if you can remove the legacy encryption mode.
If so set the `encryption.legacy_format_support` in your config.php to 'false'.