Криптопро не видит Rutoken

Sergei29

New member
Сообщения
10
#1
Смоленск 1.6 все пакеты Криптопро установлены

root@astra:~# dpkg -l | grep cprocsp
ii cprocsp-compat-astra 1.0.0-1 all CryptoPro CSP compatibility extension for AstraLinux
ii cprocsp-ia32-libs-astra 1.0.0-1 amd64 CryptoPro CSP libs compatibility extension for AstraLinux
ii cprocsp-pki-cades:i386 2.0.0-1 i386 CryptoPro PKI
ii cprocsp-pki-phpcades:i386 2.0.0-1 i386 CryptoPro PKI
ii cprocsp-pki-plugin:i386 2.0.0-1 i386 CryptoPro PKI
ii cprocsp-rdr-gui-gtk:i386 4.0.9963-5 i386 GUI components for CryptoPro CSP readers. Build 9963.
ii cprocsp-rdr-pcsc:i386 4.0.9963-5 i386 PC/SC components for CryptoPro CSP readers. Build 9963.
ii cprocsp-rdr-rutoken:i386 4.0.9963-5 i386 Rutoken support module
ii lsb-cprocsp-base 4.0.9963-5 all CryptoPro CSP directories and scripts. Build 9963.
ii lsb-cprocsp-capilite:i386 4.0.9963-5 i386 CryptoAPI lite. Build 9963.
ii lsb-cprocsp-kc1:i386 4.0.9963-5 i386 CryptoPro CSP KC1. Build 9963.
ii lsb-cprocsp-pkcs11:i386 4.0.9963-5 i386 CryptoPro PKCS11. Build 9963.
ii lsb-cprocsp-rdr:i386 4.0.9963-5 i386 CryptoPro CSP readers. Build 9963.

Рутокен видит карту

root@astra:~# 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.20
Using reader plug'n play mechanism
Scanning present readers...
0: Aktiv Rutoken lite 00 00

Fri Oct 23 11:44:41 2020
Reader 0: Aktiv Rutoken lite 00 00
Card state: Card inserted,
ATR: 3B 8B 01 52 75 74 6F 6B 65 6E 33 9V 74 65 C2

ATR: 3B 8B 01 52 75 74 6F 6B 65 6E 33 9V 74 65 C2
+ TS = 3B --> Direct Convention
+ T0 = 8B, Y(1): 1000, K: 11 (historical bytes)
TD(1) = 01 --> Y(i+1) = 0000, Protocol T = 1
-----
+ Historical bytes: 52 75 74 6F 6B 65 33 9V 69 74 65
Category indicator byte: 52 (proprietary format)
+ TCK = C2 (correct checksum)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B 8B 01 52 75 74 6F 6B 65 33 9V 69 74 65 C2
Aktiv Rutoken lite token

Но Криптопро говорить что её нет

root@astra:~# /opt/cprocsp/bin/ia32/csptest -card -enum -v -v
ERROR: SCardEstablishContext()
Total: SYS: 0,000 sec USR: 0,000 sec UTC: 0,000 sec
[ErrorCode: 0x8010001d]
root@astra:~# /opt/cprocsp/bin/ia32/csptest -keyset -verifycontext -enum -unique
CSP (Type:80) v4.0.9019 KC1 Release Ver:4.0.9963 OS:Linux CPU:IA32 FastCode:READY:SSSE3.
AcquireContext: OK. HCRYPTPROV: 141743547
OK.
Total: SYS: 0,000 sec USR: 0,040 sec UTC: 0,150 sec
[ErrorCode: 0x00000000]

root@astra:~# find /usr/*(lib|lib64) -name librtpkcs11ecp.so
/usr/lib/librtpkcs11ecp.so
root@astra:~# pkcs11-tool --module /usr/lib/librtpkcs11ecp.so -O
Using slot 0 with a present token (0x0)
 
Последнее редактирование: