Results 1 to 2 of 2
I am also having the SCM Microsystems SCR335 Smart Card Reader and DataKey 32K PKI Model 330 Smart Card.
gpg --card-status shows the following output
[root@nehasvn usb]# gpg --card-status
gpg: ...
- 04-23-2009 #1Just Joined!
- Join Date
- Apr 2009
- Location
- Thiruvananthapuram, Kerala, India
- Posts
- 1
Smart Card PCSC and gpg
I am also having the SCM Microsystems SCR335 Smart Card Reader and DataKey 32K PKI Model 330 Smart Card.
gpg --card-status shows the following output
[root@nehasvn usb]# gpg --card-status
gpg: detected reader `SCR335 USB Smart Card Reader (901017EB) 00 00'
Please insert the card and hit return or enter 'c' to cancel: c
gpg: selecting openpgp failed: general error
gpg: OpenPGP card not available: general error
pcsc_scan shows the following output
[root@nehasvn usb]# pcsc_scan
PC/SC device scanner
V 1.4.14 (c) 2001-2008, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.3.3
Scanning present readers
0: SCR335 USB Smart Card Reader (901017EB) 00 00
Thu Apr 23 16:47:37 2009
Reader 0: SCR335 USB Smart Card Reader (901017EB) 00 00
Card state: Card inserted,
ATR: 3B FF 11 00 00 81 31 FE 4D 80 25 A0 00 00 00 56 57 44 4B 33 33 30 06 00 D0
ATR: 3B FF 11 00 00 81 31 FE 4D 80 25 A0 00 00 00 56 57 44 4B 33 33 30 06 00 D0
+ TS = 3B --> Direct Convention
+ T0 = FF, Y(1): 1111, K: 15 (historical bytes)
TA(1) = 11 --> Fi=372, Di=1, 372 cycles/ETU (9600 bits/s at 3.57 MHz)
TB(1) = 00 --> VPP is not electrically connected
TC(1) = 00 --> Extra guard time: 0
TD(1) = 81 --> Y(i+1) = 1000, Protocol T = 1
-----
TD(2) = 31 --> Y(i+1) = 0011, Protocol T = 1
-----
TA(3) = FE --> IFSC: 254
TB(3) = 4D --> Block Waiting Integer: 4 - Character Waiting Integer: 13
+ Historical bytes: 80 25 A0 00 00 00 56 57 44 4B 33 33 30 06 00
Category indicator byte: 80 (compact TLV data object)
Tag: 2, len: 5 (issuer identification number, ISO 7812-1)
Issuer identification number: A0 00 00 00 56
Tag: 5, len: 7 (card issuer's data)
Card issuer data: 44 4B 33 33 30 06 00
+ TCK = D0 (correct checksum)
Possibly identified card (using /usr/local/share/pcsc/smartcard_list.txt):
3B FF 11 00 00 81 31 FE 4D 80 25 A0 00 00 00 56 57 44 4B 33 33 30 06 00 D0
Datakey 32K PKI Smart Card Model 330
Using Fedora8 and i have installed pcsc-lite-1.3.3, ccid-1.3.9, pcsc-tools-1.4.14.
Need help on how to read my Smart Card with gpg and use it for verification of signatures.
Thank you
Neha Waikar
- 04-25-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
When it asked for you to insert the card into the reader, you entered 'c' for cancel. Did you try to insert the card and just press the Enter key? What happens then? Do you get the same errors?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote