Closed nitinsurana closed 8 years ago
Which document says that privateKey is optional? As far as I know it is mandatory on purpose, because you don't want to generate new key pair on every build.
Pack extension
in chrome://extensions
allows to pack without key. There it says optional
. I used that to create the key and then used it in the extension :)
This package is independent on Chrome and the intent is to automate the process so you do not have to click around in GUI every time you want to deploy. It also works on systems where Chrome is not installed at all.
The key can be generated by one-time Chrome packaging like you did, or ssh-keygen
, or other means, and I think it can stay that way.
Commenting the privateKey line and running the task gives the following error :
According to the docs, privateKey is optional.