Ошибка при подключении Рутокен ЭЦП на Mac OS
Привет, возникла проблема с работой рутокена эцп на macos (Macbook pro m1, Ventura 13.5.2)
Драйверы для macOS установила, при подключении рутокена к маку в логах проги "Рутокен для macOS" ошибки (см. ниже)
Мак саму флешку видит, тесты pcsctest завершаются успешно, sc_auth identities не выводит ничего
На другом ноутбуке с Windows с токеном проблем нет, подключается и работает
[2023-10-13T17:27:53+03:00] TRACE: <TokenDriver.swift:15:tokenDriver(_:createTokenFor:aid:)> INPUT <RutokenCTK.TokenDriver: 0x14d6126e0> <TKSmartCard: 0x14d718d80> nil
[2023-10-13T17:27:53+03:00] ERROR: <Pkcs11Token.swift:26:init(withSlotId:)> failed to convert token serial or label to String
0 RutokenCTK 0x0000000104e6fc4c $s10RutokenCTK11Pkcs11TokenC10withSlotIdACSgSu_tcfc + 1104
1 RutokenCTK 0x0000000104e7ca0c $s10RutokenCTK18Pkcs11TokenManagerC03getD09forSerialAA0cD0CSgSS_tFTf4nd_n + 192
2 RutokenCTK 0x0000000104e77af8 $s10RutokenCTK5TokenC9smartCard3aid11tokenDriverACSo07TKSmartE0C_10Foundation4DataVSgSo0iecH0CtKcfc + 1216
3 RutokenCTK 0x0000000104e7ea28 $s10RutokenCTK11TokenDriverC05tokenD0_06createC3For3aidSo011TKSmartCardC0CSo0ijcD0C_So0iJ0C10Foundation4DataVSgtKF + 596
4 RutokenCTK 0x0000000104e7eb5c $s10RutokenCTK11TokenDriverC05tokenD0_06createC3For3aidSo011TKSmartCardC0CSo0ijcD0C_So0iJ0C10Foundation4DataVSgtKFTo + 172
5 CryptoTokenKit 0x000000019c7cd2ec -[TKSmartCardTokenDriver createTokenWithSlot:AID:error:] + 444
6 CryptoTokenKit 0x000000019c7afac4 -[TKTokenDriver acquireTokenWithSlot:AID:reply:] + 76
7 CryptoTokenKit 0x000000019c7b0674 -[TKTokenDriverContext acquireTokenWithSlot:AID:reply:] + 284
8 Foundation 0x0000000189243f88 __NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT_S3__ + 16
9 Foundation 0x000000018981a5ac -[NSXPCConnection _decodeAndInvokeMessageWithEvent:reply:flags:] + 1616
10 Foundation 0x000000018981bd88 message_handler_message + 88
11 Foundation 0x000000018981b7f4 message_handler + 152
12 libxpc.dylib 0x0000000187edfe74 _xpc_connection_call_event_handler + 152
13 libxpc.dylib 0x0000000187ede8f4 _xpc_connection_mach_event + 1376
14 libdispatch.dylib 0x0000000187fec4c0 _dispatch_client_callout4 + 20
15 libdispatch.dylib 0x0000000188008ed8 _dispatch_mach_msg_invoke + 468
16 libdispatch.dylib 0x0000000187ff3960 _dispatch_lane_serial_drain + 372
17 libdispatch.dylib 0x0000000188009c24 _dispatch_mach_invoke + 448
18 libdispatch.dylib 0x0000000187ff3960 _dispatch_lane_serial_drain + 372
19 libdispatch.dylib 0x0000000187ff462c _dispatch_lane_invoke + 436
20 libdispatch.dylib 0x0000000187fff244 _dispatch_workloop_worker_thread + 648
21 libsystem_pthread.dylib 0x0000000188198074 _pthread_wqthread + 288
22 libsystem_pthread.dylib 0x0000000188196d94 start_wqthread + 8
[2023-10-13T17:27:53+03:00] ERROR: <Token.swift:65:init(smartCard:aid:tokenDriver:)> pkcs11 failed to find token with serial 409C6F79
0 RutokenCTK 0x0000000104e77bf4 $s10RutokenCTK5TokenC9smartCard3aid11tokenDriverACSo07TKSmartE0C_10Foundation4DataVSgSo0iecH0CtKcfc + 1468
1 RutokenCTK 0x0000000104e7ea28 $s10RutokenCTK11TokenDriverC05tokenD0_06createC3For3aidSo011TKSmartCardC0CSo0ijcD0C_So0iJ0C10Foundation4DataVSgtKF + 596
2 RutokenCTK 0x0000000104e7eb5c $s10RutokenCTK11TokenDriverC05tokenD0_06createC3For3aidSo011TKSmartCardC0CSo0ijcD0C_So0iJ0C10Foundation4DataVSgtKFTo + 172
3 CryptoTokenKit 0x000000019c7cd2ec -[TKSmartCardTokenDriver createTokenWithSlot:AID:error:] + 444
4 CryptoTokenKit 0x000000019c7afac4 -[TKTokenDriver acquireTokenWithSlot:AID:reply:] + 76
5 CryptoTokenKit 0x000000019c7b0674 -[TKTokenDriverContext acquireTokenWithSlot:AID:reply:] + 284
6 Foundation 0x0000000189243f88 __NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT_S3__ + 16
7 Foundation 0x000000018981a5ac -[NSXPCConnection _decodeAndInvokeMessageWithEvent:reply:flags:] + 1616
8 Foundation 0x000000018981bd88 message_handler_message + 88
9 Foundation 0x000000018981b7f4 message_handler + 152
10 libxpc.dylib 0x0000000187edfe74 _xpc_connection_call_event_handler + 152
11 libxpc.dylib 0x0000000187ede8f4 _xpc_connection_mach_event + 1376
12 libdispatch.dylib 0x0000000187fec4c0 _dispatch_client_callout4 + 20
13 libdispatch.dylib 0x0000000188008ed8 _dispatch_mach_msg_invoke + 468
14 libdispatch.dylib 0x0000000187ff3960 _dispatch_lane_serial_drain + 372
15 libdispatch.dylib 0x0000000188009c24 _dispatch_mach_invoke + 448
16 libdispatch.dylib 0x0000000187ff3960 _dispatch_lane_serial_drain + 372
17 libdispatch.dylib 0x0000000187ff462c _dispatch_lane_invoke + 436
18 libdispatch.dylib 0x0000000187fff244 _dispatch_workloop_worker_thread + 648
19 libsystem_pthread.dylib 0x0000000188198074 _pthread_wqthread + 288
20 libsystem_pthread.dylib 0x0000000188196d94 start_wqthread + 8
[2023-10-13T17:27:53+03:00] TRACE: <TokenDriver.swift:17:tokenDriver(_:createTokenFor:aid:)> OUT