Bug 23925

Summary: Belgian eid extension for Firefox in the beid-middleware rpm does not load
Product: Mageia Reporter: Herman Viaene <herman.viaene>
Component: RPM PackagesAssignee: AL13N <alien>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: alien, eatdirt, mageia, marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: beid-middleware, firefox CVE:
Status comment:

Description Herman Viaene 2018-11-29 15:55:19 CET
Description of problem:
The beid-middleware rpm carries amongst others the xpi file for this extension. After installing the rpm and starting Firefox, the extension is not there. Trying to load it from the file of the rpm is refused by Firefox (63.0.3) giving: the add-on cannot be installed since it seems to be damaged.

Version-Release number of selected component (if applicable):
Mageia 7 Beta 2

How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Sander Lepik 2018-11-29 19:49:29 CET
https://github.com/open-eid/chrome-token-signing/releases - latest release of chrome-token-signing should support Belgian eid too. Maybe You can give it a try? It's packaged in Cauldron.

CC: (none) => mageia

Comment 2 Herman Viaene 2018-11-30 16:57:24 CET
Installing the latest version of chrome-token-signing draws in the opensc package, and the eidenv command from there at least shows that the eid card can be read.
I will test on another machine if taking that opensc package in on its own gets me as far.
But there is still an issue with the extension in Firefox, investigating further. Or does this package only address the issue in the chrome browser?
Further testing to come.
Comment 3 Sander Lepik 2018-11-30 21:15:45 CET
It should also work with Firefox, but it might only work for PIN2.
Comment 4 Herman Viaene 2018-12-01 14:48:38 CET
Comparing with a working Mageia 6 installation shows that the specific Belgium pkcs#11 module is not loaded in Firefox. Loading the /usr/lib/libbeidpkcs11so.0 in the Firefox Security Devices preference, lets me connect with my eid card.
The /usr/lib/libbeidpkcs11so.0 is provided in the beid-middleware rpm, so why it is not picked up by Firefox????
Comment 5 Marja Van Waes 2018-12-02 15:39:50 CET
(In reply to Herman Viaene from comment #4)
> Comparing with a working Mageia 6 installation shows that the specific
> Belgium pkcs#11 module is not loaded in Firefox. Loading the
> /usr/lib/libbeidpkcs11so.0 in the Firefox Security Devices preference, lets
> me connect with my eid card.
> The /usr/lib/libbeidpkcs11so.0 is provided in the beid-middleware rpm, so
> why it is not picked up by Firefox????

CC'ing Maarten and Chris, because they're the only two packagers who live in Belgium that I can think of.

Assigning to all packagers collectively, because there is no registered maintainer for Firefox and Maarten, the beid-middleware maintainer, seems to have near to no time... I still hope you do have time to look into this issue, Maarten :-)

Assignee: bugsquad => pkg-bugs
Source RPM: (none) => beid-middleware, firefox
CC: (none) => alien, eatdirt, marja11

Comment 6 Herman Viaene 2018-12-02 15:49:11 CET
Tested on another laptop:
Installed beid-middleware and added the Belgium eid extension in firefox: no joy.
Checked the other issue from bug 23926: pcdcs.socket and pcscd have to be started manually. But still problem in Firefox.
Installed opensc rpm: this includes eidenv program, and this can read the eid card OK.
Addef manually the libbeidpkcs11.so.0 (provided by beid-middleware rpm) as security device in Firefox preferences. This makes eid now accessible in firefox.
Comment 7 Marja Van Waes 2018-12-03 13:36:05 CET
Al13n mailed me to say he intends to push updated beid-middleware to cauldron, so assigning to him.

Assignee: pkg-bugs => alien

Comment 8 Herman Viaene 2019-02-19 16:15:18 CET
Tested on M7beta2 i586, runs as a beauty if remembering you have to start pcscd manually.

Status: NEW => RESOLVED
Resolution: (none) => FIXED