Re: Использование смарткарт под Linux
Со считывателем ACR3901U-H3 смарт-карты Рутокен работать должны.
С новым считывателем опять проблемы:
https://forum.rutoken.ru/post/14753/#p14753
но кое что все же заработало, в т.ч. rtadmin -f.
Причем самое главное, что даже:
/usr/sbin/pcscd -afddddd | grep -i rutok
не видит слово Rutoken.
Содержимое /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist:
https://pastebin.com/raw/egYJS5AJ
Как видите, рутокенов там более, чем достаточно.
pcsc_scan:
root@host:/etc/opensc# service pcscd restart
[ ok ] Restarting PCSC Lite resource manager: pcscd.
root@backup1:/etc/opensc# pcsc_scan
PC/SC device scanner
V 1.4.27 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.17
Using reader plug'n play mechanism
Scanning present readers...
0: ACS ACR3901U ICC Reader 00 00
Wed Sep 9 04:25:03 2020
Reader 0: ACS ACR3901U ICC Reader 00 00
Card state: Card inserted,
ATR: 3B 9C 96 00 52 75 74 6F 6B 65 6E 45 43 50 73 63
ATR: 3B 9C 96 00 52 75 74 6F 6B 65 6E 45 43 50 73 63
+ TS = 3B --> Direct Convention
+ T0 = 9C, Y(1): 1001, K: 12 (historical bytes)
TA(1) = 96 --> Fi=512, Di=32, 16 cycles/ETU
250000 bits/s at 4 MHz, fMax for Fi = 5 MHz => 312500 bits/s
TD(1) = 00 --> Y(i+1) = 0000, Protocol T = 0
-----
+ Historical bytes: 52 75 74 6F 6B 65 6E 45 43 50 73 63
Category indicator byte: 52 (proprietary format)
Possibly identified card (using /root/.cache/smartcard_list.txt):
NONE
Your card is not present in the database.
Please submit your unknown card at:
http://smartcard-atr.appspot.com/parse?ATR=3B9C96005275746F6B656E4543507363
Wed Sep 9 04:25:12 2020
Reader 0: ACS ACR3901U ICC Reader 00 00
Card state: Card removed,
Wed Sep 9 04:25:13 2020
Reader 0: ACS ACR3901U ICC Reader 00 00
Card state: Card inserted,
ATR: 3B 9C 96 00 52 75 74 6F 6B 65 6E 45 43 50 73 63
ATR: 3B 9C 96 00 52 75 74 6F 6B 65 6E 45 43 50 73 63
+ TS = 3B --> Direct Convention
+ T0 = 9C, Y(1): 1001, K: 12 (historical bytes)
TA(1) = 96 --> Fi=512, Di=32, 16 cycles/ETU
250000 bits/s at 4 MHz, fMax for Fi = 5 MHz => 312500 bits/s
TD(1) = 00 --> Y(i+1) = 0000, Protocol T = 0
-----
+ Historical bytes: 52 75 74 6F 6B 65 6E 45 43 50 73 63
Category indicator byte: 52 (proprietary format)
Possibly identified card (using /root/.cache/smartcard_list.txt):
NONE
Your card is not present in the database.
Please submit your unknown card at:
http://smartcard-atr.appspot.com/parse?ATR=3B9C96005275746F6B656E4543507363