Статус: Новичок
Группы: Участники
Зарегистрирован: 23.02.2015(UTC) Сообщений: 1 Сказал(а) «Спасибо»: 1 раз
|
Автор: Lirein Ага, замените вот на такой конфиг - ПОЛНОСТЬЮ!
Код:
log = {
level = "DEBUG";
}
config = {
cert_from_registry = "false";
set_user_pin = "false";
}
params =
(
{ name = "Криптопровайдер VipNet CSP";
alias = "VIPNet";
type = "capi";
provider_name = "Infotecs Cryptographic Service Provider";
provider_num = "2";
skip_pkcs11_list = "true";
},
{ name = "Криптопровайдер VipNet CSP Linux";
alias = "VIPNet_linux";
type = "capi_linux";
provider_name = "Infotecs Cryptographic Service Provider";
provider_num = "2";
skip_pkcs11_list = "true";
},
{ name = "Криптопровайдер КриптоПро CSP";
alias = "CryptoPro";
type = "capi";
provider_name = "Crypto-Pro GOST R 34.10-2001 Cryptographic Service Provider";
provider_num = "75";
skip_pkcs11_list = "false";
},
{ name = "Криптопровайдер Рутокен CSP";
alias = "CryptoPro_Rutoken";
type = "capi";
provider_name = "GOST R 34.10-2001 Rutoken CSP";
provider_num = "75";
skip_pkcs11_list = "false";
},
{ name = "Криптопровайдер Signal-COM CSP";
alias = "SignalCom";
type = "capi";
provider_name = "Signal-COM CPGOST Cryptographic Provider";
provider_num = "75";
skip_pkcs11_list = "false";
},
{ name = "Криптопровайдер LISSI-CSP";
alias = "LISSI-CSP";
type = "capi";
provider_name = "LISSI-CSP";
provider_num = "75";
skip_pkcs11_list = "false";
},
{ name = "Токен JaCarta";
alias = "JaCarta";
type = "pkcs11";
alg = "gost2001";
model = "eToken GOST,JaCarta GOST 2.0";
lib_win = "jcPKCS11-2.DLL";
lib_linux = "libjcPKCS11-2.so.2.4.0";
lib_mac = "jcPKCS11-2";
},
{ name = "Рутокен ЭЦП";
alias = "ruTokenECP";
type = "pkcs11";
alg = "gost2001";
model = "Rutoken ECP";
lib_win = "rtpkcs11ecp.dll";
lib_linux = "librtpkcs11ecp.so";
lib_mac = "librtpkcs11ecp.dylib";
},
{
name = "CPPKCS11_2001";
alias = "CPPKCS11_2001";
type = "pkcs11";
alg = "gost2001";
model = "CPPKCS 3";
lib_linux = "/opt/cprocsp/lib/amd64/libcppkcs11.so";
lib_mac = "/opt/cprocsp/lib/libcppkcs11.dylib";
},
{
name = "CPPKCS11_2012_256";
alias = "CPPKCS11_2012_256";
type = "pkcs11";
alg = "gost2012_256";
model = "CPPKCS 3";
lib_linux = "/opt/cprocsp/lib/amd64/libcppkcs11.so";
lib_mac = "/opt/cprocsp/lib/libcppkcs11.dylib";
},
{
name = "CPPKCS11_2012_512";
alias = "CPPKCS11_2012_512";
type = "pkcs11";
alg = "gost2012_512";
model = "CPPKCS 3";
lib_linux = "/opt/cprocsp/lib/amd64/libcppkcs11.so";
lib_mac = "/opt/cprocsp/lib/libcppkcs11.dylib";
}
);
Сейчас плагин показывает список сертификатов, но войти не получается ни по гост2001, ни по гост2012. после ввода пин-кода гост2001
2019-02-22 09:56:09:IFC:ifc_load_pkcs11_lib:STARTED 2019-02-22 09:56:09:IFC:ifc_load_pkcs11_lib:module path: /opt/cprocsp/lib/amd64/libcppkcs11.so 2019-02-22 09:56:09:IFC:ifc_load_pkcs11_lib:cached PKCS#11 library found 2019-02-22 09:56:09:IFC:ifc_load_pkcs11_lib:C_Initialize already initialized 2019-02-22 09:56:09:IFC:ifc_load_pkcs11_lib:result [0] 2019-02-22 09:56:09:IFC:list_keys_pkcs11:slots count: [2] 2019-02-22 09:56:09:IFC:get_slot_and_token_info:STARTED 2019-02-22 09:56:09:IFC:get_slot_and_token_info:GetSlotInfo [0] 2019-02-22 09:56:09:IFC:get_slot_and_token_info:Slot description: "CryptoPro Slot" 2019-02-22 09:56:09:IFC:get_slot_and_token_info:C_GetTokenInfo [0] 2019-02-22 09:56:09:IFC:get_slot_and_token_info:Token Serial Number: "0000000000000000" 2019-02-22 09:56:09:IFC:get_slot_and_token_info:Token Model: "CPPKCS 3" 2019-02-22 09:56:09:IFC:get_slot_and_token_info:result [0] 2019-02-22 09:56:09:IFC:check_token_support:STARTED 2019-02-22 09:56:09:IFC:check_token_support:result [0] 2019-02-22 09:56:09:IFC:get_slot_and_token_info:STARTED 2019-02-22 09:56:09:IFC:get_slot_and_token_info:GetSlotInfo [17] 2019-02-22 09:56:09:IFC:get_slot_and_token_info:Slot description: "CryptoPro Slot" 2019-02-22 09:56:09:IFC:get_slot_and_token_info:C_GetTokenInfo [17] 2019-02-22 09:56:09:IFC:get_slot_and_token_info:Token Serial Number: "0000000000000000" 2019-02-22 09:56:09:IFC:get_slot_and_token_info:Token Model: "CPPKCS 3" 2019-02-22 09:56:09:IFC:get_slot_and_token_info:result [0] 2019-02-22 09:56:09:IFC:check_token_support:STARTED 2019-02-22 09:56:09:IFC:check_token_support:result [0] 2019-02-22 09:56:09:IFC:list_keys_pkcs11:result [0] 2019-02-22 09:56:09:IFC:ifc_get_list_info:result [0] 2019-02-22 09:56:09:WEBLIB:process_request:Response string(length = 1576) = "{"error_code":0,"ifc_list":[{"alg":"gost2001","alias":"CPPKCS11_2001","description":"CryptoPro Slot","model":"CPPKCS 3","name":"CPPKCS11_2001","num":"0","path":"/opt/cprocsp/lib/amd64/libcppkcs11.so","serial_number":"0000000000000000","skip_pkcs11_list":"","type":"pkcs11"},{"alg":"gost2001","alias":"CPPKCS11_2001","description":"CryptoPro Slot","model":"CPPKCS 3","name":"CPPKCS11_2001","num":"17","path":"/opt/cprocsp/lib/amd64/libcppkcs11.so","serial_number":"0000000000000000","skip_pkcs11_list":"","type":"pkcs11"},{"alg":"gost2012_256","alias":"CPPKCS11_2012_256","description":"CryptoPro Slot","model":"CPPKCS 3","name":"CPPKCS11_2012_256","num":"0","path":"/opt/cprocsp/lib/amd64/libcppkcs11.so","serial_number":"0000000000000000","skip_pkcs11_list":"","type":"pkcs11"},{"alg":"gost2012_256","alias":"CPPKCS11_2012_256","description":"CryptoPro Slot","model":"CPPKCS 3","name":"CPPKCS11_2012_256","num":"17","path":"/opt/cprocsp/lib/amd64/libcppkcs11.so","serial_number":"0000000000000000","skip_pkcs11_list":"","type":"pkcs11"},{"alg":"gost2012_512","alias":"CPPKCS11_2012_512","description":"CryptoPro Slot","model":"CPPKCS 3","name":"CPPKCS11_2012_512","num":"0","path":"/opt/cprocsp/lib/amd64/libcppkcs11.so","serial_number":"0000000000000000","skip_pkcs11_list":"","type":"pkcs11"},{"alg":"gost2012_512","alias":"CPPKCS11_2012_512","description":"CryptoPro Slot","model":"CPPKCS 3","name":"CPPKCS11_2012_512","num":"17","path":"/opt/cprocsp/lib/amd64/libcppkcs11.so","serial_number":"0000000000000000","skip_pkcs11_list":"","type":"pkcs11"}],"ifc_list_length":6}" 2019-02-22 09:56:09:WEBLIB:process_request:Request string(length = 214) = "{"func_name":"sign","params":{"containerId":"CPPKCS11_2001/0/C0CC85F1227FEB54E38AE65EC027229076E507FC","userPin":"**********","inDataType":1,"data":"**********","hashType":1,"signType":3,"cspUI":1,"outDataType":1}}" 2019-02-22 09:56:09:IFC:ifc_sign:STARTED 2019-02-22 09:56:09:IFC:ifc_sign:data type: 1, signature type: 3, encode_to_base64: 1 2019-02-22 09:56:09:IFC:ifc_engine:STARTED 2019-02-22 09:56:09:IFC:ifc_init_pkcs11_engine:STARTED 2019-02-22 09:56:09:IFC:ifc_init_pkcs11_engine:p11 lib name: /opt/cprocsp/lib/amd64/libcppkcs11.so, slot: 0, engine lib name: pkcs11_engine 2019-02-22 09:56:09:IFC:ifc_init_pkcs11_engine:cached crypto slot found 2019-02-22 09:56:09:IFC:pkcs11_engine_login:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:make_login:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:make_login:PASSED 2019-02-22 09:56:09:IFC:pkcs11_engine_login:pkcs11 login was proceeded 2019-02-22 09:56:09:IFC:pkcs11_engine_login:result [0] 2019-02-22 09:56:09:IFC:ifc_init_pkcs11_engine:result [0] 2019-02-22 09:56:09:IFC:ifc_engine:result [0] 2019-02-22 09:56:09:IFC:do_work_sign_cms:STARTED 2019-02-22 09:56:09:IFC:ifc_engine:STARTED 2019-02-22 09:56:09:IFC:ifc_init_pkcs11_engine:STARTED 2019-02-22 09:56:09:IFC:ifc_init_pkcs11_engine:p11 lib name: /opt/cprocsp/lib/amd64/libcppkcs11.so, slot: 0, engine lib name: pkcs11_engine 2019-02-22 09:56:09:IFC:ifc_init_pkcs11_engine:cached crypto slot found 2019-02-22 09:56:09:IFC:ifc_init_pkcs11_engine:result [0] 2019-02-22 09:56:09:IFC:ifc_engine:result [0] 2019-02-22 09:56:09:IFC:find_cert_in_store_by_id:STARTED 2019-02-22 09:56:09:IFC:find_cert_in_store_by_id:ID to find: C0CC85F1227FEB54E38AE65EC027229076E507FC 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_start:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_start:PASSED 2019-02-22 09:56:09:IFC:find_cert_in_store_by_id:STORE_list_certificate_start done 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_next:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:make_object_to_return:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:make_x509_by_handle:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:make_x509_by_handle:PASSED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:make_object_to_return:PASSED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_next:PASSED 2019-02-22 09:56:09:IFC:find_cert_in_store_by_id:STORE_list_certificate_next done 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_end:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_end:PASSED 2019-02-22 09:56:09:IFC:find_cert_in_store_by_id:STORE_list_certificate_end done 2019-02-22 09:56:09:IFC:find_cert_in_store_by_id:result [found cert handle] 2019-02-22 09:56:09:IFC:get_priv_key_by_id:STARTED 2019-02-22 09:56:09:IFC:get_priv_key_by_id:ID to find: C0CC85F1227FEB54E38AE65EC027229076E507FC 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_start:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_start:PASSED 2019-02-22 09:56:09:IFC:get_priv_key_by_id:STORE_list_private_key_start done 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_next:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:make_object_to_return:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:make_pkey_by_priv_key_handle:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:get_pub_key_value_and_sign_oid_and_hash_oid_by_id:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:get_object_handle_by_id:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:get_object_handle_by_id:PASSED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:get_pub_key_value_and_sign_oid_and_hash_oid_by_handle:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:get_pub_key_value_and_sign_oid_and_hash_oid_by_handle:PASSED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:get_pub_key_value_and_sign_oid_and_hash_oid_by_id:PASSED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:make_pkey_by_priv_key_handle:PASSED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:make_object_to_return:PASSED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_next:PASSED 2019-02-22 09:56:09:IFC:get_priv_key_by_id:STORE_list_private_key_next done 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_end:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_end:PASSED 2019-02-22 09:56:09:IFC:get_priv_key_by_id:STORE_list_private_key_end done 2019-02-22 09:56:09:IFC:get_priv_key_by_id:result [found key handle] 2019-02-22 09:56:09:IFC:make_cms:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:pub_decode_gost01:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:decode_gost_algor_params:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:decode_gost_algor_params:PASSED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:pub_decode_gost01:PASSED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_init:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_init:PASSED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_update:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_update: >>>Digest update data 39 33 30 31 30 38 34 35 31 35 <<<Digest update data 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_update:PASSED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_copy:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_copy:FROM ctx 0x1bc7430 -> TO ctx 0x7ffe12736c50 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_init:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_init:PASSED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_update:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_update: >>>Digest update data 39 33 30 31 30 38 34 35 31 35 <<<Digest update data 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_update:PASSED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_copy:PASSED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_final:STARTED ctx = 0x7ffe12736c50 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_final:ERROR:C_DigestInit failed - CKR_MECHANISM_PARAM_INVALID:gost_md.c:558 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_final:FAILED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_cleanup:STARTED ctx = 0x7ffe12736c50 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_cleanup:PASSED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_cleanup:STARTED ctx = 0x1bc7430 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:gost_digest_cleanup:PASSED 2019-02-22 09:56:09:IFC:make_cms:ERROR:CMS_final failed:ifc_sign_cms.c:369 2019-02-22 09:56:09:IFC:make_cms:result [NULL] 2019-02-22 09:56:09:IFC:do_work_sign_cms:ERROR:make_cms error:ifc_sign_cms.c:192 2019-02-22 09:56:09:IFC:do_work_sign_cms:result [1] 2019-02-22 09:56:09:IFC:ifc_p11_logout:STARTED 2019-02-22 09:56:09:IFC:ifc_engine:STARTED 2019-02-22 09:56:09:IFC:ifc_init_pkcs11_engine:STARTED 2019-02-22 09:56:09:IFC:ifc_init_pkcs11_engine:p11 lib name: /opt/cprocsp/lib/amd64/libcppkcs11.so, slot: 0, engine lib name: pkcs11_engine 2019-02-22 09:56:09:IFC:ifc_init_pkcs11_engine:cached crypto slot found 2019-02-22 09:56:09:IFC:ifc_init_pkcs11_engine:result [0] 2019-02-22 09:56:09:IFC:ifc_engine:result [0] 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:make_logout:STARTED 2019-02-22 09:56:09:pkcs11_engine-CPPKCS11_2001-0:make_logout:PASSED 2019-02-22 09:56:09:IFC:ifc_p11_logout:result [0] 2019-02-22 09:56:09:IFC:ifc_sign:result [1] 2019-02-22 09:56:09:WEBLIB:process_request:Response string(length = 16) = "{"error_code":1}"
после ввода пин-кода гост2012
2019-02-22 09:43:56:IFC:ifc_load_pkcs11_lib:STARTED 2019-02-22 09:43:56:IFC:ifc_load_pkcs11_lib:module path: /opt/cprocsp/lib/amd64/libcppkcs11.so 2019-02-22 09:43:56:IFC:ifc_load_pkcs11_lib:cached PKCS#11 library found 2019-02-22 09:43:56:IFC:ifc_load_pkcs11_lib:C_Initialize already initialized 2019-02-22 09:43:56:IFC:ifc_load_pkcs11_lib:result [0] 2019-02-22 09:43:56:IFC:list_keys_pkcs11:slots count: [2] 2019-02-22 09:43:56:IFC:get_slot_and_token_info:STARTED 2019-02-22 09:43:56:IFC:get_slot_and_token_info:GetSlotInfo [0] 2019-02-22 09:43:56:IFC:get_slot_and_token_info:Slot description: "CryptoPro Slot" 2019-02-22 09:43:56:IFC:get_slot_and_token_info:C_GetTokenInfo [0] 2019-02-22 09:43:56:IFC:get_slot_and_token_info:Token Serial Number: "0000000000000000" 2019-02-22 09:43:56:IFC:get_slot_and_token_info:Token Model: "CPPKCS 3" 2019-02-22 09:43:56:IFC:get_slot_and_token_info:result [0] 2019-02-22 09:43:56:IFC:check_token_support:STARTED 2019-02-22 09:43:56:IFC:check_token_support:result [0] 2019-02-22 09:43:56:IFC:get_slot_and_token_info:STARTED 2019-02-22 09:43:56:IFC:get_slot_and_token_info:GetSlotInfo [17] 2019-02-22 09:43:56:IFC:get_slot_and_token_info:Slot description: "CryptoPro Slot" 2019-02-22 09:43:56:IFC:get_slot_and_token_info:C_GetTokenInfo [17] 2019-02-22 09:43:56:IFC:get_slot_and_token_info:Token Serial Number: "0000000000000000" 2019-02-22 09:43:56:IFC:get_slot_and_token_info:Token Model: "CPPKCS 3" 2019-02-22 09:43:56:IFC:get_slot_and_token_info:result [0] 2019-02-22 09:43:56:IFC:check_token_support:STARTED 2019-02-22 09:43:56:IFC:check_token_support:result [0] 2019-02-22 09:43:56:IFC:list_keys_pkcs11:result [0] 2019-02-22 09:43:56:IFC:ifc_get_list_info:result [0] 2019-02-22 09:43:56:WEBLIB:process_request:Response string(length = 1576) = "{"error_code":0,"ifc_list":[{"alg":"gost2001","alias":"CPPKCS11_2001","description":"CryptoPro Slot","model":"CPPKCS 3","name":"CPPKCS11_2001","num":"0","path":"/opt/cprocsp/lib/amd64/libcppkcs11.so","serial_number":"0000000000000000","skip_pkcs11_list":"","type":"pkcs11"},{"alg":"gost2001","alias":"CPPKCS11_2001","description":"CryptoPro Slot","model":"CPPKCS 3","name":"CPPKCS11_2001","num":"17","path":"/opt/cprocsp/lib/amd64/libcppkcs11.so","serial_number":"0000000000000000","skip_pkcs11_list":"","type":"pkcs11"},{"alg":"gost2012_256","alias":"CPPKCS11_2012_256","description":"CryptoPro Slot","model":"CPPKCS 3","name":"CPPKCS11_2012_256","num":"0","path":"/opt/cprocsp/lib/amd64/libcppkcs11.so","serial_number":"0000000000000000","skip_pkcs11_list":"","type":"pkcs11"},{"alg":"gost2012_256","alias":"CPPKCS11_2012_256","description":"CryptoPro Slot","model":"CPPKCS 3","name":"CPPKCS11_2012_256","num":"17","path":"/opt/cprocsp/lib/amd64/libcppkcs11.so","serial_number":"0000000000000000","skip_pkcs11_list":"","type":"pkcs11"},{"alg":"gost2012_512","alias":"CPPKCS11_2012_512","description":"CryptoPro Slot","model":"CPPKCS 3","name":"CPPKCS11_2012_512","num":"0","path":"/opt/cprocsp/lib/amd64/libcppkcs11.so","serial_number":"0000000000000000","skip_pkcs11_list":"","type":"pkcs11"},{"alg":"gost2012_512","alias":"CPPKCS11_2012_512","description":"CryptoPro Slot","model":"CPPKCS 3","name":"CPPKCS11_2012_512","num":"17","path":"/opt/cprocsp/lib/amd64/libcppkcs11.so","serial_number":"0000000000000000","skip_pkcs11_list":"","type":"pkcs11"}],"ifc_list_length":6}" 2019-02-22 09:43:56:WEBLIB:process_request:Request string(length = 214) = "{"func_name":"sign","params":{"containerId":"CPPKCS11_2001/0/A9810A7E788C4ED9E0975DC32CCF0CCEDFC4310B","userPin":"**********","inDataType":1,"data":"**********","hashType":1,"signType":3,"cspUI":1,"outDataType":1}}" 2019-02-22 09:43:56:IFC:ifc_sign:STARTED 2019-02-22 09:43:56:IFC:ifc_sign:data type: 1, signature type: 3, encode_to_base64: 1 2019-02-22 09:43:56:IFC:ifc_engine:STARTED 2019-02-22 09:43:56:IFC:ifc_init_pkcs11_engine:STARTED 2019-02-22 09:43:56:IFC:ifc_init_pkcs11_engine:p11 lib name: /opt/cprocsp/lib/amd64/libcppkcs11.so, slot: 0, engine lib name: pkcs11_engine 2019-02-22 09:43:56:IFC:ifc_init_pkcs11_engine:cached crypto slot found 2019-02-22 09:43:56:IFC:pkcs11_engine_login:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:make_login:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:make_login:PASSED 2019-02-22 09:43:56:IFC:pkcs11_engine_login:pkcs11 login was proceeded 2019-02-22 09:43:56:IFC:pkcs11_engine_login:result [0] 2019-02-22 09:43:56:IFC:ifc_init_pkcs11_engine:result [0] 2019-02-22 09:43:56:IFC:ifc_engine:result [0] 2019-02-22 09:43:56:IFC:do_work_sign_cms:STARTED 2019-02-22 09:43:56:IFC:ifc_engine:STARTED 2019-02-22 09:43:56:IFC:ifc_init_pkcs11_engine:STARTED 2019-02-22 09:43:56:IFC:ifc_init_pkcs11_engine:p11 lib name: /opt/cprocsp/lib/amd64/libcppkcs11.so, slot: 0, engine lib name: pkcs11_engine 2019-02-22 09:43:56:IFC:ifc_init_pkcs11_engine:cached crypto slot found 2019-02-22 09:43:56:IFC:ifc_init_pkcs11_engine:result [0] 2019-02-22 09:43:56:IFC:ifc_engine:result [0] 2019-02-22 09:43:56:IFC:find_cert_in_store_by_id:STARTED 2019-02-22 09:43:56:IFC:find_cert_in_store_by_id:ID to find: A9810A7E788C4ED9E0975DC32CCF0CCEDFC4310B 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_start:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_start:PASSED 2019-02-22 09:43:56:IFC:find_cert_in_store_by_id:STORE_list_certificate_start done 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_next:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:make_object_to_return:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:make_x509_by_handle:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:make_x509_by_handle:PASSED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:make_object_to_return:PASSED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_next:PASSED 2019-02-22 09:43:56:IFC:find_cert_in_store_by_id:STORE_list_certificate_next done 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_end:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_end:PASSED 2019-02-22 09:43:56:IFC:find_cert_in_store_by_id:STORE_list_certificate_end done 2019-02-22 09:43:56:IFC:find_cert_in_store_by_id:result [found cert handle] 2019-02-22 09:43:56:IFC:get_priv_key_by_id:STARTED 2019-02-22 09:43:56:IFC:get_priv_key_by_id:ID to find: A9810A7E788C4ED9E0975DC32CCF0CCEDFC4310B 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_start:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_start:PASSED 2019-02-22 09:43:56:IFC:get_priv_key_by_id:STORE_list_private_key_start done 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_next:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:make_object_to_return:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:make_pkey_by_priv_key_handle:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:get_pub_key_value_and_sign_oid_and_hash_oid_by_id:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:get_object_handle_by_id:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:get_object_handle_by_id:PASSED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:get_pub_key_value_and_sign_oid_and_hash_oid_by_handle:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:get_pub_key_value_and_sign_oid_and_hash_oid_by_handle:PASSED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:get_pub_key_value_and_sign_oid_and_hash_oid_by_id:PASSED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:make_pkey_by_priv_key_handle:PASSED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:make_object_to_return:PASSED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_next:PASSED 2019-02-22 09:43:56:IFC:get_priv_key_by_id:STORE_list_private_key_next done 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_end:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_store_list_end:PASSED 2019-02-22 09:43:56:IFC:get_priv_key_by_id:STORE_list_private_key_end done 2019-02-22 09:43:56:IFC:get_priv_key_by_id:result [found key handle] 2019-02-22 09:43:56:IFC:make_cms:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:pub_decode_gost01:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:decode_gost_algor_params:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:decode_gost_algor_params:PASSED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:pub_decode_gost01:PASSED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_init:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_init:PASSED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_update:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_update: >>>Digest update data 39 33 30 31 30 38 34 35 31 35 <<<Digest update data 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_update:PASSED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_copy:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_copy:FROM ctx 0x1b96ec0 -> TO ctx 0x7ffe12736c50 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_init:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_init:PASSED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_update:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_update: >>>Digest update data 39 33 30 31 30 38 34 35 31 35 <<<Digest update data 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_update:PASSED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_copy:PASSED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_final_2012_256:STARTED ctx = 0x7ffe12736c50 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_final_2012_256:ERROR:C_DigestInit failed - CKR_MECHANISM_PARAM_INVALID:gost_md.c:421 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_final_2012_256:FAILED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_cleanup:STARTED ctx = 0x7ffe12736c50 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_cleanup:PASSED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_cleanup:STARTED ctx = 0x1b96ec0 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:gost_digest_cleanup:PASSED 2019-02-22 09:43:56:IFC:make_cms:ERROR:CMS_final failed:ifc_sign_cms.c:369 2019-02-22 09:43:56:IFC:make_cms:result [NULL] 2019-02-22 09:43:56:IFC:do_work_sign_cms:ERROR:make_cms error:ifc_sign_cms.c:192 2019-02-22 09:43:56:IFC:do_work_sign_cms:result [1] 2019-02-22 09:43:56:IFC:ifc_p11_logout:STARTED 2019-02-22 09:43:56:IFC:ifc_engine:STARTED 2019-02-22 09:43:56:IFC:ifc_init_pkcs11_engine:STARTED 2019-02-22 09:43:56:IFC:ifc_init_pkcs11_engine:p11 lib name: /opt/cprocsp/lib/amd64/libcppkcs11.so, slot: 0, engine lib name: pkcs11_engine 2019-02-22 09:43:56:IFC:ifc_init_pkcs11_engine:cached crypto slot found 2019-02-22 09:43:56:IFC:ifc_init_pkcs11_engine:result [0] 2019-02-22 09:43:56:IFC:ifc_engine:result [0] 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:make_logout:STARTED 2019-02-22 09:43:56:pkcs11_engine-CPPKCS11_2001-0:make_logout:PASSED 2019-02-22 09:43:56:IFC:ifc_p11_logout:result [0] 2019-02-22 09:43:56:IFC:ifc_sign:result [1] 2019-02-22 09:43:56:WEBLIB:process_request:Response string(length = 16) = "{"error_code":1}"
|