-
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
web-eid-app
for NixOS: pin1 works, pin2 don't
#317
Comments
Is this related to #309 ? |
What error do you see? |
When I press [Authenticate] on https://web-eid.eu/ I get (in pink color):
Strangely I can authenticate with https://lhv.ee. In When I start the binary from the console, I get:
Now the log file is created with the contents:
Is |
It looks like the extension is not installed in Firefox. Here's how it should look: You can add the extension manually from here: |
It seem it is a NixOS firefox package related problem. I do not manage enable the extension. It does not even show in the browser tab (cf. your screenshot) above. If I get it work, I leave a note here. Thank you so far. |
@getreu just in case check "Security Devices" section of Firefox settings. |
@sergey-abc I have this: |
Summary of my efforts. Please correct where I am wrong. Installation
ResultUnfortunately, I get the following error page in the browser:
Furthermore, no log message in |
I also filed an issue here: NixOS/nixpkgs#300435 |
Thanks for your thorough investigation! The Please check that the native messaging manifest file has the following content:
Verify the value of If the content is correct, linking the file to Hope this helps! |
@mrts In the manual above, I replaced the line: ln -s "$(dirname $(dirname $(realpath $(which web-eid))))/share/web-eid/eu.webeid.json" . with ls -s "$(dirname $(dirname $(realpath $(which web-eid))))/lib/mozilla/native-messaging-hosts/eu.webeid.json" . Below you find the tested working procedure. And authentification and signing works. Thank you a lot! |
Edit: modified according to NixOS/nixpkgs#281710 (comment) Tested working procedure:Installation
|
Edit: this workaround is not necessary any more according to NixOS/nixpkgs#281710 (comment) AddendumThe lines mkdir -p ~/.mozilla/native-messaging-hosts/
cd ~/.mozilla/native-messaging-hosts/
ls -s "$(dirname $(dirname $(realpath $(which web-eid))))/lib/mozilla/native-messaging-hosts/eu.webeid.json" . are a workaround until #281710 is fixed. |
NixOS comes with the package web-eid-app and instructions for Estonians .
With Firefox and the above config for NixOS 23.11, I can authenticate with e.g. https://lhv.ee but I can not sign. Any ideas?
I know, you do not officially support NixOS, but maybe some of you uses it and can help. Here my config:
The text was updated successfully, but these errors were encountered: