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

Can't properly detect card in reader #583

Closed
vkukk opened this issue Oct 13, 2019 · 5 comments
Closed

Can't properly detect card in reader #583

vkukk opened this issue Oct 13, 2019 · 5 comments

Comments

@vkukk
Copy link

vkukk commented Oct 13, 2019

DigiDoc4 client displays "No card in card reader; check if ID-card is inserted correctly"
Card is in reader and DigiDoc4 actually gets proper personal ID from it (i've anonymized it to 1111111111 in diagnostic info).

Locale: English / en_GB.UTF-8

Application version: 4.2.2.0 (64 bit)
OS: "Fedora release 30 (Thirty)"
CPU: AMD Ryzen 7 2700 Eight-Core Processor
Kernel: Linux 5.2.18-200.fc30.x86_64 #1 SMP Tue Oct 1 13:14:07 UTC 2019 x86_64

Libraries:
qdigidoc (4.2.2)
firefox-pkcs11-loader (3.13.3)
openssl (1.1.1d)
pcsc-lite (1.8.25)
opensc (0.19.0)
QT (5.12.5)

Arguments: qdigidoc4
Library paths: /usr/lib64/qt5/plugins;/usr/bin
URLs:
CONFIG_URL: https://id.eesti.ee/config.json
TSL_URL: https://ec.europa.eu/tools/lotl/eu-lotl.xml
SIVA_URL: https://siva.eesti.ee/V2/validate

TSL signing certs:
EC_CNECT
EC_DIGIT
Patrick Kremer (Signature)
BURGOS PALOMAR, OSCAR (FIRMA)
Constantin-Adrian Croitoru
Jean-Marc Verbergt (Signature)
Maarten Joris Ottoy
Michael Theodoor de Boer

Central Configuration:
DATE: 20190919150015Z
SERIAL: 96
URL: https://id.eesti.ee/config.json
VER: 1

Smart Card service status: Running
Smart Card readers:
Generic Smart Card Reader Interface [Smart Card Reader Interface] (20070818000000000) 00 00 max APDU size 65536
Reader state: PRESENT, INUSE
ATR cold - 3BDB960080B1FE451F830012233F536549440F9000F1
ATR warm - 3BDB960080B1FE451F830012233F536549440F9000F1
AID34: 6a82 (Not found)
AID35: 6a82 (Not found)
UPDATER_AID: 6a82 (Not found)
AID_IDEMIA: 9000 (OK)
ID - 11111111111


Browsers:
firefox (69.0.1)

USB info:
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 2516:0047 Cooler Master Co., Ltd. MasterKeys Pro L
Bus 003 Device 002: ID 0b05:185b ASUSTek Computer, Inc. Evolve
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0bda:0181 Realtek Semiconductor Corp. USB2.0-CRW
Bus 001 Device 005: ID 0bda:0165 Realtek Semiconductor Corp. Smart Card Reader Interface
Bus 001 Device 003: ID 8087:0025 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Related software versions:

Installing:
 open-eid                            noarch          17.12-5.fc30            fedora           6.8 k
Installing dependencies:
 firefox-pkcs11-loader               x86_64          3.13.3-1.fc30           updates           33 k
 libdigidocpp                        x86_64          3.14.0-3.fc30           updates          1.0 M
 qdigidoc                            x86_64          4.2.2-4.fc30            updates          2.1 M
 webextension-token-signing          x86_64          1.0.9-1.fc30            updates          128 k
 xalan-c                             x86_64          1.11.0-15.fc30          fedora           971 k
 xml-security-c                      x86_64          2.0.2-2.fc30            fedora           297 k
@vkukk
Copy link
Author

vkukk commented Oct 13, 2019

Card is issued 2019.03, so it's IDEMIA card.

@Counter178
Copy link
Contributor

DigiDoc4 client is support for Ubuntu OS. Unfortunately Fedora isn't supported.
https://installer.id.ee/?lang=eng&os=linux

@vkukk
Copy link
Author

vkukk commented Oct 13, 2019

@Counter178 It's not relevant, don't push corporate/consumer support bs attitude into open source projects. I don't see any reason why this open source project could not support Fedora or some other distro and open-eid is in official Fedora repositories.

@vkukk
Copy link
Author

vkukk commented Oct 13, 2019

My untested speculation is that OpenSC/OpenSC#1635 changes are not included in Fedora 30 OpenSC package that is based on OpenSC 0.19

# rpm -qa|grep opensc
opensc-0.19.0-6.fc30.x86_64

Fedora, even for 31 is still using 0.19.0 https://koji.fedoraproject.org/koji/packageinfo?packageID=2698
I guess, I have to make my own rpm out of https://github.com/OpenSC/OpenSC/releases/tag/0.20.0-rc1

@vkukk
Copy link
Author

vkukk commented Oct 13, 2019

Indeed, opensc 0.20.0-rc2 helped. I created copr repo for that https://copr.fedorainfracloud.org/coprs/vkukk/opensc/
Tested only with Fedora 30, signed successfully with DigiDoc4.
Only strange thing is that with Firefox, PIN2 for login is asked too. But this is another issue.

@vkukk vkukk closed this as completed Oct 13, 2019
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

No branches or pull requests

2 participants