we also encrypt/decrypt files in the versions folder#11392
we also encrypt/decrypt files in the versions folder#11392MorrisJobke merged 1 commit intomasterfrom
Conversation
|
What about the trashbin? |
|
@MorrisJobke For the trash bin we don't provide previews at the moment. For versions it is relatively easy because only the encrypted file is stored at a different location (/data/user/files_versions) but the keys are all at the same place as for the current file because all of them use the same keys. |
|
Well, why not 👍 |
|
(requires a documentation update after merging) |
|
There should be no documentation update needed, This is just a bug fix, we already encrypted versions before. |
|
The jenkins fail is unrelated... Can we have a second reviewer for this small fix? @MorrisJobke @PVince81 Thanks! |
|
Can you add a unit test for this ? |
… if encryption is enabled/disabled
4b05f50 to
9147219
Compare
|
@PVince81 unit tests added |
|
@owncloud-bot retest this please |
|
The inspection completed: 6 new issues, 7 updated code elements |
|
Before the fix: text preview appears encrypted in versions dropdown 👍 |
|
🚀 Test PASSed. 🚀 |
we also encrypt/decrypt files in the versions folder
|
@schiesbn Backport? |
|
yes, I will backport it |
|
stable7: 3039837 |
|
Thanks. |
we also encrypt/decrypt files in the versions folder for previews and if encryption is enabled/disabled.
This fixes the preview creation for versions if encryption is enabled.