open-eid / chrome-token-signing

DEPRECATED Chrome and Firefox extension for signing with your eID on the web
https://github.com/open-eid/chrome-token-signing/wiki
GNU Lesser General Public License v2.1
206 stars 75 forks source link

Firefox 58 support seems broken in Linux #80

Closed hsanjuan closed 6 years ago

hsanjuan commented 6 years ago

I have successfully compiled and installed the extension and the chrome-token-signing tool in my system (OpenSUSE 42.3). The Token signing extension is listed in Firefox and the chrome-token-signing application can be executed in the command line and doesn't error (digicert application is also installed).

However, the hwcrypto.js still fails to make use of the installed extension (even though it sees it, I think check/test fails though).

In Google Chrome, though, things work well (after running ./esteid-update-nssdb from the installer at least) and I can sign documents online.

Is there anything I can do to have this working in Firefox too?

metsma commented 6 years ago

Can you enable logging and send logs

https://github.com/open-eid/chrome-token-signing/wiki/DeveloperTips#logging

hsanjuan commented 6 years ago

@metsma do you know if there is there a test site somewhere for signing stuff? digidoc.ee complains about Please enable browser plugin and refresh this page. even though the token signing plugin is listed in the Firefox addons.

hsanjuan commented 6 years ago

OK I found https://hwcrypto.github.io/demo/

It doesn't seem to detect the extension: Debug: hwcrypto.js 0.0.11 with failing backend Chrome native messaging extension

metsma commented 6 years ago

I use this https://hwcrypto.github.io/hwcrypto.js/sign.html

hsanjuan commented 6 years ago

I found the issue, the native messaging manifest ee.ria.esteid.json file is instaled in /usr/lib/mozilla/native-messaging-hosts and not in /usr/lib64/mozilla/native-messaging-hosts.

hsanjuan commented 6 years ago

Related PR #83

Germano0 commented 6 years ago

I found the issue, the native messaging manifest ee.ria.esteid.json file is instaled in /usr/lib/mozilla/native-messaging-hosts and not in /usr/lib64/mozilla/native-messaging-hosts.

@hsanjuan I was experiencing the same trouble https://github.com/open-eid/linux-installer/issues/13#issuecomment-371574600 and I solved with your instructions. Thank you very much, now I am able to fix the Fedora package!

metsma commented 6 years ago

Can you test #100 where you can customize path make LIBPATH=/usr/lib64

Germano0 commented 6 years ago

Can you test #100 where you can customize path make LIBPATH=/usr/lib64

Actually it does not work. But wait for my next feedback during next week. I want to better investigate if I made some mistakes in the spec file

build logs Fedora package tree

kkofler commented 6 years ago

See https://github.com/open-eid/chrome-token-signing/pull/100#issuecomment-373963428 for why it does not work.

Germano0 commented 6 years ago

See #100 (comment) for why it does not work.

Thank you @kkofler, I will wait for a new comment or patch from @metsma

metsma commented 6 years ago

Fixed by 5161fd400c424f09f30b70ba3125c26924848536