Re: Установка драйвера ifd-rutokens в docker

Доброго дня! Отличный топик, вангую что будет пользоваться спросом. Проблему с установкой ifd-rutokens решил костылем:

RUN dpkg --unpack /opt/tokugawa/ifd-rutokens_1.0.4_amd64.deb
RUN rm /var/lib/dpkg/info/ifd-rutokens.postinst
RUN dpkg --configure ifd-rutokens

но вариант прокинуть /run/udev в контейнер выглядит куда более адекватным, спасибо!

В целом pcsc_scan из контейнера видит устройство, но pkcs11-tool отказывается видеть сам токен в докере

# pkcs11-tool --module /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so -I
Cryptoki version 2.20
Manufacturer     OpenSC Project
Library          OpenSC smartcard framework (ver 0.19)
No slot with a token was found.

тоже самое с хост машины с теми же дровами:

# pkcs11-tool --module /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so -I
Cryptoki version 2.20
Manufacturer     OpenSC Project
Library          OpenSC smartcard framework (ver 0.17)
Using slot 0 with a present token (0x0)

librtpkcs11ecp.so на обоих хостах ничего не нашел:

# pkcs11-tool --module /usr/lib/librtpkcs11ecp.so -I
Cryptoki version 2.20
Manufacturer     Aktiv Co.
Library          Rutoken ECP PKCS #11 library (ver 2.0)
No slot with a token was found.

Есть мысли в какую сторону можно копнуть?

Re: Установка драйвера ifd-rutokens в docker

дебаг pcscd во время вызова pkcs11-tool с модулем opensc-pkcs11.so в контейнере:

