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

Issue 1156413005: Implement hash function prioritization for SRI. (Closed)

Created:
5 years, 6 months ago by jww
Modified:
5 years, 6 months ago
Reviewers:
Mike West
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Implement hash function prioritization for SRI. The Subresource Integrity spec states that if multiple hash values are present in the integrity, only those with the strongest hash functions should be considered for the integrity check. This implements that prioritization. BUG=355467 R=mkwst@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196461

Patch Set 1 #

Total comments: 10

Patch Set 2 : Nits #

Patch Set 3 : Compile fixes #

Patch Set 4 : Rebase on ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -6 lines) Patch
A LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-hash-function-priority.html View 1 chunk +21 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-hash-function-priority-expected.txt View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/frame/SubresourceIntegrity.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/frame/SubresourceIntegrity.cpp View 1 2 3 3 chunks +46 lines, -1 line 0 comments Download
M Source/core/frame/SubresourceIntegrityTest.cpp View 1 5 chunks +22 lines, -5 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
jww
5 years, 6 months ago (2015-06-02 18:38:40 UTC) #1
Mike West
Cross-time-zone LGTM, but I'd like to see some changes before landing. See comments. https://codereview.chromium.org/1156413005/diff/1/Source/core/frame/SubresourceIntegrity.cpp File ...
5 years, 6 months ago (2015-06-03 09:13:34 UTC) #2
jww
https://codereview.chromium.org/1156413005/diff/1/Source/core/frame/SubresourceIntegrity.cpp File Source/core/frame/SubresourceIntegrity.cpp (right): https://codereview.chromium.org/1156413005/diff/1/Source/core/frame/SubresourceIntegrity.cpp#newcode72 Source/core/frame/SubresourceIntegrity.cpp:72: const HashAlgorithm weakerThanSha256[] = { HashAlgorithmSha1 }; On 2015/06/03 ...
5 years, 6 months ago (2015-06-03 19:26:56 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1156413005/20001
5 years, 6 months ago (2015-06-03 19:27:25 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_compile_dbg/builds/47033)
5 years, 6 months ago (2015-06-03 19:48:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1156413005/40001
5 years, 6 months ago (2015-06-03 20:38:31 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/64834)
5 years, 6 months ago (2015-06-03 21:44:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1156413005/60001
5 years, 6 months ago (2015-06-04 01:00:00 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/64910)
5 years, 6 months ago (2015-06-04 01:25:19 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1156413005/60001
5 years, 6 months ago (2015-06-04 04:51:59 UTC) #20
commit-bot: I haz the power
5 years, 6 months ago (2015-06-04 05:50:55 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196461

Powered by Google App Engine
This is Rietveld 408576698