-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Dont decrypt shared files #25639
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
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now thinking of it, what would happen with global external storages ? @schiessle
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.
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