-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
clear encrypted flag when moving away from encrypted storage #35961
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
Conversation
come-nc
left a comment
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.
Code looks fine.
Is it possible to add tests for it?
PVince81
left a comment
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.
👍
|
/backport to stable25 |
|
/backport to stable24 |
8692073 to
b4c810e
Compare
b1bd148 to
5274f39
Compare
|
test failure unrelated, merge ? @come-nc @szaimen @icewind1991 |
|
Lets rebase and merge :) |
|
/rebase |
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
5274f39 to
808a80e
Compare
|
/backport to stable26 |
When moving a file from an encrypted storage to a non-encrypted storage, the
encryptedflag isn't cleared currently.This usually isn't a problem since the
encryptedflag isn't checked when encrypted isn't enabled on a storage.However, when encryption is then enabled for the storage after files have been moved into them, the encryption wrapper will check the
encryptedflag, try to decrypt it, and fail.To test
occ config:app:set groupfolders enable_encryption --value true