-
Notifications
You must be signed in to change notification settings - Fork 862
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
Fix TLS pins and update list of pinned roots #8750
Conversation
@tmancey Does this cover all of the Ads and Rewards endpoints? (i.e. does it fix brave/brave-browser#12349?) |
Note on testing: since browser tests don't have access to the network, I'm not able to browse to the test page with a bad cert and verify that the pinset is actually working. The best I could do is fake the TLS state and look for an interstitial, but whether or not that state gets set is what I'm most interested in testing. There is also an open request for a Brave-specific domain that will allow us to do a full end-to-end (manual) test: https://github.com/brave/devops/issues/4981 |
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++
cd72e8d
to
7ac6fe9
Compare
6a97a1d
to
964f9e7
Compare
56b35a7
to
8a1aed7
Compare
…14637) This removes deprecated/expired roots and adds all currently active ones: https://support.globalsign.com/ca-certificates/root-certificates/globalsign-root-certificates https://letsencrypt.org/certificates/#root-certificates
https://www.identrust.com/support/downloads This is still used for Let's Encrypt certificates on some of our servers, though it will expire in September 2021: https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/
These hostnames are related to updates and stats and so we want to make sure that all clients can reach them even in the presence of interfering middle boxes or bugs in pinning implementation.
8a1aed7
to
4af1c2c
Compare
The Android build failure is a known one since it's currently failing on Nightly: https://bravesoftware.slack.com/archives/CA5FPHWLF/p1622162074079200 |
Resolves brave/brave-browser#15667,
Resolves brave/brave-browser#14637,
Resolves brave/brave-browser#12349,
Resolves brave/brave-browser#2949,
Resolves brave/brave-browser#15874
Security review: https://github.com/brave/security/issues/446
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan:
"Cannot GET /"
and that's okay).