Ci sono riuscito!
I file libbit4xpki.so e libbit4xpki.so.conf presenti in MU_LINUX.zip che avevo
copiato (come specificato nelle istruzioni) nella cartella /usr/local/lib ,
dopo averli spostati in /usr/lib l'applicazione Fie Protector ha individuato la
smart card ed ho potuto firmare :-)
bye
gdo
----- Il 15-nov-17, alle 17:05, Guido Brugnara gdo@xxxxxxxxx ha scritto:
Sto cercando di usare una nuova CNS rilasciata dalla CCIAA di Trento (Aruba--
PEC
spa) con il software "Actalis File Protector", ma non riesco a configurare i
driver.
Innanzi tutto con "pcsc_scan" mi sono assicurato che la carta sia vista dal
driver PKCS#11 (*)
Premetto che da Windows 10 la carta viene individuata di tipo "Incard Jsign"
(selezione automatica) ma se faccio la stessa cosa da Linux non funziona,
nemmeno se seleziono il tipo di carta manualmente.
Anche se seleziono manualmente il lettore (viene elencato) e seleziono
"Visualizza ATR" la risposta è "Carta non inserita o errore nella lettura
dell'ATR".
Da questa guida https://www.pec.it/download-software-driver.aspx confrontando
la
forma dei piedini del chip posso dire che la smartcard è "Chip Incard".
Purtroppo le guide che trovo in
http://www.card.infocamere.it/infocard/pub/guide-installazione_5390 non sono
stati utili.
Mi suggerite qualche guida specifica per Ubuntu/Debian o mi elargite qualche
suggerimento?
bye
gdo
(*)______________________________________________________________________
gdo@srv0:~$ pcsc_scan
PC/SC device scanner
V 1.4.22 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@xxxxxxx>
Compiled with PC/SC lite version: 1.8.10
Using reader plug'n play mechanism
Scanning present readers...
0: ACS ACR38U-CCID 00 00
Wed Nov 15 16:03:16 2017
Reader 0: ACS ACR38U-CCID 00 00
Card state: Card inserted, Shared Mode,
ATR: 3B FF 18 00 00 81 31 FE 55 00 6B 02 09 04 03 01 01 01 43 4E 53 10 31 80
65
ATR: 3B FF 18 00 00 81 31 FE 55 00 6B 02 09 04 03 01 01 01 43 4E 53 10 31 80
65
+ 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) = 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) = 55 --> Block Waiting Integer: 5 - Character Waiting Integer: 5
+ Historical bytes: 00 6B 02 09 04 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 04 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 = 65 (correct checksum)
Possibly identified card (using /home/gdo/.cache/smartcard_list.txt):
3B FF 18 00 00 81 31 FE 55 00 6B 02 09 04 03 01 01 01 43 4E 53 10 31 80 65
Italian Chambers of Commerce CNS (PKI)
http://www.card.infocamere.it/infocard/pub/
Wed Nov 15 16:09:34 2017
Reader 0: ACS ACR38U-CCID 00 00
Card state: Card removed,
_________________________________________________________________________
--
Per iscriversi (o disiscriversi), basta spedire un messaggio con OGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx