I'd like to load extensions with their own IDs to preserve
chrome-extension:// urls. This is going to be used in fuzzing.
As I understand it's not possible to load an extension with
--load-extension flag and assign a specific ID to it.
It looks like I need to modify the registry to do this.
Is there a way to load an extension with a specific ID,
without modifying any permanent settings? Does it make sense
to add such a command line option for testing?
I was thinking of something like --load-extension=<path>::<extension_id>
Thanks,
Mustafa
I meant the CRX . I'd load the CRX itself,
then get the key, and then copy the key to the unpacked extension.
I can automate the preprocessing of the CRX so that I extract the keys
from the CRX, but that'll require being able to load CRX directly,
which is where the --load-packed-extension flag helps.
So the question is how to extract the public key from the CRX, right?
I'll probably write a script to do this, by following the code in https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/extensions/sandboxed_unpacker.cc&sq=package:chromium&type=cs&rcl=1371555358