|
Make Cast certificate verification enforce constraints specified in the trusted root certificate.
* Hardcode the 2 Chromecast root certificates. Previously we included their Subject+SPKI, now it includes the full certificates.
* Change the net::TrustStore to take full-blown certificates rather than (subjet, spki) tuples.
* During verification all checks are done on the root certificate except for signature and issuer check.
Committed: https://crrev.com/55f0260050a83ff2ed9b3169bce8812a19d07b1e
Cr-Commit-Position: refs/heads/master@{#388905}
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1581 lines, -235 lines) |
Patch |
 |
M |
extensions/common/cast/cast_cert_validator.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+28 lines, -117 lines |
0 comments
|
Download
|
 |
A |
extensions/common/cast/cast_root_ca_cert_der-inc.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+148 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/common/cast/eureka_root_ca_der-inc.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+146 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/extensions.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/cert/internal/parse_certificate.h
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/cert/internal/parse_certificate.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/cert/internal/verify_certificate_chain.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+84 lines, -11 lines |
0 comments
|
Download
|
 |
M |
net/cert/internal/verify_certificate_chain.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+196 lines, -56 lines |
0 comments
|
Download
|
 |
M |
net/cert/internal/verify_certificate_chain_pkits_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+1 line, -13 lines |
0 comments
|
Download
|
 |
M |
net/cert/internal/verify_certificate_chain_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
 |
A |
net/data/verify_certificate_chain_unittest/expired-root.pem
|
View
|
1
2
|
1 chunk |
+280 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
net/data/verify_certificate_chain_unittest/generate-expired-root.py
|
View
|
1
2
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
A + |
net/data/verify_certificate_chain_unittest/generate-non-self-signed-root.py
|
View
|
1
2
3
4
5
|
2 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
A + |
net/data/verify_certificate_chain_unittest/generate-violates-pathlen-1-root.py
|
View
|
1
2
|
1 chunk |
+7 lines, -10 lines |
0 comments
|
Download
|
 |
A |
net/data/verify_certificate_chain_unittest/non-self-signed-root.pem
|
View
|
1
2
3
|
1 chunk |
+281 lines, -0 lines |
0 comments
|
Download
|
 |
A |
net/data/verify_certificate_chain_unittest/violates-pathlen-1-root.pem
|
View
|
1
2
|
1 chunk |
+369 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/net.gypi
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 26 (10 generated)
|