Dont decrypt shared files#25639
Conversation
|
@DeepDiver1975, thanks for your PR! By analyzing the annotation information on this pull request, we identified @schiessle, @nickvergessen and @chriseqipe to be potential reviewers |
|
@DeepDiver1975 - I will have a go at testing it at the next opportunity I have and feedback the results. |
|
no way...
|
| $content = $this->rootView->getDirectoryContent($root); | ||
| foreach ($content as $file) { | ||
| // only decrypt files owned by the user | ||
| if($file->getStorage()->instanceOfStorage('OC\Files\Storage\Shared')) { |
There was a problem hiding this comment.
now thinking of it, what would happen with global external storages ? @schiessle
There was a problem hiding this comment.
no idea - we better test this ....
|
@VicDeo weird stuff you're getting. Maybe you found a bug ? I simply used the user's login password for decryption with new files, no "encrypt-all" and this PR worked fine as it left the shared files alone 👍 |
|
@VicDeo please retry |
|
@PVince81 I already tried over 6 times. Is anything changed here? |
|
@VicDeo nothing changed, I just hoped you mistyped your steps. I'll also try with your exact steps. |
|
@VicDeo can't reproduce the issue with your steps. As they are missing some slight details, here are mine with details:
@VicDeo can you check whether your steps are exactly the same or have differences ? Thanks. |
|
@PVince81 confirmed. |
|
@VicDeo ah... in my case I only enabled recovery for the test user, not admin |
|
👍 or something like this.... |
db902ab to
8aaf06c
Compare
|
Rebased for CI. |
|
Failing test unrelated. Raised as #25830 as it fails randomly. |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
fixes #25599
THX @schiessle
@wipeoutdude mind testing? THX