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

Issue 2888853003: Expand CRX verifier to verify CRX₃ files. (Closed)

Created:
3 years, 7 months ago by waffles
Modified:
3 years, 7 months ago
Reviewers:
Sorin Jianu, Devlin
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Expand CRX verifier to verify CRX₃ files. BUG=720092 Review-Url: https://codereview.chromium.org/2888853003 Cr-Commit-Position: refs/heads/master@{#474394} Committed: https://chromium.googlesource.com/chromium/src/+/11f044437561f28e16d0a2549714d860310fb3fd

Patch Set 1 #

Patch Set 2 : Less copying, more reinterpreting. #

Total comments: 12

Patch Set 3 : Through #5 #

Total comments: 2

Patch Set 4 : Comment polish. #

Patch Set 5 : Win compile #

Patch Set 6 : Basic unit tests #

Patch Set 7 : Tests #

Patch Set 8 : Fix const name #

Total comments: 23

Patch Set 9 : Through #27 #

Patch Set 10 : BUILD fix + comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+440 lines, -23 lines) Patch
M components/crx_file/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +29 lines, -0 lines 0 comments Download
A components/crx_file/crx3.proto View 1 2 3 4 5 6 7 8 1 chunk +55 lines, -0 lines 0 comments Download
M components/crx_file/crx_verifier.cc View 1 2 3 4 5 6 7 8 9 8 chunks +160 lines, -23 lines 0 comments Download
A components/crx_file/crx_verifier_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +196 lines, -0 lines 0 comments Download
A components/test/data/crx_file/unsigned.crx3 View 1 2 3 4 5 6 Binary file 0 comments Download
A components/test/data/crx_file/valid.crx2 View 1 2 3 4 5 6 Binary file 0 comments Download
A components/test/data/crx_file/valid_no_publisher.crx3 View 1 2 3 4 5 6 Binary file 0 comments Download
A components/test/data/crx_file/valid_publisher.crx3 View 1 2 3 4 5 6 Binary file 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 44 (32 generated)
waffles
Sorin, PTAL. (I will add some end-to-end tests but I am waiting on the pinned ...
3 years, 7 months ago (2017-05-17 23:08:02 UTC) #4
Sorin Jianu
TY! small fry. https://codereview.chromium.org/2888853003/diff/20001/components/crx_file/crx_verifier.cc File components/crx_file/crx_verifier.cc (right): https://codereview.chromium.org/2888853003/diff/20001/components/crx_file/crx_verifier.cc#newcode74 components/crx_file/crx_verifier.cc:74: size_t len; not initialized https://codereview.chromium.org/2888853003/diff/20001/components/crx_file/crx_verifier.cc#newcode125 components/crx_file/crx_verifier.cc:125: ...
3 years, 7 months ago (2017-05-17 23:54:54 UTC) #5
waffles
https://codereview.chromium.org/2888853003/diff/20001/components/crx_file/crx_verifier.cc File components/crx_file/crx_verifier.cc (right): https://codereview.chromium.org/2888853003/diff/20001/components/crx_file/crx_verifier.cc#newcode74 components/crx_file/crx_verifier.cc:74: size_t len; On 2017/05/17 23:54:53, Sorin Jianu wrote: > ...
3 years, 7 months ago (2017-05-18 00:43:53 UTC) #7
Sorin Jianu
lgtm Thank you! https://codereview.chromium.org/2888853003/diff/40001/components/crx_file/crx_verifier.cc File components/crx_file/crx_verifier.cc (right): https://codereview.chromium.org/2888853003/diff/40001/components/crx_file/crx_verifier.cc#newcode213 components/crx_file/crx_verifier.cc:213: verifiers.push_back(base::MakeUnique<crypto::SignatureVerifier>()); we might be able to ...
3 years, 7 months ago (2017-05-18 00:53:31 UTC) #9
waffles
https://codereview.chromium.org/2888853003/diff/40001/components/crx_file/crx_verifier.cc File components/crx_file/crx_verifier.cc (right): https://codereview.chromium.org/2888853003/diff/40001/components/crx_file/crx_verifier.cc#newcode213 components/crx_file/crx_verifier.cc:213: verifiers.push_back(base::MakeUnique<crypto::SignatureVerifier>()); On 2017/05/18 00:53:31, Sorin Jianu wrote: > we ...
3 years, 7 months ago (2017-05-18 17:47:32 UTC) #12
waffles
Devlin, you are an OWNER, please take a look!
3 years, 7 months ago (2017-05-23 20:13:38 UTC) #23
Devlin
https://codereview.chromium.org/2888853003/diff/140001/components/crx_file/crx3.proto File components/crx_file/crx3.proto (right): https://codereview.chromium.org/2888853003/diff/140001/components/crx_file/crx3.proto#newcode1 components/crx_file/crx3.proto:1: // Copyright (c) 2017 The Chromium Authors. All rights ...
3 years, 7 months ago (2017-05-23 20:32:41 UTC) #27
waffles
https://codereview.chromium.org/2888853003/diff/140001/components/crx_file/crx3.proto File components/crx_file/crx3.proto (right): https://codereview.chromium.org/2888853003/diff/140001/components/crx_file/crx3.proto#newcode1 components/crx_file/crx3.proto:1: // Copyright (c) 2017 The Chromium Authors. All rights ...
3 years, 7 months ago (2017-05-23 23:05:14 UTC) #29
Devlin
lgtm https://codereview.chromium.org/2888853003/diff/140001/components/crx_file/crx_verifier.cc File components/crx_file/crx_verifier.cc (right): https://codereview.chromium.org/2888853003/diff/140001/components/crx_file/crx_verifier.cc#newcode77 components/crx_file/crx_verifier.cc:77: uint8_t buffer[1 << 12] = {}; On 2017/05/23 ...
3 years, 7 months ago (2017-05-24 17:10:54 UTC) #33
waffles
https://codereview.chromium.org/2888853003/diff/140001/components/crx_file/crx_verifier.cc File components/crx_file/crx_verifier.cc (right): https://codereview.chromium.org/2888853003/diff/140001/components/crx_file/crx_verifier.cc#newcode108 components/crx_file/crx_verifier.cc:108: static_cast<int>(header_size)) On 2017/05/24 17:10:54, Devlin (catching up) wrote: > ...
3 years, 7 months ago (2017-05-24 17:53:09 UTC) #34
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/2888853003/180001
3 years, 7 months ago (2017-05-24 19:44:34 UTC) #41
commit-bot: I haz the power
3 years, 7 months ago (2017-05-24 19:50:21 UTC) #44
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/11f044437561f28e16d0a2549714...

Powered by Google App Engine
This is Rietveld 408576698