-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Linux): Install JSON files on the right place for Chrome (and add Chromium support) #308
Comments
Sorry for the delayed response! We will discuss this internally and get back to you. |
Spent lot of time trying to understand why web-eid is not executed from Chromium. |
We discussed this with the project leads. We are basically interested in adding Chromium support, but it is not a priority currently. We'll get back to it as other priorities allow later. |
Thanks for your contribution! We intend to add Chromium support in the upcoming 2.6 release. |
Currently, the native-messaging json file for chrome is installed on /usr/share/web-eid as a result after installing the extension it will not work as it cannot run.
Instead as stated on https://developer.chrome.com/docs/extensions/develop/concepts/native-messaging the JSON file should be installed on /etc/opt/chrome/native-messaging-hosts
With this adding Chromium support is fairly easy too. According to https://developer.chrome.com/docs/extensions/how-to/distribute/install-extensions ncibgoaomkmdpilpocfeponihegamlic.json should be installed on /usr/share/chromium/extensions/ and to allow native messaging https://developer.chrome.com/docs/extensions/develop/concepts/native-messaging requires installing eu.webeid.json into /etc/chromium/native-messaging-hosts/
In summary to address these issues:
Install eu.webeid.json into both /etc/opt/chrome/native-messaging-hosts and /etc/chromium/native-messaging-hosts/
Install ncibgoaomkmdpilpocfeponihegamlic.json also into /usr/share/chromium/extensions/
The text was updated successfully, but these errors were encountered: