| Issue 20669: | Implement extension packing on linux | |
| 12 people starred this issue and may be notified of changes. | Back to list |
Sign in to add a comment
|
See the --pack-extension flag of chrome.exe on Windows. The main work here is implementing base/crypto/signature_creator.* on linux. |
||||||||||||||||||||||||||
,
Aug 30, 2009
Note: I went back and looked at the windows implementation. Actually the majority of the work is implementing rsa_private_key_nss.cc. NSS could probably be used directly instead of all the low-level leg work that is happening in the windows port. See signature_verifier_nss.cc for something close that uses platform APIs. |
|||||||||||||||||||||||||||
,
Sep 09, 2009
(No comment was entered for this change.)
Status: Available
Labels: Mstone-4 Channel-Beta |
|||||||||||||||||||||||||||
,
Sep 09, 2009
Issue 21239 has been merged into this issue. |
|||||||||||||||||||||||||||
,
Sep 09, 2009
(No comment was entered for this change.)
Labels: Size-Medium
|
|||||||||||||||||||||||||||
,
Sep 10, 2009
(No comment was entered for this change.)
Owner: rafa...@chromium.org
|
|||||||||||||||||||||||||||
,
Sep 23, 2009
The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=26950
------------------------------------------------------------------------
r26950 | rafaelw@chromium.org | 2009-09-23 11:17:49 -0700 (Wed, 23 Sep 2009) | 5 lines
Changed paths:
M http://src.chromium.org/viewvc/chrome/trunk/src/base/base.gyp?r1=26950&r2=26949
M http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/rsa_private_key.h?r1=26950&r2=26949
A http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/rsa_private_key_nss.cc
M http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/signature_creator.h?r1=26950&r2=26949
A http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/signature_creator_nss.cc
M http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/signature_creator_win.cc?r1=26950&r2=26949
Linux (nss) implementations of RSAPrivateKey and SignatureCreator
BUG=20669
Review URL: http://codereview.chromium.org/208032
------------------------------------------------------------------------
|
|||||||||||||||||||||||||||
,
Sep 23, 2009
The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=27033
------------------------------------------------------------------------
r27033 | rafaelw@chromium.org | 2009-09-23 18:21:12 -0700 (Wed, 23 Sep 2009) | 9 lines
Changed paths:
M http://src.chromium.org/viewvc/chrome/trunk/src/base/base.gyp?r1=27033&r2=27032
M http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/rsa_private_key.h?r1=27033&r2=27032
A http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/rsa_private_key_nss.cc
M http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/signature_creator.h?r1=27033&r2=27032
A http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/signature_creator_nss.cc
M http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/signature_creator_win.cc?r1=27033&r2=27032
M http://src.chromium.org/viewvc/chrome/trunk/src/tools/valgrind/memcheck/suppressions.txt?r1=27033&r2=27032
Reland: Linux (nss) implementations of RSAPrivateKey and SignatureCreator.
This relands: http://codereview.chromium.org/208032.
Additionally, it fixes a memleak unconvered by valgrind, and adds a valgrind supression for a memleak discovered in the nss library. https://bugzilla.mozilla.org/show_bug.cgi?id=518443
BUG=20669
Review URL: http://codereview.chromium.org/218010
------------------------------------------------------------------------
|
|||||||||||||||||||||||||||
,
Sep 24, 2009
The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=27163
------------------------------------------------------------------------
r27163 | wtc@chromium.org | 2009-09-24 18:30:39 -0700 (Thu, 24 Sep 2009) | 7 lines
Changed paths:
M http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/signature_creator_nss.cc?r1=27163&r2=27162
Add a TODO comment to describe when we can remove the const_cast for
the NSS function SGN_Update.
R=rafaelw
BUG=20669
TEST=none
Review URL: http://codereview.chromium.org/218035
------------------------------------------------------------------------
|
|||||||||||||||||||||||||||
,
Oct 03, 2009
this is fixed now, right? |
|||||||||||||||||||||||||||
,
Oct 05, 2009
Re comment #9, it's not quite done yet. It needs something approximately like http://codereview.chromium.org/246085 to respond to the command-line flag. Also windows seems to have a dialog hooked into chrome://extensions for packing but maybe that's not part of this bug. When I apply the above patch and pack the hello world extension, the resulting crx seems to be broken: (note the missing first character in the filenames) [craig@csinspiron src(packext)]$ unzip -t ./myext.crx Archive: ./myext.crx warning [./myext.crx]: 306 extra bytes at beginning or within zipfile (attempting to process anyway) testing: anifest.json OK testing: y_toolstrip.html OK No errors detected in compressed data of ./myext.crx. For comparison, here is something that is "good". [craig@csinspiron src(packext)]$ unzip -t ./chrome/test/data/extensions/good.crx Archive: ./chrome/test/data/extensions/good.crx warning [./chrome/test/data/extensions/good.crx]: 306 extra bytes at beginning or within zipfile (attempting to process anyway) testing: manifest.json OK testing: script1.js OK testing: script2.js OK No errors detected in compressed data of ./chrome/test/data/extensions/good.crx. Please note that I know absolutely nothing about extensions so consider the source of this information when reviewing the above :) |
|||||||||||||||||||||||||||
,
Oct 05, 2009
@10, I think your broken crx file is running into bug 19103. |
|||||||||||||||||||||||||||
,
Oct 05, 2009
mpcomplete: Thanks! ... it is much happier without the trailing slash when trying to do the packing. |
|||||||||||||||||||||||||||
,
Oct 05, 2009
(No comment was entered for this change.)
Labels: ReleaseBlock-Beta
|
|||||||||||||||||||||||||||
,
Oct 05, 2009
(No comment was entered for this change.)
Labels: Pri-1
|
|||||||||||||||||||||||||||
,
Oct 05, 2009
(No comment was entered for this change.)
Status: Started
|
|||||||||||||||||||||||||||
,
Oct 06, 2009
The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=28135
------------------------------------------------------------------------
r28135 | rafaelw@chromium.org | 2009-10-06 11:55:35 -0700 (Tue, 06 Oct 2009) | 5 lines
Changed paths:
M http://src.chromium.org/viewvc/chrome/trunk/src/base/base.gyp?r1=28135&r2=28134
M http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/cssm_init.cc?r1=28135&r2=28134
M http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/cssm_init.h?r1=28135&r2=28134
M http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/rsa_private_key_mac.cc?r1=28135&r2=28134
M http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/signature_creator.h?r1=28135&r2=28134
A http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/signature_creator_mac.cc
M http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/signature_verifier_mac.cc?r1=28135&r2=28134
Implement signature_creator_mac. Also moved CSSM memory functions to a common shared location.
BUG=20669
Review URL: http://codereview.chromium.org/259026
------------------------------------------------------------------------
|
|||||||||||||||||||||||||||
,
Oct 07, 2009
(No comment was entered for this change.)
Status: Fixed
|
|||||||||||||||||||||||||||
,
Oct 07, 2009
The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=28325
------------------------------------------------------------------------
r28325 | rafaelw@chromium.org | 2009-10-07 15:26:07 -0700 (Wed, 07 Oct 2009) | 11 lines
Changed paths:
M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browser_init.cc?r1=28325&r2=28324
M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/extensions_service_unittest.cc?r1=28325&r2=28324
M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/pack_extension_job.h?r1=28325&r2=28324
M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/net/chrome_url_request_context.cc?r1=28325&r2=28324
M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/chrome.gyp?r1=28325&r2=28324
Reland: HTML Pack Extension Dialog / Linux & Mac Packaging Support. Part 1.
original issue: http://codereview.chromium.org/207062
Attempting to land this patch earlier resulted in compile failures on linux valgrind and linux perf that I was unable to reproduce.
I am splitting this into two pieces. This piece adds extension packing support via --pack-extension for mac & linux.
BUG=20668,20669
Review URL: http://codereview.chromium.org/266007
------------------------------------------------------------------------
|
|||||||||||||||||||||||||||
,
Oct 07, 2009
The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=28365
------------------------------------------------------------------------
r28365 | rafaelw@chromium.org | 2009-10-07 18:18:02 -0700 (Wed, 07 Oct 2009) | 15 lines
Changed paths:
M http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/rsa_private_key.h?r1=28365&r2=28364
M http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/rsa_private_key_nss.cc?r1=28365&r2=28364
M http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/signature_creator.h?r1=28365&r2=28364
M http://src.chromium.org/viewvc/chrome/trunk/src/base/crypto/signature_creator_nss.cc?r1=28365&r2=28364
M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browser_init.cc?r1=28365&r2=28364
M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/extensions_service_unittest.cc?r1=28365&r2=28364
M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/extensions_ui.cc?r1=28365&r2=28364
M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/extensions_ui.h?r1=28365&r2=28364
M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/pack_extension_job.h?r1=28365&r2=28364
M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/net/chrome_url_request_context.cc?r1=28365&r2=28364
M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/resources/extensions_ui.html?r1=28365&r2=28364
D /trunk/src/chrome/browser/views/extensions/extension_pack_dialog.cc
M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/chrome.gyp?r1=28365&r2=28364
Reland: HTML Pack Extension Dialog / Linux & Mac Packaging Support.
original issue: http://codereview.chromium.org/207062
The issue had to do with a symbol collison with the nss libraries (which are currently out-of-date) on the build bots.
HTML Pack Extension Dialog. This removes the views implementation of the ExtensionPackDialog, and implements the dialog in html in the extensions_ui DOMUI.
Additionally, support is added for packaging extensions via ---pack-extension on linux and mac
BUG=20668, 20669
TBR=aa,wtc
Review URL: http://codereview.chromium.org/265032
------------------------------------------------------------------------
|
|||||||||||||||||||||||||||
,
Mar 03, 2010
(No comment was entered for this change.)
Labels: Feature-Extensions
|
|||||||||||||||||||||||||||
| ► Sign in to add a comment | |||||||||||||||||||||||||||