I have a smart card reader SCR3310 v2.0. First i tried to use this in
windows using* SafeSign-Identity-Client-2.3.6.I-admin* and
*SafeSign-Identity-Client-2.3.6.I-user.
*After successful installation i could use *Token Administration
gui*through which i initialized the token. Hence i could successfully
* *Perfom signing through a java program.

Now i need  the very same thing to be integrated in Linux. I tried with both
ubuntu and Fedora 10
I installed the driver for SCR3310, *scmccid_5.0.11_linux* from
http://www.scmmicro.com/support/pc-security-support/downloads.html
for completeing the dependency *pcsclite, libusb library and coolkey* also
were installed. When i start the pcsc daemon the Card reader is identified.
But it seems it is not recognizing the token.I am using the same card i used
for windows testing, which was initialized in windows.

/var/log/messages
>
> Feb 27 10:11:12 localhost kernel: usb 8-2: Product: SCR3310 v2.0 USB SC
> Reader
> Feb 27 10:11:12 localhost kernel: usb 8-2: Manufacturer: SCM Microsystems
> Inc.
> Feb 27 10:11:12 localhost pcscd: hotplug_libhal.c:342:HPAddDevice() Adding
> USB device: usb_device_4e6_5116_noserial_if0
> Feb 27 10:11:13 localhost pcscd: readerfactory.c:1082:RFInitializeReader()
> Attempting startup of SCR3310 Smart Card Reader 00 00 using
> /usr/lib/pcsc/drivers/scmcciddriver.bundle/Contents/Linux/libscmccid.so.5.0.11
> Feb 27 10:11:13 localhost pcscd: readerfactory.c:949:RFBindFunctions()
> Loading IFD Handler 3.0
> Feb 27 10:11:13 localhost pcscd: readerfactory.c:267:RFAddReader() Using
> the pcscd polling thread
> Feb 27 10:11:14 localhost pcscd: Card ATR: 3B FD 18 00 FF 80 B1 FE 45 1F 07
> 80 73 00 21 13 57 4A 54 48 61 31 4A 00 52
> Feb 27 10:11:14 localhost setroubleshoot: SELinux is preventing pcscd
> (pcscd_t) "read" to ./scmccid.ini (usr_t). For complete SELinux messages.
> run sealert -l fc50f2ff-7d16-4e38-98fb-b05609504448
>
>
>
> #pcsc_scan
> PC/SC device scanner
> V 1.4.14 (c) 2001-2008, Ludovic Rousseau <[email protected]>
> Compiled with PC/SC lite version: 1.4.4
> Scanning present readers
> 0: SCR3310 Smart Card Reader 00 00
>
> Sat Feb 27 10:14:50 2010
>  Reader 0: SCR3310 Smart Card Reader 00 00
>   Card state: Card inserted,
>   ATR: 3B FD 18 00 FF 80 B1 FE 45 1F 07 80 73 00 21 13 57 4A 54 48 61 31 4A
> 00 52
>
> ATR: 3B FD 18 00 FF 80 B1 FE 45 1F 07 80 73 00 21 13 57 4A 54 48 61 31 4A
> 00 52
> + TS = 3B --> Direct Convention
> + T0 = FD, Y(1): 1111, K: 13 (historical bytes)
>   TA(1) = 18 --> Fi=372, Di=12, 31 cycles/ETU (115200 bits/s at 3.57 MHz)
>   TB(1) = 00 --> VPP is not electrically connected
>   TC(1) = FF --> Extra guard time: 255 (special value)
>   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) = 07 --> Clock stop: not supported - Class accepted by the card:
> (3G) A 5V B 3V C 1.8V
> + Historical bytes: 80 73 00 21 13 57 4A 54 48 61 31 4A 00
>   Category indicator byte: 80 (compact TLV data object)
>     Tag: 7, len: 3 (card capabilities)
>       Selection methods: 00
>       Data coding byte: 21
>         - Behaviour of write functions: proprietary
>         - Value 'FF' for the first byte of BER-TLV tag fields: invalid
>         - Data unit in quartets: 2
>       Command chaining, length fields and logical channels: 13
>         - Logical channel number assignment: by the card
>         - Maximum number of logical channels: 4
>     Tag: 5, len: 7 (card issuer's data)
>       Card issuer data: 4A 54 48 61 31 4A 00
> + TCK = 52 (correct checksum)
>
> Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
>     NONE
>
>
> #keytool -keystore NONE -storetype PKCS11 -providerClass
> sun.security.pkcs11.SunPKCS11 -providerArg /home/pkcs11.cfg -providerName
> SunPKCS11-SmartCard -list
> keytool error: java.security.KeyStoreException: PKCS11 not found
>



# pkcs11-tool --module /usr/lib/pkcs11/libcoolkeypk11.so -L
> Available slots:
> Slot 1           (empty)
>
>
>
> # pkcs11-tool --module /usr/lib/pkcs11/libcoolkeypk11.so -T
> No slots.
>

Can anybody suggest what i am doing wrong here ?

Thank you.
Anuja
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to