-
Notifications
You must be signed in to change notification settings - Fork 885
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
Disable download protection remote lookups (brave/brave-browser#4341) #2710
Conversation
I think this issue can be resolved by below one patch.
|
patches/chrome-browser-safe_browsing-download_protection-download_protection_service.cc.patch
Outdated
Show resolved
Hide resolved
I think this is better handled by blocking the request url in the network delegate which would not require any patching |
patches/chrome-browser-safe_browsing-download_protection-check_client_download_request.h.patch
Outdated
Show resolved
Hide resolved
a8c896a
to
1a5a75d
Compare
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.
LGTM. (but, need owner's approve)
patches/chrome-browser-safe_browsing-download_protection-check_client_download_request.cc.patch
Outdated
Show resolved
Hide resolved
1a5a75d
to
893d3db
Compare
6a1aed7
to
ed03033
Compare
browser/net/brave_static_redirect_network_delegate_helper_unittest.cc
Outdated
Show resolved
Hide resolved
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.
some improvements are needed
ed03033
to
152d51c
Compare
This also temporarily disables download protection remote lookups, which fixes brave/brave-browser#4341.
152d51c
to
83fc520
Compare
Thanks for all of your feedback @iefremov . I believe I have addressed everything. I just re-rested manually and ran all of the tests successfully. This is ready for your final review. |
Fixes brave/brave-browser#4341.
Submitter Checklist:
npm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
To test that remote lookups are no longer done, go to https://testsafebrosing.appspot.com and verify that none of the Download Warnings files get blocked. Ideally, do this while looking at a MITM proxy to ensure that nothing is sent to
sb-ssl.google.com
orsb-ssl.brave.com
.To test that the "bad binary" list is still used against the download URL, I made a build which always flags download URLs as dangerous:
and then verified that any download would be blocked.
Reviewer Checklist:
After-merge Checklist:
changes has landed on.