Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(466)

Issue 115682: Verify signed .crx extension installations (Closed)

Created:
11 years, 7 months ago by rafaelw
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : pre CR changes including tests #

Total comments: 77

Patch Set 3 : CR changes #

Patch Set 4 : enforce public_keys #

Patch Set 5 : remove CollapseWhitespaceASCII #

Total comments: 22

Patch Set 6 : pre create crx changes #

Patch Set 7 : CR changes #

Patch Set 8 : fix compile error #

Patch Set 9 : fixing unittests #

Patch Set 10 : finish fixing unit tests #

Patch Set 11 : removed unneeded test crxs #

Total comments: 4

Patch Set 12 : last nigts #

Patch Set 13 : new crx header #

Patch Set 14 : removing /MP #

Total comments: 7

Patch Set 15 : fixed unit tests & ui tests #

Patch Set 16 : last ui test #

Patch Set 17 : moved extensions consts back to extensions_service (was causing compile errors on mac & linux) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+464 lines, -294 lines) Patch
M chrome/browser/extensions/extension_creator.h View 13 14 15 16 1 chunk +0 lines, -22 lines 0 comments Download
M chrome/browser/extensions/extension_creator.cc View 3 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_shelf_model_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_uitest.cc View 15 16 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extensions_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 6 chunks +58 lines, -10 lines 0 comments Download
M chrome/browser/extensions/extensions_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 18 chunks +203 lines, -49 lines 0 comments Download
M chrome/browser/extensions/extensions_service_unittest.cc View 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +67 lines, -21 lines 0 comments Download
M chrome/common/extensions/extension.h View 2 3 4 5 6 7 8 9 10 11 12 13 14 9 chunks +33 lines, -6 lines 0 comments Download
M chrome/common/extensions/extension.cc View 2 3 4 5 6 7 8 9 10 11 12 13 14 12 chunks +48 lines, -30 lines 0 comments Download
M chrome/common/extensions/extension_unittest.cc View 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +6 lines, -19 lines 0 comments Download
M chrome/common/extensions/extension_unpacker.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/common/extensions/extension_unpacker.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 7 chunks +18 lines, -118 lines 0 comments Download
M chrome/test/data/extensions/bad/missing_content_script/1/manifest.json View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/data/extensions/bad_hash.crx View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/test/data/extensions/bad_json.crx View 10 11 12 13 14 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/test/data/extensions/bad_magic.crx View 10 11 12 13 14 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/test/data/extensions/content_script_inject/manifest.json View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/data/extensions/good.crx View 9 10 11 12 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/extensions/good.pem View 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/good/extension1/1/manifest.json View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/data/extensions/good/extension2/2/manifest.json View 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/data/extensions/good/extension3/1.0/manifest.json View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/data/extensions/good2.crx View 9 10 11 12 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/test/data/extensions/page_action.crx View 9 10 11 12 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/test/data/extensions/samples/buildbot/manifest.json View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/data/extensions/samples/subscribe/manifest.json View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/data/extensions/theme.crx View 9 10 11 12 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/test/data/extensions/theme2.crx View 9 10 11 12 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/test/data/extensions/theme_with_extension.crx View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/test/data/extensions/ui/create_extension_detail_value_expected_output/good-extension1.json View 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/ui/create_extension_detail_value_expected_output/good-extension2.json View 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/ui/create_extension_detail_value_expected_output/good-extension3.json View 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/uitest/roundtrip_api_call/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/uitest/simple_api_call/manifest.json View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
rafaelw
Erik, please review all of the changes here except the usage of wtc's verification code. ...
11 years, 7 months ago (2009-05-26 21:34:47 UTC) #1
Erik does not do reviews
http://codereview.chromium.org/115682/diff/2001/3001 File chrome/browser/extensions/extensions_service.cc (right): http://codereview.chromium.org/115682/diff/2001/3001#newcode581 Line 581: Extension *extension, std::string current_version, bool from_external) { string ...
11 years, 7 months ago (2009-05-26 23:23:29 UTC) #2
wtc
Your code in extension_unpacker.cc looks good to me. I only have some nits below. http://codereview.chromium.org/115682/diff/2001/3006 ...
11 years, 7 months ago (2009-05-28 00:29:28 UTC) #3
rafaelw
Hey guys, I'm still waiting on aa's commit for generating signed extensions from chrome.exe, so ...
11 years, 6 months ago (2009-06-04 19:00:08 UTC) #4
rafaelw
Per Erik's request, I have split out the string_util CollapseWhitespaceASCII into http://codereview.chromium.org/119199
11 years, 6 months ago (2009-06-04 22:03:08 UTC) #5
Erik does not do reviews
http://codereview.chromium.org/115682/diff/70/71 File chrome/browser/extensions/extension_view_unittest.cc (right): http://codereview.chromium.org/115682/diff/70/71#newcode28 Line 28: const char* kExtensionId = "pmgpglkggjdpkpgh"; awesome. I love ...
11 years, 6 months ago (2009-06-04 23:11:53 UTC) #6
rafaelw
http://codereview.chromium.org/115682/diff/70/72 File chrome/browser/extensions/extensions_service.cc (right): http://codereview.chromium.org/115682/diff/70/72#newcode841 Line 841: ReportExtensionInstallError(extension_path, On 2009/06/04 23:11:53, Erik Kay wrote: > ...
11 years, 6 months ago (2009-06-09 03:07:08 UTC) #7
Erik does not do reviews
LGTM http://codereview.chromium.org/115682/diff/175/183 File chrome/common/extensions/extension_unpacker.cc (right): http://codereview.chromium.org/115682/diff/175/183#newcode295 Line 295: // The public key ('key' in the ...
11 years, 6 months ago (2009-06-09 16:37:06 UTC) #8
rafaelw
Ok. This is done, but still has the issue with the Crypt API calls failing ...
11 years, 6 months ago (2009-06-09 22:40:14 UTC) #9
rafaelw
Ok, new crx header parsing code included. Unittests not yet fixed up.
11 years, 6 months ago (2009-06-11 00:20:51 UTC) #10
Aaron Boodman
Looks pretty good to me. One major thing is that there's a good chunk of ...
11 years, 6 months ago (2009-06-11 01:02:04 UTC) #11
rafaelw
http://codereview.chromium.org/115682/diff/4030/5030 File chrome/browser/extensions/extensions_service.cc (right): http://codereview.chromium.org/115682/diff/4030/5030#newcode1120 Line 1120: if (install_type == Extension::UPGRADE && On 2009/06/11 01:02:05, ...
11 years, 6 months ago (2009-06-11 03:53:09 UTC) #12
Aaron Boodman
11 years, 6 months ago (2009-06-11 04:02:17 UTC) #13
LGTM!

Powered by Google App Engine
This is Rietveld 408576698