Skip to content
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

Closed
klondi opened this issue Dec 28, 2023 · 4 comments · Fixed by #324
Closed

(Linux): Install JSON files on the right place for Chrome (and add Chromium support) #308

klondi opened this issue Dec 28, 2023 · 4 comments · Fixed by #324

Comments

@klondi
Copy link
Contributor

klondi commented Dec 28, 2023

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/

@mrts
Copy link
Member

mrts commented Mar 1, 2024

Sorry for the delayed response! We will discuss this internally and get back to you.

@sergey-abc
Copy link

Spent lot of time trying to understand why web-eid is not executed from Chromium.
As a result I see the message that it's not possible to use outdated ID card software.
Thanks for solution @klondi !

@mrts
Copy link
Member

mrts commented Apr 12, 2024

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.

@mrts mrts linked a pull request Jul 15, 2024 that will close this issue
@mrts
Copy link
Member

mrts commented Jul 15, 2024

Thanks for your contribution! We intend to add Chromium support in the upcoming 2.6 release.

@mrts mrts closed this as completed in #324 Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants