[Desktop] Unable to install self-signed or third-party CRX extensions
See original GitHub issueI have sufficiently checked the issues tracker and checked the Reddit group regarding my issue.
Description
It is impossible to install third-party CRX files. Installing self-signed CRX files is vital for testing while creating extensions. When trying to adding a .crx
file after enabling Developer Mode, Brave tells the user it is not listed on the “Brave Web Store” (which I assume is the Chrome Web Store). A lot of extensions cannot be listed on the Chrome Web Store (i.e. doesn’t meet TOS), and Developers who are testing extensions cannot develop on Brave.
Steps to Reproduce
- Enable Developer mode by visiting
brave://extensions
. - Download a third-party self-signed .crx file, and drag and drop to
brave://extensions
. - Confirm that you would like to add the extension, and grant it any permissions necessary.
Actual result:
Expected result:
The extension should be allowed to enable, even if it isn’t on the Chrome Web Store.
Reproduces how often:
Easily repeatable.
Brave version (brave://version info)
Brave | 0.57.18 Chromium: 71.0.3578.80 (Official Build) (64-bit) |
---|---|
Revision | 2ac50e7249fbd55e6f517a28131605c9fb9fe897-refs/branch-heads/3578@{#860} |
OS | Mac OS X |
Reproducible on current release:
- Yes, reproduced on Release version and Beta versions.
Website problems only:
- Does the issue resolve itself when disabling Brave Shields? n/a
- Is the issue reproducible on the latest version of Chrome? no
Additional Information
Extension being tested: https://github.com/rushilsrivastava/OpenNews/releases
Issue Analytics
- State:
- Created 5 years ago
- Reactions:26
- Comments:46 (13 by maintainers)
Top Results From Across the Web
30085 - Can't install .crx extensions - chromium - Monorail
Issue 30085 : Can't install . crx extensions. This issue has been migrated to Launch, see link in final comment below. URLs (if...
Read more >Force Install Non-Chrome Web Store from CRX file in domain
I have a Windows 7 Citrix virtual desktop pool in an Active Directory domain where I'm attempting to deploy a Chrome extension for...
Read more >.crx file install in chrome - Stack Overflow
Go to Settings -> Tools -> Extensions. Enable developer mode. Click "Load unpacked extention" Browse to the unpacked folder and install your extention....
Read more >Does Brave have an extension whitelist feature?
I have my extension, it's basically some CSS tweaks of websites I use ... Issue: Unable to install self-signed or third-party CRX extensions....
Read more >Google Chrome extension troubleshooting
Unable to view Google Chrome extension in offline mode · Drag the file ChromeExtension.crx to the Google Chrome extension tab. This file is ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bsclifton Are you sure that Brave is not disabling this on purpose? If I am right with my assumption that the command line switch
--extensions-install-verification=enforce
disables all extensions from sources other than the Chrome Web Store, then this is one of the settings you explicitly enable in one of your patches:Other Chromium-based browsers like Chromium (from the Debian repository), Vivaldi and Kiwi Browser don’t disable sideloaded extensions and I have only ever experienced this issue with Brave. The default startup parameter list of Vivaldi is quite a bit shorter than the one Brave uses and the
extensions-install-verification
switch is not part of Vivaldi’s parameter list:--new-window --flag-switches-begin --flag-switches-end --origin-trial-disabled-features=SecurePaymentConfirmation --save-page-as-mhtml
EDIT: The
extensions-install-verification
parameter apparently got added in Brave 0.68. So I decided to test Brave 0.67.125 against Brave 0.68.131 (both were stable releases) and I can now confirm that extension sideloading broke with Brave 0.68 when this commit got merged into the stable branch.I was looking for a way to make a self-signed crx extension work in Brave. It looks like @aetonsi is right. I am able to get my extension working with GPO white-listing.
I’m posting this here in case others are trying to run a custom 3rd party .crx extension that’s not from the chrome webstore and getting the above error when sideloading. You need to add the following registry key(datatype are all
SZ
string type):Setup I tested this on, Win7 64-bit with Brave 1.3.113 Chromium: 80.0.3987.87 32-bit. This is actually Brave-portable.