-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Description
For some reason it doesn't work for me on Arch Linux.
In logs I see
2025-03-02T18:34:32.130Z INFO src/controller/controller.cpp:70:void Controller::run() - "web-eid" app "2.6.0+654" running in stdin/stdout mode
2025-03-02T18:34:32.262Z DEBUG src/controller/threads/controllerchildthread.hpp:106:void ControllerChildThread::beforeRun() - Starting "WaitForCardThread" 108230802248832 for command "INSERT_CARD"
2025-03-02T18:34:32.314Z INFO src/controller/threads/controllerchildthread.hpp:47:virtual void ControllerChildThread::run() - "WaitForCardThread" 108230802248832 for command "INSERT_CARD" completed successfully
2025-03-02T18:34:32.314Z INFO src/controller/controller.cpp:176:void Controller::onCardsAvailable(const std::vector<std::shared_ptr<electronic_id::CardInfo> >&) - Card "LatEID IDEMIA v2" in reader "Alcor Micro AU9540 00 00" using protocol T=1
2025-03-02T18:34:32.314Z DEBUG src/controller/controller.cpp:148:Controller::saveChildThreadPtrAndConnectFailureFinish(ControllerChildThread*)::<lambda()> - Thread 108230802248832 finished
2025-03-02T18:34:32.314Z DEBUG src/controller/threads/controllerchildthread.hpp:106:void ControllerChildThread::beforeRun() - Starting "CommandHandlerRunThread" 108230812064256 for command "AUTHENTICATE"
2025-03-02T18:34:32.315Z DEBUG src/controller/threads/controllerchildthread.hpp:97:virtual ControllerChildThread::~ControllerChildThread() - "WaitForCardThread" 108230802248832 destroyed
2025-03-02T18:34:32.551Z ERROR src/controller/threads/controllerchildthread.hpp:79:virtual void ControllerChildThread::run() - Command "AUTHENTICATE" fatal error: Error response: '6282', protocol 2 in src/SmartCard.cpp:245:toResponse
2025-03-02T18:34:32.551Z ERROR src/controller/controller.cpp:353:void Controller::onCriticalFailure(const QString&) - Exiting due to command "AUTHENTICATE" fatal error: "Error response: '6282', protocol 2 in src/SmartCard.cpp:245:toResponse"
2025-03-02T18:34:32.573Z DEBUG src/controller/controller.cpp:148:Controller::saveChildThreadPtrAndConnectFailureFinish(ControllerChildThread*)::<lambda()> - Thread 108230812064256 finished
2025-03-02T18:34:32.574Z DEBUG src/controller/threads/controllerchildthread.hpp:97:virtual ControllerChildThread::~ControllerChildThread() - "CommandHandlerRunThread" 108230812064256 destroyed
Note that this same card and reader works perfectly fine with latvia-eid-middleware and rest of Latvia's EID suite.
This is what pcsc_scan shows
Reader 0: Alcor Micro AU9540 00 00
Event number: 5
Card state: Card inserted,
ATR: 3B DB 96 00 80 B1 FE 45 1F 83 00 12 42 8F 53 65 49 44 0F 90 00 20
ATR: 3B DB 96 00 80 B1 FE 45 1F 83 00 12 42 8F 53 65 49 44 0F 90 00 20
+ TS = 3B --> Direct Convention
+ T0 = DB, Y(1): 1101, K: 11 (historical bytes)
TA(1) = 96 --> Fi=512, Di=32, 16 cycles/ETU
250000 bits/s at 4 MHz, fMax for Fi = 5 MHz => 312500 bits/s
TC(1) = 00 --> Extra guard time: 0
TD(1) = 80 --> Y(i+1) = 1000, Protocol T = 0
-----
TD(2) = B1 --> Y(i+1) = 1011, Protocol T = 1
-----
TA(3) = FE --> IFSC: 254
TB(3) = 45 --> Block Waiting Integer: 4 - Character Waiting Integer: 5
TD(3) = 1F --> Y(i+1) = 0001, Protocol T = 15 - Global interface bytes following
-----
TA(4) = 83 --> Clock stop: state H - Class accepted by the card: (3G) A 5V B 3V
+ Historical bytes: 00 12 42 8F 53 65 49 44 0F 90 00
Category indicator byte: 00 (compact TLV data object)
Tag: 1, len: 2 (country code, ISO 3166-1)
Country code: 42 8F
Tag: 5, len: 3 (card issuer's data)
Card issuer data: 65 49 44
Mandatory status indicator (3 last bytes)
LCS (life card cycle): 0F (unknown)
SW: 9000 (Normal processing.)
+ TCK = 20 (correct checksum)
Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B DB 96 00 80 B1 FE 45 1F 83 00 12 42 8F 53 65 49 44 0F 90 00 20
Latvia eID (eID)
https://www.eparaksts.lv/lv/
rhssk
Metadata
Metadata
Assignees
Labels
No labels