mercoledì 6 agosto 2014

Lettore di Smart Card su DELL Latitude D630

Devo dire che questo è veramente un ottimo portatile anche se ha ormai i suoi anni.
E' un portatile aziendale e lo si può notare da alcuni dettagli, in primo luogo manca la webcam, che a essere onesti ci starebbe pure su un portatile aziendale per eventuali video conferenze.
Ma non è quello che manca ha caratterizzarlo ma quello che c'è in più rispetto alla maggior parte dei notebook in circolazione.
E' presente uno slot per l'inserimento di una SIM, situato in un vano accessibile rimuovendo la batteria.
E' molto comodo per non dover ricorrere a chiavette USB che spuntano ai lati del notebook con possibilità di danneggiarle con movimenti maldestri.
E' inoltre presente anche un lettore di smart card, più precisamente un :
O2 Micro, Inc. OZ776 CCID Smartcard Reader
che è perfettamente riconosciuto e supportato da Debian Jessie.
Anche in questo caso si ha la comodità di non dover utilizzare lettori USB esterni.
Ora come ora non è che serva a molto questo lettore, ma per testarlo ho installato i seguenti pacchetti :
pcsc-tools
cardpeek
il primo installa alcuni comandi tra i quali il più comodo è pcsc_scan, ecco un esempio di output con una carta di credito inserita.

PC/SC device scanner
V 1.4.22 (c) 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: O2 Micro Oz776 00 00

Wed Aug  6 21:20:58 2014
Reader 0: O2 Micro Oz776 00 00
  Card state: Card inserted,
  ATR: 3B 6E 00 00 00 31 C0 71 C6 65 01 B0 01 03 37 83 90 00

ATR: 3B 6E 00 00 00 31 C0 71 C6 65 01 B0 01 03 37 83 90 00
+ TS = 3B --> Direct Convention
+ T0 = 6E, Y(1): 0110, K: 14 (historical bytes)
  TB(1) = 00 --> VPP is not electrically connected
  TC(1) = 00 --> Extra guard time: 0
+ Historical bytes: 00 31 C0 71 C6 65 01 B0 01 03 37 83 90 00
  Category indicator byte: 00 (compact TLV data object)
    Tag: 3, len: 1 (card service data byte)
      Card service data byte: C0
        - Application selection: by full DF name
        - Application selection: by partial DF name
        - EF.DIR and EF.ATR access services: by GET RECORD(s) command
        - Card with MF
    Tag: 7, len: 1 (card capabilities)
      Selection methods: C6
        - DF selection by full DF name
        - DF selection by partial DF name
        - Short EF identifier supported
        - Record number supported
    Tag: 6, len: 5 (pre-issuing data)
      Data: 01 B0 01 03 37
    Mandatory status indicator (3 last bytes)
      LCS (life card cycle): 83 (Proprietary)
      SW: 9000 (Normal processing.)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B 6E 00 00 00 31 C0 71 C6 65 01 B0 01 03 37 83 90 00
    NatWest (UK) "Business" (MasterCard) credit card
    NatWest (UK) (Maestro) debit card
    Santander Totta (Portugal) "JÁ KÁ KONTA" (VISA Electron) debit card
    ANZ (Australia) (VISA) credit card
    Millennium BCP (Portugal) (VISA Electron) debit card
    OpenBank (Spain) (VISA) credit card
    CIBC (Canada) debit card
    UniCredit (Italy) "Genius Card" (MasterCard) debit card
    UniCredit (Italy) "UniCreditCard Click" (MasterCard) debit card
    VISA Electron debit card from the Spanish branch of ING Direct (bank)

 
Cardpeek è invece un utility grafica, ecco il risultato di un'analisi della stessa carta.


OK, ricapitolando questo post è assolutamente inutile, perchè lo ho fatto allora ? solo perchè c'è questo lettore di smart card e volevo provarlo.

Nessun commento:

Posta un commento