-
Notifications
You must be signed in to change notification settings - Fork 816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfix. E2EE. Always migrate from 1.2 to 2.0, even with nested folders. #6695
base: master
Are you sure you want to change the base?
Conversation
We have an issue with old E2EE folders (version < 2.0) if there are nested folders inside those and the user makes a change in the nested folder. The encrypted folder then becomes broken as the nested folder + root E2EE folder relation is getting messed up. We already have a code for proper migration. We did not enable it for folders with nested folders for some reason of mobile client limitations. But this is the proper way to do it on a desktop and prevents issues with using such old folders later. This is probably the problem some users are still suffering in nextcloud/ios#2809. @tobiasKaminsky I think we should enable automatic migration for E2EE folders with nested folders on desktop. |
/backport to stable-3.13 |
/backport to stable-3.12 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you have a look at adding automated tests via the end-to-end tests with a real running server ?
@tobiasKaminsky in the end up to you if Alex has time to add those automated tests
d9eb463
to
25a6219
Compare
Signed-off-by: alex-z <[email protected]>
25a6219
to
0f87fd4
Compare
AppImage file: nextcloud-PR-6695-0f87fd4a715b975df7431f41778faaceb17ca7d6-x86_64.AppImage |
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
@tobiasKaminsky another ping if this is really wanted or if you see any risks? |
v2 will be used for any new created folder, so we should also migrate v1. So, ✔ for general approach/idea. |
No description provided.