Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Issue 2918233002: Add tests for Cast certificate interpretation of policies. (Closed)

Created:
3 years, 6 months ago by eroman
Modified:
3 years, 5 months ago
CC:
chromium-reviews, mfoltz+watch_chromium.org, dougsteed+watch_chromium.org, ryanchung+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add tests for Cast certificate interpretation of policies. Also changes the implementation to be more restrictive by looking at the whole chain rather than just the leaf. Review-Url: https://codereview.chromium.org/2918233002 Cr-Commit-Position: refs/heads/master@{#482858} Committed: https://chromium.googlesource.com/chromium/src/+/6a9b02bdc9938db94b6ff1ca41865093f30f1836

Patch Set 1 #

Patch Set 2 : Add more tests, and use less restrictive approach #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3648 lines, -23 lines) Patch
M components/cast_certificate/cast_cert_validator.cc View 1 3 chunks +44 lines, -23 lines 0 comments Download
M components/cast_certificate/cast_cert_validator_unittest.cc View 1 1 chunk +132 lines, -0 lines 0 comments Download
A components/test/data/cast_certificate/certificates/generate_policies_tests.py View 1 1 chunk +124 lines, -0 lines 0 comments Download
A components/test/data/cast_certificate/certificates/policies_ica_anypolicy_leaf_anypolicy.pem View 1 1 chunk +281 lines, -0 lines 0 comments Download
A components/test/data/cast_certificate/certificates/policies_ica_anypolicy_leaf_audioonly.pem View 1 1 chunk +281 lines, -0 lines 0 comments Download
A components/test/data/cast_certificate/certificates/policies_ica_anypolicy_leaf_foo.pem View 1 1 chunk +281 lines, -0 lines 0 comments Download
A components/test/data/cast_certificate/certificates/policies_ica_anypolicy_leaf_none.pem View 1 1 chunk +277 lines, -0 lines 0 comments Download
A components/test/data/cast_certificate/certificates/policies_ica_audioonly_leaf_anypolicy.pem View 1 1 chunk +281 lines, -0 lines 0 comments Download
A components/test/data/cast_certificate/certificates/policies_ica_audioonly_leaf_audioonly.pem View 1 1 chunk +281 lines, -0 lines 0 comments Download
A components/test/data/cast_certificate/certificates/policies_ica_audioonly_leaf_foo.pem View 1 1 chunk +281 lines, -0 lines 0 comments Download
A components/test/data/cast_certificate/certificates/policies_ica_audioonly_leaf_none.pem View 1 1 chunk +277 lines, -0 lines 0 comments Download
A components/test/data/cast_certificate/certificates/policies_ica_none_leaf_anypolicy.pem View 1 1 chunk +278 lines, -0 lines 0 comments Download
A components/test/data/cast_certificate/certificates/policies_ica_none_leaf_audioonly.pem View 1 1 chunk +278 lines, -0 lines 0 comments Download
A components/test/data/cast_certificate/certificates/policies_ica_none_leaf_foo.pem View 1 1 chunk +278 lines, -0 lines 0 comments Download
A components/test/data/cast_certificate/certificates/policies_ica_none_leaf_none.pem View 1 1 chunk +274 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
eroman
Please review carefully that this change is in fact (1) desired for Cast (2) will ...
3 years, 6 months ago (2017-06-02 22:56:30 UTC) #2
eroman
PTAL -- I have significantly changed this CL since patchset #1. The new implementation should ...
3 years, 6 months ago (2017-06-08 19:39:41 UTC) #6
eroman
Ping
3 years, 6 months ago (2017-06-20 17:15:07 UTC) #9
ryanchung
this lgtm. dougsteed for OWNERS.
3 years, 6 months ago (2017-06-20 21:04:28 UTC) #11
eroman
Ping @dougsteed
3 years, 5 months ago (2017-06-27 20:20:18 UTC) #12
dougsteed
lgtm
3 years, 5 months ago (2017-06-27 20:35:28 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2918233002/20001
3 years, 5 months ago (2017-06-27 20:39:42 UTC) #15
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 5 months ago (2017-06-27 20:39:44 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2918233002/20001
3 years, 5 months ago (2017-06-27 21:08:24 UTC) #19
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 5 months ago (2017-06-27 21:08:26 UTC) #21
ryanchung
+halliwell for a /chromecast owner and committer
3 years, 5 months ago (2017-06-27 23:56:07 UTC) #23
halliwell
On 2017/06/27 23:56:07, ryanchung wrote: > +halliwell for a /chromecast owner and committer rs-lgtm
3 years, 5 months ago (2017-06-28 00:28:49 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2918233002/20001
3 years, 5 months ago (2017-06-28 00:31:24 UTC) #26
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 02:39:38 UTC) #29
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6a9b02bdc9938db94b6ff1ca4186...

Powered by Google App Engine
This is Rietveld 408576698