-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Update Encryption.php to fix issue #34599 "encrypted remote storage" #36179
Update Encryption.php to fix issue #34599 "encrypted remote storage" #36179
Conversation
@martink-p |
@micbar |
@martink-p I am referencing to the Continuous integration tests on your PR.
|
@martink-p in your local branch you can:
and it should make the code style changes automatically. |
Okay. I've fixed the style issues. However, CI drone is still complaining about two aborted tests. |
restarted the CI. |
@sharidas @phil-davis seems that you need to trigger CI again (build was killed) 😄 |
Codecov Report
@@ Coverage Diff @@
## master #36179 +/- ##
============================================
+ Coverage 64.86% 64.87% +<.01%
- Complexity 19787 19790 +3
============================================
Files 1271 1271
Lines 74728 74737 +9
Branches 1309 1309
============================================
+ Hits 48475 48484 +9
Misses 25867 25867
Partials 386 386
Continue to review full report at Codecov.
|
I've clarified the purpose of my change a bit (comment in code) and commited it to trigger CI again ;) |
@martink-p you need to rebase to the current master. Your branch is currently off an older point in master, and that is running some "samba" Windows share tests that fail. |
Update Encryption.php Update Encryption.php Update Encryption.php
9853b46
to
c3a980e
Compare
Okay guys... |
@phil-davis @micbar CI is green now 👍 |
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.
Just typos in comments.
@micbar this needs review from someone who could comment more technically. |
@martink-p @phil-davis LGTM. |
@martink-p Just fix the comments. |
Co-Authored-By: Phil Davis <phil@jankaritech.com>
Co-Authored-By: Phil Davis <phil@jankaritech.com>
I added the QA labels. ToDo: review where this is called and do either or both of: |
@martink-p the code from this has been merged in PR #36546 |
Description
The details of my change are described in #34599. However, in principle it adds a wrapper function to "stream_read" which reads (and checks) until the required block size is available or there is no remaining data.
Related Issue
Motivation and Context
This pull request fixes an issue with encrypted external WebDAV storage and was verified as a soluition with nextcloud issue nextcloud/server#9792
How Has This Been Tested?
Types of changes
Checklist: