Настройка смарт-карт Rutoken SCR 3001 — различия между версиями

Материал из Wiki AlterOS
Перейти к: навигация, поиск
Строка 2: Строка 2:
 
[[https://www.rutoken.ru/products/catalogue/id_113.html#spec]]
 
[[https://www.rutoken.ru/products/catalogue/id_113.html#spec]]
  
Для поддержки в ОС AlterOS необходимо
+
Для поддержки в ОС AlterOS необходимо согласно инструкции производителя: 
 +
 
 
https://dev.rutoken.ru/pages/viewpage.action?pageId=4489228
 
https://dev.rutoken.ru/pages/viewpage.action?pageId=4489228
  
1 ) Установить pcsc-lite
+
в файле  /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
 +
 
 +
''в массиве <key>ifdVendorID</key>
 +
добавить '''<string>0x0A89</string>'''
 +
 
 +
в массиве <key>ifdProductID</key>
 +
добавить '''<string>0x0069</string>'''
 +
 
 +
в массиве <key>ifdFriendlyName</key>
 +
добавить '''<string>Aktiv Rutoken SCR 3001 Reader</string>'''
 +
''
 +
sudo nano /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plis
 +
 
 +
2 ) Установить pcsc-lite
 
  sudo yum install pcsc-lite
 
  sudo yum install pcsc-lite
2) Отредактировать файл /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
+
3) Согласиться с условиями лицензии https://www.rutoken.ru/support/download/license-agreement/
  sudo nano /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist  
+
 
  внеся в него необходимую информацию
+
4) Перезапустить службу pcscd
3)
+
 
https://www.rutoken.ru/support/download/license-agreement/
+
 
 +
Для проверки можно остановить службу и сокет
 +
 
 +
 
 +
 
 +
 
 +
  sudo systemctl stop pcscd
 +
sudo systemctl stop pcscd.socket
 +
 
 +
и  запустить в отладочном ре
 +
 
 +
sudo /usr/sbin/pcscd -afddddd
 +
 
 +
и убедится, что считыватель обнаружен успешно
 +
 
 +
00000078 readerfactory.c:978:RFInitializeReader() Attempting startup of Aktiv Rutoken SRC 3001 Reader 00 00 using /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
 +
00000436 readerfactory.c:868:RFBindFunctions() Loading IFD Handler 3.0
 +
00000070 ifdhandler.c:1840:init_driver() Driver version: 1.4.10
 +
00002010 ifdhandler.c:1857:init_driver() LogLevel: 0x0003
 +
00000051 ifdhandler.c:1868:init_driver() DriverOptions: 0x0000
 +
00000274 ifdhandler.c:83:CreateChannelByNameOrChannel() Lun: 0, device: usb:0a89/0069:libudev:0:/dev/bus/usb/001/006
 +
00000049 ccid_usb.c:258:OpenUSBByName() Using: /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
 +
00001005 ccid_usb.c:276:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau@free.fr)
 +
00000036 ccid_usb.c:277:OpenUSBByName() ifdProductString: Generic CCID driver
 +
00000022 ccid_usb.c:278:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.
 +
00014077 ccid_usb.c:551:OpenUSBByName() Found Vendor/Product: 0A89/0069 (Aktiv Rutoken SRC 3001 Reader)

Версия 10:06, 6 декабря 2021

Информация о считывателе на сайте производителя: [[1]]

Для поддержки в ОС AlterOS необходимо согласно инструкции производителя:

https://dev.rutoken.ru/pages/viewpage.action?pageId=4489228

в файле /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist

в массиве <key>ifdVendorID</key> добавить <string>0x0A89</string>

в массиве <key>ifdProductID</key> добавить <string>0x0069</string>

в массиве <key>ifdFriendlyName</key> добавить <string>Aktiv Rutoken SCR 3001 Reader</string> sudo nano /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plis

2 ) Установить pcsc-lite

sudo yum install pcsc-lite

3) Согласиться с условиями лицензии https://www.rutoken.ru/support/download/license-agreement/

4) Перезапустить службу pcscd


Для проверки можно остановить службу и сокет



sudo systemctl stop pcscd
sudo systemctl stop pcscd.socket

и запустить в отладочном ре

sudo /usr/sbin/pcscd -afddddd
и убедится, что считыватель обнаружен успешно

00000078 readerfactory.c:978:RFInitializeReader() Attempting startup of Aktiv Rutoken SRC 3001 Reader 00 00 using /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so 00000436 readerfactory.c:868:RFBindFunctions() Loading IFD Handler 3.0 00000070 ifdhandler.c:1840:init_driver() Driver version: 1.4.10 00002010 ifdhandler.c:1857:init_driver() LogLevel: 0x0003 00000051 ifdhandler.c:1868:init_driver() DriverOptions: 0x0000 00000274 ifdhandler.c:83:CreateChannelByNameOrChannel() Lun: 0, device: usb:0a89/0069:libudev:0:/dev/bus/usb/001/006 00000049 ccid_usb.c:258:OpenUSBByName() Using: /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist 00001005 ccid_usb.c:276:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau@free.fr) 00000036 ccid_usb.c:277:OpenUSBByName() ifdProductString: Generic CCID driver 00000022 ccid_usb.c:278:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version. 00014077 ccid_usb.c:551:OpenUSBByName() Found Vendor/Product: 0A89/0069 (Aktiv Rutoken SRC 3001 Reader)