00000000 [139908789995456] debuglog.c:299:DebugLogSetLevel() debug level=debug
00000032 [139908789995456] debuglog.c:299:DebugLogSetLevel() debug level=debug
00000006 [139908789995456] debuglog.c:299:DebugLogSetLevel() debug level=debug
00000028 [139908789995456] debuglog.c:299:DebugLogSetLevel() debug level=debug
00000009 [139908789995456] debuglog.c:299:DebugLogSetLevel() debug level=debug
00000218 [139908789995456] configfile.l:284:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000030 [139908789995456] configfile.l:321:DBGetReaderListDir() Skipping non regular file: .
00000011 [139908789995456] configfile.l:321:DBGetReaderListDir() Skipping non regular file: ..
00000010 [139908789995456] configfile.l:360:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
00000071 [139908789995456] pcscdaemon.c:662:main() pcsc-lite 1.8.24 daemon ready.
00004433 [139908789995456] hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/001/001
00000203 [139908789995456] hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/001/001
00000211 [139908789995456] hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x0E0F, PID: 0x0003, path: /dev/bus/usb/001/002
00000190 [139908789995456] hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/001/001
00000213 [139908789995456] hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x0E0F, PID: 0x0002, path: /dev/bus/usb/001/003
00000234 [139908789995456] hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x0A89, PID: 0x0020, path: /dev/bus/usb/001/004
00000014 [139908789995456] hotplug_libudev.c:436:HPAddDevice() Adding USB device: Aktiv Co. Rutoken S
00000083 [139908789995456] readerfactory.c:1075:RFInitializeReader() Attempting startup of Aktiv Co. Rutoken S 00 00 using /usr/lib/pcsc/drivers/ifd-rutokens.bundle/Contents/Linux/librutokens.so
00000206 [139908789995456] readerfactory.c:950:RFBindFunctions() Loading IFD Handler 3.0
00048120 [139908789995456] readerfactory.c:396:RFAddReader() Using the reader polling thread
00003848 [139908789995456] hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x0E0F, PID: 0x0002, path: /dev/bus/usb/001/003
00000693 [139908789995456] hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000297 [139908789995456] readerfactory.c:1410:RFWaitForReaderInit() Waiting init for reader: Aktiv Co. Rutoken S 00 00
00010137 [139908777309952] eventhandler.c:289:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
00000045 [139908777309952] Card ATR: 3B 6F 00 FF 00 56 72 75 54 6F 6B 6E 73 30 20 00 00 90 00
02876978 [139908789995456] winscard_msg_srv.c:255:ProcessEventsServer() Common channel packet arrival
00000077 [139908789995456] winscard_msg_srv.c:267:ProcessEventsServer() ProcessCommonChannelRequest detects: 8
00000012 [139908789995456] pcscdaemon.c:133:SVCServiceRunLoop() A new context thread creation is requested: 8
00000300 [139908760524544] winscard_svc.c:340:ContextThread() Authorized PC/SC client
00000034 [139908760524544] winscard_svc.c:344:ContextThread() Thread is started: dwClientID=8, threadContext @0x55ed6920f330
00000046 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_VERSION from client 8
00000009 [139908760524544] winscard_svc.c:374:ContextThread() Client is protocol version 4:4
00000006 [139908760524544] winscard_svc.c:394:ContextThread() CMD_VERSION rv=0x0 for client 8
00000362 [139908760524544] winscard_svc.c:362:ContextThread() Received command: ESTABLISH_CONTEXT from client 8
00000037 [139908760524544] winscard.c:215:SCardEstablishContext() Establishing Context: 0x44E588A
00000011 [139908760524544] winscard_svc.c:459:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 8
00000080 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_GET_READERS_STATE from client 8
00000176 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_GET_READERS_STATE from client 8
00000260 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 8
00000110 [139908760524544] winscard_svc.c:832:MSGSendReaderStates() Send reader states: 8
00000217 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 8
00000021 [139908760524544] winscard_svc.c:440:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 8
00000123 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CONNECT from client 8
00000016 [139908760524544] winscard_svc.c:497:ContextThread() Authorized client for 'Aktiv Co. Rutoken S 00 00'
00000005 [139908760524544] winscard.c:259:SCardConnect() Attempting Connect to Aktiv Co. Rutoken S 00 00 using protocol: 3
00000006 [139908760524544] readerfactory.c:821:RFReaderInfo() RefReader() count was: 1
00000005 [139908760524544] winscard.c:352:SCardConnect() powerState: POWER_STATE_IN_USE
00000006 [139908760524544] prothandler.c:108:PHSetProtocol() Attempting PTS to T=0
00000006 [139908760524544] winscard.c:431:SCardConnect() Active Protocol: T=0
00000005 [139908760524544] winscard.c:456:SCardConnect() hCard Identity: 3bb9a6db
00000013 [139908760524544] winscard.c:518:SCardConnect() UnrefReader() count was: 2
00000007 [139908760524544] winscard_svc.c:511:ContextThread() CONNECT rv=0x0 for client 8
00000096 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CONTROL from client 8
00000060 [139908760524544] readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000025 [139908760524544] winscard.c:1365:SCardControl() UnrefReader() count was: 2
00000017 [139908760524544] winscard_svc.c:733:ContextThread() CONTROL rv=0x0 for client 8
00000135 [139908760524544] winscard_svc.c:362:ContextThread() Received command: GET_ATTRIB from client 8
00000044 [139908760524544] readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000022 [139908760524544] winscard.c:1440:SCardGetAttrib() UnrefReader() count was: 2
00000023 [139908760524544] winscard_svc.c:762:ContextThread() GET_ATTRIB rv=0x0 for client 8
00000095 [139908760524544] winscard_svc.c:362:ContextThread() Received command: GET_ATTRIB from client 8
00000027 [139908760524544] readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000006 [139908760524544] winscard.c:1440:SCardGetAttrib() UnrefReader() count was: 2
00000023 [139908760524544] winscard_svc.c:762:ContextThread() GET_ATTRIB rv=0x0 for client 8
00000195 [139908760524544] winscard_svc.c:362:ContextThread() Received command: DISCONNECT from client 8
00000045 [139908760524544] readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000021 [139908760524544] winscard.c:884:SCardDisconnect() Active Contexts: 1
00000019 [139908760524544] winscard.c:885:SCardDisconnect() dwDisposition: 0
00000018 [139908760524544] winscard.c:1020:SCardDisconnect() powerState: POWER_STATE_GRACE_PERIOD
00000027 [139908760524544] winscard.c:1046:SCardDisconnect() UnrefReader() count was: 2
00000021 [139908760524544] winscard_svc.c:548:ContextThread() DISCONNECT rv=0x0 for client 8
00000207 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 8
00000029 [139908760524544] winscard_svc.c:832:MSGSendReaderStates() Send reader states: 8
00000149 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 8
00000031 [139908760524544] winscard_svc.c:440:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 8
00000100 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 8
00000037 [139908760524544] winscard_svc.c:832:MSGSendReaderStates() Send reader states: 8
00000079 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 8
00000025 [139908760524544] winscard_svc.c:440:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 8
00000079 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 8
00000013 [139908760524544] winscard_svc.c:832:MSGSendReaderStates() Send reader states: 8
00000074 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 8
00000010 [139908760524544] winscard_svc.c:440:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 8
00000079 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 8
00000018 [139908760524544] winscard_svc.c:832:MSGSendReaderStates() Send reader states: 8
00000086 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 8
00000027 [139908760524544] winscard_svc.c:440:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 8
00000091 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 8
00000029 [139908760524544] winscard_svc.c:832:MSGSendReaderStates() Send reader states: 8
00000152 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 8
00000038 [139908760524544] winscard_svc.c:440:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 8
00000055 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 8
00000014 [139908760524544] winscard_svc.c:832:MSGSendReaderStates() Send reader states: 8
00000066 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 8
00000018 [139908760524544] winscard_svc.c:440:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 8
00000046 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CONNECT from client 8
00000011 [139908760524544] winscard_svc.c:497:ContextThread() Authorized client for 'Aktiv Co. Rutoken S 00 00'
00000018 [139908760524544] winscard.c:259:SCardConnect() Attempting Connect to Aktiv Co. Rutoken S 00 00 using protocol: 3
00000006 [139908760524544] readerfactory.c:821:RFReaderInfo() RefReader() count was: 1
00000005 [139908760524544] winscard.c:352:SCardConnect() powerState: POWER_STATE_IN_USE
00000005 [139908760524544] winscard.c:431:SCardConnect() Active Protocol: T=0
00000005 [139908760524544] winscard.c:456:SCardConnect() hCard Identity: 6989683e
00000005 [139908760524544] winscard.c:518:SCardConnect() UnrefReader() count was: 2
00000005 [139908760524544] winscard_svc.c:511:ContextThread() CONNECT rv=0x0 for client 8
00000336 [139908760524544] winscard_svc.c:362:ContextThread() Received command: BEGIN_TRANSACTION from client 8
00000029 [139908760524544] readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000021 [139908760524544] winscard.c:1085:SCardBeginTransaction() Status: 0x00000000
00000026 [139908760524544] winscard.c:1088:SCardBeginTransaction() UnrefReader() count was: 2
00000018 [139908760524544] winscard_svc.c:563:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 8
00000083 [139908760524544] winscard_svc.c:362:ContextThread() Received command: TRANSMIT from client 8
00000018 [139908760524544] readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000005 [139908760524544] winscard.c:1601:SCardTransmit() Send Protocol: T=0
00000007 [139908760524544] APDU: 00 A4 08 00 02 00 2F
00197927 [139908760524544] SW: 6A 82
00000117 [139908760524544] winscard.c:1646:SCardTransmit() UnrefReader() count was: 2
00000038 [139908760524544] winscard_svc.c:683:ContextThread() TRANSMIT rv=0x0 for client 8
00000364 [139908760524544] winscard_svc.c:362:ContextThread() Received command: END_TRANSACTION from client 8
00000080 [139908760524544] readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000036 [139908760524544] winscard.c:1240:SCardEndTransaction() Status: 0x00000000
00000039 [139908760524544] winscard.c:1243:SCardEndTransaction() UnrefReader() count was: 2
00000062 [139908760524544] winscard_svc.c:579:ContextThread() END_TRANSACTION rv=0x0 for client 8
00009059 [139908760524544] winscard_svc.c:362:ContextThread() Received command: BEGIN_TRANSACTION from client 8
00000062 [139908760524544] readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000013 [139908760524544] winscard.c:1085:SCardBeginTransaction() Status: 0x00000000
00000009 [139908760524544] winscard.c:1088:SCardBeginTransaction() UnrefReader() count was: 2
00000014 [139908760524544] winscard_svc.c:563:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 8
00000446 [139908760524544] winscard_svc.c:362:ContextThread() Received command: TRANSMIT from client 8
00000027 [139908760524544] readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000010 [139908760524544] winscard.c:1601:SCardTransmit() Send Protocol: T=0
00000009 [139908760524544] APDU: 00 A4 08 00 02 15 50
00033258 [139908760524544] SW: 6A 82
00000089 [139908760524544] winscard.c:1646:SCardTransmit() UnrefReader() count was: 2
00000037 [139908760524544] winscard_svc.c:683:ContextThread() TRANSMIT rv=0x0 for client 8
00000332 [139908760524544] winscard_svc.c:362:ContextThread() Received command: TRANSMIT from client 8
00000108 [139908760524544] readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000062 [139908760524544] winscard.c:1601:SCardTransmit() Send Protocol: T=0
00000064 [139908760524544] APDU: 00 A4 08 00 02 31 50
00030688 [139908760524544] SW: 6A 82
00000042 [139908760524544] winscard.c:1646:SCardTransmit() UnrefReader() count was: 2
00000014 [139908760524544] winscard_svc.c:683:ContextThread() TRANSMIT rv=0x0 for client 8
00000505 [139908760524544] winscard_svc.c:362:ContextThread() Received command: END_TRANSACTION from client 8
00000048 [139908760524544] readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000013 [139908760524544] winscard.c:1240:SCardEndTransaction() Status: 0x00000000
00000009 [139908760524544] winscard.c:1243:SCardEndTransaction() UnrefReader() count was: 2
00000009 [139908760524544] winscard_svc.c:579:ContextThread() END_TRANSACTION rv=0x0 for client 8
00005025 [139908760524544] winscard_svc.c:362:ContextThread() Received command: DISCONNECT from client 8
00000038 [139908760524544] readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000011 [139908760524544] winscard.c:884:SCardDisconnect() Active Contexts: 1
00000008 [139908760524544] winscard.c:885:SCardDisconnect() dwDisposition: 0
00000010 [139908760524544] winscard.c:1020:SCardDisconnect() powerState: POWER_STATE_GRACE_PERIOD
00000010 [139908760524544] winscard.c:1046:SCardDisconnect() UnrefReader() count was: 2
00000042 [139908760524544] winscard_svc.c:548:ContextThread() DISCONNECT rv=0x0 for client 8
00000363 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_GET_READERS_STATE from client 8
00000426 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_GET_READERS_STATE from client 8
00000376 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 8
00000052 [139908760524544] winscard_svc.c:832:MSGSendReaderStates() Send reader states: 8
00000200 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 8
00000056 [139908760524544] winscard_svc.c:440:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 8
00000267 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 8
00000048 [139908760524544] winscard_svc.c:832:MSGSendReaderStates() Send reader states: 8
00000156 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 8
00000045 [139908760524544] winscard_svc.c:440:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 8
00000314 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 8
00000049 [139908760524544] winscard_svc.c:832:MSGSendReaderStates() Send reader states: 8
00000153 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 8
00000047 [139908760524544] winscard_svc.c:440:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 8
00000309 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 8
00000045 [139908760524544] winscard_svc.c:832:MSGSendReaderStates() Send reader states: 8
00000315 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 8
00000046 [139908760524544] winscard_svc.c:440:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 8
00000168 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 8
00000044 [139908760524544] winscard_svc.c:832:MSGSendReaderStates() Send reader states: 8
00000229 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 8
00000072 [139908760524544] winscard_svc.c:440:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 8
00000146 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 8
00000044 [139908760524544] winscard_svc.c:832:MSGSendReaderStates() Send reader states: 8
00000339 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 8
00000046 [139908760524544] winscard_svc.c:440:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 8
00000335 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 8
00000047 [139908760524544] winscard_svc.c:832:MSGSendReaderStates() Send reader states: 8
00000343 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 8
00000048 [139908760524544] winscard_svc.c:440:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 8
00000444 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 8
00000046 [139908760524544] winscard_svc.c:832:MSGSendReaderStates() Send reader states: 8
00000140 [139908760524544] winscard_svc.c:362:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 8
00000044 [139908760524544] winscard_svc.c:440:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 8
00000316 [139908760524544] winscard_svc.c:362:ContextThread() Received command: RELEASE_CONTEXT from client 8
00000027 [139908760524544] winscard.c:229:SCardReleaseContext() Releasing Context: 0x44E588A
00000025 [139908760524544] winscard_svc.c:474:ContextThread() RELEASE_CONTEXT rv=0x0 for client 8
00000291 [139908760524544] winscard_svc.c:354:ContextThread() Client die: 8
00000074 [139908760524544] winscard_svc.c:1057:MSGCleanupClient() Thread is stopping: dwClientID=8, threadContext @0x55ed6920f330
00000039 [139908760524544] winscard_svc.c:1063:MSGCleanupClient() Freeing SCONTEXT @0x55ed6920f330

Re: Установка драйвера ifd-rutokens в docker

Добрый день,

Если вы используете Рутокен S, то librtpkcs11ecp.so и  opensc-pkcs11.so его не увидят. Это нормально.
Эти библиотека только с ECP-подобными-токенами работают, в которых криптография реализована.

Ошибка 6A82 - "файл не найден" именно об этом говорит.

С уважением, Алексей Лазарев, Компания "Актив"