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

"Card is not inserted correctly" on Linux #507

Closed
LunaSquee opened this issue Jul 11, 2019 · 3 comments
Closed

"Card is not inserted correctly" on Linux #507

LunaSquee opened this issue Jul 11, 2019 · 3 comments

Comments

@LunaSquee
Copy link

LunaSquee commented Jul 11, 2019

Inserting a new ID card (freshly acquired today), the DigiDoc4 client reports that the card is not inserted correctly, even though it clearly is. Older ID card worked fine.

Diagnostics (with card inserted): https://termbin.lunasqu.ee/hupy

Worthy of note is the fact that the card is detected in the stdout of the program:

qdigidoc4.QSmartCard: Polling
qdigidoc4.QSmartCard: Poll ""
qdigidoc4.QSmartCard: Connecting to reader "Generic Smart Card Reader Interface [Smart Card Reader Interface] (20070818000000000) 00 00"
qdigidoc4.MainWindow: noReader_NoCard_Loading_Event 0
qdigidoc4.QSmartCard: Card id: "AB0<redacted>"

Built the application from source just now.

@LunaSquee
Copy link
Author

LunaSquee commented Jul 11, 2019

The new ID card doesn't seem to work in the older DigiDoc3 either, at least on Linux, as I tested on my Arch Linux and my other Linux Mint computer. I also tested on a Windows machine just to prove that the chip is not the issue, and it worked fine there.

@LunaSquee
Copy link
Author

Here is the output of pcsc_scan if it would be of any use: https://termbin.lunasqu.ee/2l57

@LunaSquee
Copy link
Author

LunaSquee commented Jul 12, 2019

Solved the issue by installing awp Idemia drivers.

Turns out the package I needed was opensc all along, but the version Arch Linux has in their repositories does not contain the pull request that adds the drivers.

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

1 participant