tixsys / esteid

Automatically exported from code.google.com/p/esteid
2 stars 0 forks source link

PIN1 is not recognized the first time #150

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install packages as described on http://code.google.com/p/esteid/wiki/Ubuntu
2. Use Omnikey CardMan 1021 (other readers seem to work fine) with Ubuntu 10.10
3. Connect reader and insert card
4. Start firefox
5. Go and try to log in somewhere

Now you enter correct PIN1 but the PIN1 textbox still pops up after inserting 
correct PIN1. This will continue about 10 times until You get a firefox error.

Now if you restart firefox, evertything starts to work.
This happens every time when you first time run firefox after plugging in the 
reader and card. The second time you start firefox, it always works.

This problem has not occured with other card readers.

Original issue reported on code.google.com by mart.s...@gmail.com on 11 Feb 2011 at 4:46

GoogleCodeExporter commented 9 years ago
EDIT: after entering the PIN1 for second time (not the 10th) I get this error 
in firefox (Veakood: ssl_error_handshake_failure_alert)

Original comment by mart.s...@gmail.com on 11 Feb 2011 at 4:50

GoogleCodeExporter commented 9 years ago
I started pcscd in debug mode and noticed that there are lot of errors like 
this:

00000866 winscard_msg_srv.c:317:SHMProcessEventsContext() command CONNECT 
received by client 8
00000032 winscard.c:303:SCardConnect() Attempting Connect to OmniKey CardMan 
1021 00 00 using protocol: 3
00000903 prothandler.c:128:PHSetProtocol() Attempting PTS to T=1
00000025 ifdhandler.c:581:IFDHSetProtocolParameters() protocol T=1, 
usb:076b/1021:libusb:004:009 (lun: 0)
00000019 ifdhandler.c:1660:extra_egt() Extra EGT patch applied
00010937 commands.c:1301:CCID_Receive Card absent or mute
00000028 openct/proto-t1.c:766:t1_negotiate_ifsd() fatal: transmit/receive 
failed
00000016 prothandler.c:144:PHSetProtocol() PTS failed (612), using T=0

Original comment by mart.s...@gmail.com on 11 Feb 2011 at 4:55

GoogleCodeExporter commented 9 years ago
This seems to be PCSCD version 1.5.5 problem
Upgrading to 1.6.6 fixed the issue.

Original comment by mart.s...@gmail.com on 14 Feb 2011 at 9:45