Consenso all'uso dei cookies

SITO1 -- SITO2 -- Forum1 -- CercaGlobale -- Informativa su Cookie e Privacy


Valutazione discussione:
  • 0 voto(i) - 0 media
  • 1
  • 2
  • 3
  • 4
  • 5
certificazione digitale con smartcard SCR3310
#1
Question 
Salve amici,
qualcuno tra di voi è riuscito a configurare un lettore usb smartcard SCR3310 e Fileprotector per firmare digitalmente i documenti da Linux?

Ho raccolto una serie di informazioni a seguito di prove effettuate ieri sera, che comunque non hanno dato risultati apprezzabili.

dmesg:

[ 75.354698] usb 1-1: new full-speed USB device number 6 using xhci_hcd
[ 75.375821] usb 1-1: New USB device found, idVendor=04e6, idProduct=5116
[ 75.375843] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 75.375859] usb 1-1: Product: SCR3310 v2.0 USB SC Reader
[ 75.375872] usb 1-1: Manufacturer: SCM Microsystems Inc.



$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0a5c:216d Broadcom Corp.
Bus 001 Device 004: ID 15d9:0a4f Trust International B.V.
Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 002: ID 04f2:b52d Chicony Electronics Co., Ltd
Bus 001 Device 007: ID 04e6:5116 SCM Microsystems, Inc. SCR331-LC1 / SCR3310 SmartCard Reader
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


tail -f /var/log/syslog
Nov 5 17:24:52 giovanna mtp-probe: bus: 1, device: 9 was not an MTP device
Nov 5 17:27:04 giovanna kernel: [ 968.525168] usb 1-1: USB disconnect, device number 9
Nov 5 17:27:05 giovanna pcscd: ccid_usb.c:751:WriteUSB() write failed (1/9): -4 No such device
Nov 5 17:27:07 giovanna kernel: [ 971.658367] usb 1-1: new full-speed USB device number 10 using xhci_hcd
Nov 5 17:27:08 giovanna kernel: [ 971.679574] usb 1-1: New USB device found, idVendor=04e6, idProduct=5116
Nov 5 17:27:08 giovanna kernel: [ 971.679595] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 5 17:27:08 giovanna kernel: [ 971.679609] usb 1-1: Product: SCR3310 v2.0 USB SC Reader
Nov 5 17:27:08 giovanna kernel: [ 971.679621] usb 1-1: Manufacturer: SCM Microsystems Inc.
Nov 5 17:27:08 giovanna mtp-probe: checking bus 1, device 10: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
Nov 5 17:27:08 giovanna mtp-probe: bus: 1, device: 10 was not an MTP device

/usr/bin/pcsc_scan
PC/SC device scanner
V 1.4.22 © 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.10
Using reader plug'n play mechanism
Scanning present readers...
0: SCM Microsystems Inc. SCR 3310 [CCID Interface] 00 00

Thu Nov 5 17:33:11 2015
Reader 0: SCM Microsystems Inc. SCR 3310 [CCID Interface] 00 00
Card state: Card inserted,
ATR: 3B FF 18 00 FF 81 31 FE 55 00 6B 02 09 03 03 01 01 01 43 4E 53 10 31 80 9D

ATR: 3B FF 18 00 FF 81 31 FE 55 00 6B 02 09 03 03 01 01 01 43 4E 53 10 31 80 9D
+ TS = 3B --> Direct Convention
+ T0 = FF, Y(1): 1111, K: 15 (historical bytes)
TA(1) = 18 --> Fi=372, Di=12, 31 cycles/ETU
129032 bits/s at 4 MHz, fMax for Fi = 5 MHz => 161290 bits/s
TB(1) = 00 --> VPP is not electrically connected
TC(1) = FF --> Extra guard time: 255 (special value)
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) = 55 --> Block Waiting Integer: 5 - Character Waiting Integer: 5
+ Historical bytes: 00 6B 02 09 03 03 01 01 01 43 4E 53 10 31 80
Category indicator byte: 00 (compact TLV data object)
Tag: 6, len: B (pre-issuing data)
Data: 02 09 03 03 01 01 01 43 4E 53
Mandatory status indicator (3 last bytes)
LCS (life card cycle): 10 (Proprietary)
SW: 3180 (Error not defined by ISO 7816)
+ TCK = 9D (correct checksum)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B FF 18 00 FF 81 31 FE 55 00 6B 02 09 03 03 01 01 01 43 4E 53 10 31 80 9D
Aruba CNS for Regione Toscana (IT)
http://www.regione.toscana.it


grazie infinite della gentilissima collaborazione

Davide
Cita messaggio
Grazie da:


Vai al forum:


Utenti che stanno guardando questa discussione: 1 Ospite(i)