Big Sur: проблемы с librtpkcs11ecp.dylib и sc_auth identities
Пытаюсь установить рутокен lite в Big Sur согласно инструкциям:
https://dev.rutoken.ru/pages/viewpage.a … d=72451422
https://dev.rutoken.ru/pages/viewpage.a … d=72451753
Устройство определяется
pcsctest
MUSCLE PC/SC Lite Test Program
Testing SCardEstablishContext : Command successful.
Testing SCardGetStatusChange
Please insert a working reader : Command successful.
Testing SCardListReaders : Command successful.
Reader 01: Aktiv Rutoken lite
Enter the reader number : 1
Waiting for card insertion
: Command successful.
Testing SCardConnect : Command successful.
Testing SCardStatus : Command successful.
Current Reader Name : Aktiv Rutoken lite
Current Reader State : 0x54
Current Reader Protocol : 0x1
Current Reader ATR Size : 15 (0xf)
Current Reader ATR Value : 3B 8B 01 52 75 74 6F 6B 65 6E 6C 69 74 65 C2
Testing SCardDisconnect : Command successful.
Testing SCardReleaseContext : Command successful.
Testing SCardEstablishContext : Command successful.
Testing SCardGetStatusChange
Please insert a working reader : Command successful.
Testing SCardListReaders : Command successful.
Reader 01: Aktiv Rutoken lite
Enter the reader number : 1
Waiting for card insertion
: Command successful.
Testing SCardConnect : Command successful.
Testing SCardStatus : Command successful.
Current Reader Name : Aktiv Rutoken lite
Current Reader State : 0x54
Current Reader Protocol : 0x1
Current Reader ATR Size : 15 (0xf)
Current Reader ATR Value : 3B 8B 01 52 75 74 6F 6B 65 6E 6C 69 74 65 C2
Testing SCardDisconnect : Command successful.
Testing SCardReleaseContext : Command successful.
PC/SC Test Completed Successfully !
Даже попап от связки ключей появляется, что токен подключен.
Однако команда sc_auth identities не возвращает ничего.
Команды pkcs11-tool также не работают, т. к. не могут загрузить dylib:
pkcs11-tool --module /usr/local/lib/librtpkcs11ecp.dylib -T
sc_dlopen failed: dlopen(/usr/local/lib/librtpkcs11ecp.dylib, 1): no suitable image found. Did find:
/usr/local/lib/librtpkcs11ecp.dylib: code signature in (/usr/local/lib/librtpkcs11ecp.dylib) not valid for use in process using Library Validation: mapping process and mapped file (non-platform) have different Team IDs
error: Failed to load pkcs11 module
Aborting.
pkcs11-tool --module /Library/Aktiv\ Co/Rutoken\ ECP/lib/librtpkcs11ecp.dylib -T
sc_dlopen failed: dlopen(/Library/Aktiv Co/Rutoken ECP/lib/librtpkcs11ecp.dylib, 1): no suitable image found. Did find:
/Library/Aktiv Co/Rutoken ECP/lib/librtpkcs11ecp.dylib: code signature in (/Library/Aktiv Co/Rutoken ECP/lib/librtpkcs11ecp.dylib) not valid for use in process using Library Validation: mapping process and mapped file (non-platform) have different Team IDs
error: Failed to load pkcs11 module
Aborting.
Судя по всему, какой-то косяк с подписями библиотеки, и в интернете ни у кого этой проблемы якобы нет. Что можно сделать? Инструкция не предлагает никаких вариантов.