OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [Muscle] OpenSC problem with PCSC-Lite

From: Geoffrey Elgey (gelgeyvintela.com)
Date: Sat Apr 09 2005 - 18:15:05 CDT


G'day,

Ludovic Rousseau wrote:
>>Can anyone provide guidance on what I'm doing wrong in OpenSC? Should I
>>be modifying my pcsc-lite installation, or modifying my OpenSC
>>configuration?
>
>
> Test with pcsc_scan from [1].

I managed to get opensc-tool to list my readers (I had to blow away
previous installs and do another install), but out of interest, here's
the output from pcsc_scan:

$ ./pcsc_scan
PC/SC device scanner
V 1.4.0 (c) 2001-2004, Ludovic Rousseau <ludovic.rousseaufree.fr>
PC/SC lite version: 1.2.9-beta7
Scanning present readers
0: GemPC Twin 00 00
1: SCR 331 01 00

Sun Apr 10 09:01:51 2005
  Reader 0 (GemPC Twin 00 00)
         Card state: Card inserted,
         ATR: 3B 6A 00 00 80 65 A2 01 01 01 3D 72 D6 43

sh: line 1: ATR_analysis: command not found
ATR_analysis '3B 6A 00 00 80 65 A2 01 01 01 3D 72 D6 43': Success

Sun Apr 10 09:01:51 2005
  Reader 1 (SCR 331 01 00)
         Card state: Card inserted,
         ATR: 3B 75 94 00 00 62 02 02 02 01

sh: line 1: ATR_analysis: command not found
ATR_analysis '3B 75 94 00 00 62 02 02 02 01': Illegal seek

That "illegal seek" for the SCR 331 reader concerns me. Although there's
no error if I execute ATR_analysis by itself on the ATR:

$ ./ATR_analysis '3B 75 94 00 00 62 02 02 02 01'
ATR: 3B 75 94 00 00 62 02 02 02 01
+ TS = 3B --> Direct Convention
+ T0 = 75, Y(1): 0111, K: 5 (historical bytes)
   TA(1) = 94 --> Fi=512, Di=8, 64.000 cycles/ETU
   TB(1) = 00 --> Programming Param P: 0 Volts, I: 0 milli-Ampères
   TC(1) = 00 --> Extra guard time: 0
+ Historical bytes: 62 02 02 02 01

Possibly identified card:
3B 75 94 00 00 62 02 02 02 01
3B 75 94 00 00 62 02 02 0[1-3] 01
         Schlumberger Cyberflex 32K e-gate

Does this "illegal seek" indicate any problem with my configuration, or
is it a problem with pcsc-scan?

I'm having a problem with opensc recognizing the Cyberflex 32K card in
my SCR 331 reader, and I'm wondering whether this "illegal seek" error
in pcsc_scan is a clue.

-- Geoff
_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle