FS#75530 - [eid-mw] Login with eID fails if gtk2 is not installed
Attached to Project:
Community Packages
Opened by Wim Herremans (herremaw) - Saturday, 06 August 2022, 17:53 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:04 GMT
Opened by Wim Herremans (herremaw) - Saturday, 06 August 2022, 17:53 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:04 GMT
|
Details
Description:
I have been using 'eid-mw' successfully for a long time on my Arch system. A few days ago I installed a new Arch system. I could not login with my eID on the new Arch system, but at the same time, I still could login successfully on my old Arch system. I compared the software versions of 'eid-mw' and 'firefox' on both systems. They were identical. I vaguely remembered that 'eid-mw' uses the package 'pinentry'. Looking at that, I saw that it has 'gtk2' as an optional dependency. I also saw that gtk2 was installed on my old Arch system but not on my new one. Installing 'gtk2' on my new Arch system made 'eid-mw' function normally again. Curiously enough 'pinentry' also has the optional dependencies 'qt5-base' and 'gcr', both of which were installed on my new Arch system. Apparently 'qt5-base' and 'gcr' are not sufficient for 'eid-mw' to function normally. The solution to the problem could be to add 'gtk2' as a dependency for 'eid-mw', but since 'gtk2' is no longer maintained, that might be a problem. Additional info: * package version(s): 5.1.4-1 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: CASE A: gtk2 is not installed and firefox is started from desktop menu 1. Start firefox from desktop menu and surf to https://eid.belgium.be/ 2. Click on "Log in with CSAM" in the section "Test login" and follow the instructions. 3. Normally, the user should be asked to enter the PIN, but the website refuses the login with the error message SEC_ERROR_PKCS11_GENERAL_ERROR CASE B: gtk2 is not installed and firefox is started from a terminal 1. Open a terminal and type "firefox" 2. Surf to https://eid.belgium.be/ 3. Click on "Log in with CSAM" in the section "Test login" and follow the instructions. 4. The user is asked from the terminal to enter the PIN with the message "pinentry:pinentry-curses: no LC_CTYPE known - assuming UTF-8" and "The application [/usr/lib/firefox/firefox] requests your eID Basic PIN code" 5. Enter the PIN via the terminal. 6. Login succeeds CASE C: gtk2 is installed 1. Start firefox from desktop menu and surf to https://eid.belgium.be/ 2. Click on "Log in with CSAM" in the section "Test login" and follow the instructions. 3. A small window pops up in which the user can enter the PIN 4. Login succeeds |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:04 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/eid-mw/issues/1
Saturday, 25 November 2023, 20:04 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/eid-mw/issues/1
Comment by
Jerome Leclanche (Adys) - Saturday,
03 September 2022, 02:25 GMT
Not sure what's going on here. According to this issue:
https://github.com/Fedict/eid-mw/issues/170
- gtk is no longer supposed to be used...