[../src/provider.c:1438] OSSL_provider_init(): Provided config params: [../src/provider.c:1448] OSSL_provider_init(): pkcs11-module-path: [none] [../src/provider.c:1448] OSSL_provider_init(): pkcs11-module-init-args: [none] [../src/provider.c:1448] OSSL_provider_init(): pkcs11-module-token-pin: [****] [../src/provider.c:1448] OSSL_provider_init(): pkcs11-module-allow-export: [none] [../src/provider.c:1448] OSSL_provider_init(): pkcs11-module-login-behavior: [none] [../src/provider.c:1448] OSSL_provider_init(): pkcs11-module-load-behavior: [none] [../src/provider.c:1448] OSSL_provider_init(): pkcs11-module-cache-pins: [none] [../src/provider.c:1448] OSSL_provider_init(): pkcs11-module-cache-keys: [none] [../src/provider.c:1448] OSSL_provider_init(): pkcs11-module-quirks: [none] [../src/provider.c:1448] OSSL_provider_init(): pkcs11-module-cache-sessions: [none] [../src/provider.c:1448] OSSL_provider_init(): pkcs11-module-encode-provider-uri-to-pem: [none] [../src/provider.c:1467] OSSL_provider_init(): PIN not available [../src/provider.c:1481] OSSL_provider_init(): Export allowed [../src/provider.c:1500] OSSL_provider_init(): Login behavior: auto [../src/provider.c:1517] OSSL_provider_init(): PINs will not be cached [../src/provider.c:1534] OSSL_provider_init(): Key caching: in session object [../src/provider.c:1579] OSSL_provider_init(): No quirks [../src/provider.c:1598] OSSL_provider_init(): Cache Sessions: 5 [../src/provider.c:1606] OSSL_provider_init(): PK11-URI will not be written instead of PrivateKeyInfo [../src/provider.c:1619] OSSL_provider_init(): Load behavior: default [../src/store.c:198] p11prov_store_open(): object open (0x49617a0, pkcs11:token=label_gaqk4r;object=label_gaqk4r;type=public) [../src/interface.c:290] p11prov_module_init(): PKCS#11: Initializing the module: /usr/lib64/pkcs11/p11-kit-client.so [../src/interface.c:100] populate_interface(): Populating Interfaces with 'PKCS 11', version 3.0 [../src/interface.gen.c:16] p11prov_Initialize(): Calling C_Initialize [../src/interface.gen.c:62] p11prov_GetInfo(): Calling C_GetInfo [../src/interface.c:320] p11prov_module_init(): Module Info: ck_ver:3.0 lib: 'PKCS#11 Kit' 'PKCS#11 Kit Proxy Module' ver:1.1 [../src/interface.gen.c:135] p11prov_GetSlotList(): Calling C_GetSlotList [../src/interface.gen.c:135] p11prov_GetSlotList(): Calling C_GetSlotList [../src/interface.gen.c:159] p11prov_GetSlotInfo(): Calling C_GetSlotInfo [../src/interface.gen.c:183] p11prov_GetTokenInfo(): Calling C_GetTokenInfo [../src/session.c:124] p11prov_session_pool_init(): Creating new session pool [../src/provider.c:612] p11prov_ctx_cache_sessions(): cache_sessions = 5 [../src/session.c:151] p11prov_session_pool_init(): New session pool 0x4995b70 created [../src/objects.c:75] p11prov_obj_pool_init(): Creating new object pool [../src/objects.c:90] p11prov_obj_pool_init(): New object pool 0x4996120 created [../src/interface.gen.c:258] p11prov_OpenSession(): Calling C_OpenSession [../src/interface.gen.c:533] p11prov_FindObjectsInit(): Calling C_FindObjectsInit [../src/interface.gen.c:559] p11prov_FindObjects(): Calling C_FindObjects [../src/interface.gen.c:583] p11prov_FindObjectsFinal(): Calling C_FindObjectsFinal [../src/slot.c:68] get_slot_profiles(): No profiles for slot 17 [../src/interface.gen.c:281] p11prov_CloseSession(): Calling C_CloseSession [../src/interface.gen.c:208] p11prov_GetMechanismList(): Calling C_GetMechanismList [../src/slot.c:100] get_slot_mechanisms(): Slot(17) mechs found: 70 [../src/interface.gen.c:208] p11prov_GetMechanismList(): Calling C_GetMechanismList Slot Info: ID: 17 Description: [SoftHSM slot ID 0x21e7966f] Manufacturer ID: [SoftHSM project] Flags (0x000001): CKF_TOKEN_PRESENT (0x000001) Hardware Version: 2.6 Firmware Version: 2.6 Token Info: Label: [label_gaqk4r] Manufacturer ID: [SoftHSM project] Model: [SoftHSM v2] Serial Number: [55ba2048a1e7966f] Flags (0x00042d): CKF_RNG (0x000001) CKF_LOGIN_REQUIRED (0x000004) CKF_USER_PIN_INITIALIZED (0x000008) CKF_RESTORE_KEY_NOT_NEEDED (0x000020) CKF_TOKEN_INITIALIZED (0x000400) Session Count Max: 0 Current: 18446744073709551615 R/W Session Count Max: 0 Current: 18446744073709551615 Pin Len Range: 4-255 Public Memory Total: 18446744073709551615 Free: 18446744073709551615 Private Memory Total: 18446744073709551615 Free: 18446744073709551615 Hardware Version: 2.6 Firmware Version: 2.6 UTC Time: [2024101414543100] No profiles specified [../src/interface.gen.c:159] p11prov_GetSlotInfo(): Calling C_GetSlotInfo [../src/interface.gen.c:183] p11prov_GetTokenInfo(): Calling C_GetTokenInfo [../src/session.c:124] p11prov_session_pool_init(): Creating new session pool [../src/provider.c:612] p11prov_ctx_cache_sessions(): cache_sessions = 5 [../src/session.c:151] p11prov_session_pool_init(): New session pool 0x4996720 created [../src/objects.c:75] p11prov_obj_pool_init(): Creating new object pool [../src/objects.c:90] p11prov_obj_pool_init(): New object pool 0x4996790 created [../src/interface.gen.c:258] p11prov_OpenSession(): Calling C_OpenSession [../src/interface.gen.c:262] p11prov_OpenSession(): Error: 0x000000E1; Error returned by C_OpenSession [../src/interface.gen.c:208] p11prov_GetMechanismList(): Calling C_GetMechanismList [../src/slot.c:100] get_slot_mechanisms(): Slot(18) mechs found: 70 [../src/interface.gen.c:208] p11prov_GetMechanismList(): Calling C_GetMechanismList Slot Info: ID: 18 Description: [SoftHSM slot ID 0x1] Manufacturer ID: [SoftHSM project] Flags (0x000001): CKF_TOKEN_PRESENT (0x000001) Hardware Version: 2.6 Firmware Version: 2.6 Token Info: Label: [] Manufacturer ID: [SoftHSM project] Model: [SoftHSM v2] Serial Number: [] Flags (0xc00025): CKF_RNG (0x000001) CKF_LOGIN_REQUIRED (0x000004) CKF_RESTORE_KEY_NOT_NEEDED (0x000020) CKF_SO_PIN_LOCKED (0x400000) CKF_SO_PIN_TO_BE_CHANGED (0x800000) Session Count Max: 0 Current: 18446744073709551615 R/W Session Count Max: 0 Current: 18446744073709551615 Pin Len Range: 4-255 Public Memory Total: 18446744073709551615 Free: 18446744073709551615 Private Memory Total: 18446744073709551615 Free: 18446744073709551615 Hardware Version: 2.6 Firmware Version: 2.6 UTC Time: [2024101414543100] No profiles specified [../src/random.c:85] p11prov_rand_generate(): rand: generate (add bytes: 0) [../src/session.c:861] p11prov_get_session(): Get session on slot 18446744073709551615, reqlogin=false, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=17, uri=(nil), mechtype=ffffffffffffffff, rw=false) [../src/session.c:930] p11prov_get_session(): Found a slot 17 [../src/session.c:273] session_new(): Creating new P11PROV_SESSION session on pool 0x4995b70 [../src/session.c:307] session_new(): Total sessions: 1 [../src/interface.gen.c:258] p11prov_OpenSession(): Calling C_OpenSession [../src/session.c:80] token_session_open(): C_OpenSession ret:0 (session: 18) [../src/interface.gen.c:305] p11prov_GetSessionInfo(): Calling C_GetSessionInfo [../src/interface.gen.c:1055] p11prov_GenerateRandom(): Calling C_GenerateRandom [../src/util.c:563] p11prov_parse_uri(): ctx=0x49617a0 uri=pkcs11:token=label_gaqk4r;object=label_gaqk4r;type=public) [../src/util.c:369] parse_utf8str(): String [label_gaqk4r] -> [label_gaqk4r] [../src/util.c:369] parse_utf8str(): String [label_gaqk4r] -> [label_gaqk4r] [../src/util.c:369] parse_utf8str(): String [public] -> [public] [../src/store.c:495] p11prov_store_set_ctx_params(): set ctx params (0x4997500, 0x7ffc4b0ae500) [../src/store.c:419] p11prov_store_eof(): store eof (0x4997500) [../src/store.c:251] p11prov_store_load(): store load (0x4997500) [../src/store.c:93] store_fetch(): called (store_ctx=0x4997500) [../src/provider.c:594] p11prov_ctx_login_behavior(): login_behavior = 0 [../src/session.c:861] p11prov_get_session(): Get session on slot 18446744073709551615, reqlogin=false, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=17, uri=0x49975b0, mechtype=ffffffffffffffff, rw=false) [../src/session.c:930] p11prov_get_session(): Found a slot 17 [../src/interface.gen.c:305] p11prov_GetSessionInfo(): Calling C_GetSessionInfo [../src/objects.c:991] p11prov_obj_find(): Find objects [class=2, id-len=0, label=label_gaqk4r] [../src/interface.gen.c:533] p11prov_FindObjectsInit(): Calling C_FindObjectsInit [../src/interface.gen.c:559] p11prov_FindObjects(): Calling C_FindObjects [../src/interface.gen.c:559] p11prov_FindObjects(): Calling C_FindObjects [../src/interface.gen.c:583] p11prov_FindObjectsFinal(): Calling C_FindObjectsFinal [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x00000000 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (1): 0x00000100 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (2): 0x00000171 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (3): 0x00000001 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000000 value:0x4997700, len:8 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000100 value:0x4997720, len:8 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000171 value:0x4997710, len:1 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000001 value:0x4997711, len:1 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x00000120 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (1): 0x00000122 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (2): 0x00000102 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (3): 0x00000003 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (4): 0x00000202 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/interface.gen.c:488] p11prov_GetAttributeValue(): Error: 0x00000012; Error returned by C_GetAttributeValue [../src/util.c:72] p11prov_fetch_attributes(): Querying attributes one by one [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:106] p11prov_fetch_attributes(): Attribute| type:0x00000120 value:0x49635f0, len:256 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:106] p11prov_fetch_attributes(): Attribute| type:0x00000122 value:0x4996810, len:3 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:106] p11prov_fetch_attributes(): Attribute| type:0x00000102 value:0x49967f0, len:20 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:106] p11prov_fetch_attributes(): Attribute| type:0x00000003 value:0x495fad0, len:12 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/interface.gen.c:488] p11prov_GetAttributeValue(): Error: 0x00000012; Error returned by C_GetAttributeValue [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/interface.gen.c:488] p11prov_GetAttributeValue(): Error: 0x00000012; Error returned by C_GetAttributeValue [../src/util.c:106] p11prov_fetch_attributes(): Attribute| type:0x00000202 value:(nil), len:18446744073709551615 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x40000600 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:61] p11prov_fetch_attributes(): (Re)Fetching 1 attributes [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x40000600 value:0x4992580, len:0 [../src/objects.c:1075] p11prov_obj_find(): Find objects: found 1 objects; Returning 0 [../src/session.c:861] p11prov_get_session(): Get session on slot 18, reqlogin=false, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=18, uri=0x49975b0, mechtype=ffffffffffffffff, rw=false) [../src/store.c:127] store_fetch(): Failed to get session to load keys (slotid=12, ret=e0) [../src/store.c:451] p11prov_store_export_object(): store (0x4997500) export object 0x49976e0, 120 [../src/provider.c:588] p11prov_ctx_allow_export(): allow_export = 0 [../src/objects.c:1620] get_public_attrs(): Get Public Attributes (obj=0x49976e0, atrs=0x7ffc4b0ae130, num=2) [../src/store.c:434] p11prov_store_close(): store close (0x4997500) [../src/store.c:35] p11prov_store_ctx_free(): store ctx free (0x4997500) [../src/objects.c:433] p11prov_obj_free(): Free Object: 0x49976e0 (handle:4) [../src/store.c:198] p11prov_store_open(): object open (0x49617a0, pkcs11:token=label_gaqk4r;object=label_gaqk4r;type=private?pin-value=1234) [../src/util.c:563] p11prov_parse_uri(): ctx=0x49617a0 uri=pkcs11:token=label_gaqk4r;object=label_gaqk4r;type=private?pin-value=1234) [../src/util.c:369] parse_utf8str(): String [label_gaqk4r] -> [label_gaqk4r] [../src/util.c:369] parse_utf8str(): String [label_gaqk4r] -> [label_gaqk4r] [../src/util.c:369] parse_utf8str(): String [private] -> [private] [../src/util.c:369] parse_utf8str(): String [1234] -> [1234] [../src/store.c:495] p11prov_store_set_ctx_params(): set ctx params (0x4997500, 0x7ffc4b0ae520) [../src/store.c:419] p11prov_store_eof(): store eof (0x4997500) [../src/store.c:251] p11prov_store_load(): store load (0x4997500) [../src/store.c:93] store_fetch(): called (store_ctx=0x4997500) [../src/provider.c:594] p11prov_ctx_login_behavior(): login_behavior = 0 [../src/session.c:861] p11prov_get_session(): Get session on slot 18446744073709551615, reqlogin=true, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=17, uri=0x49982a0, mechtype=ffffffffffffffff, rw=false) [../src/provider.c:594] p11prov_ctx_login_behavior(): login_behavior = 0 [../src/interface.gen.c:305] p11prov_GetSessionInfo(): Calling C_GetSessionInfo [../src/session.c:449] token_login(): Log into the token session=0x49631a0 uri=0x49982a0 slot=0x4995d50 type=1 [../src/session.c:519] token_login(): Attempt Login on session 18 [../src/interface.gen.c:385] p11prov_Login(): Calling C_Login [../src/session.c:930] p11prov_get_session(): Found a slot 17 [../src/session.c:273] session_new(): Creating new P11PROV_SESSION session on pool 0x4995b70 [../src/session.c:307] session_new(): Total sessions: 2 [../src/interface.gen.c:258] p11prov_OpenSession(): Calling C_OpenSession [../src/session.c:80] token_session_open(): C_OpenSession ret:0 (session: 19) [../src/interface.gen.c:305] p11prov_GetSessionInfo(): Calling C_GetSessionInfo [../src/objects.c:991] p11prov_obj_find(): Find objects [class=3, id-len=0, label=label_gaqk4r] [../src/interface.gen.c:533] p11prov_FindObjectsInit(): Calling C_FindObjectsInit [../src/interface.gen.c:559] p11prov_FindObjects(): Calling C_FindObjects [../src/interface.gen.c:559] p11prov_FindObjects(): Calling C_FindObjects [../src/interface.gen.c:583] p11prov_FindObjectsFinal(): Calling C_FindObjectsFinal [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x00000000 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (1): 0x00000100 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (2): 0x00000171 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (3): 0x00000001 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000000 value:0x499dcb0, len:8 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000100 value:0x499dcd0, len:8 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000171 value:0x499dcc0, len:1 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000001 value:0x499dcc1, len:1 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x00000120 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (1): 0x00000122 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (2): 0x00000102 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (3): 0x00000003 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (4): 0x00000202 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:61] p11prov_fetch_attributes(): (Re)Fetching 5 attributes [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000120 value:0x49635f0, len:256 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000122 value:0x4992580, len:3 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000102 value:0x4996810, len:20 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000003 value:0x4964b10, len:12 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000202 value:0x4995cd0, len:1 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x40000600 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:61] p11prov_fetch_attributes(): (Re)Fetching 1 attributes [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x40000600 value:0x499cc90, len:0 [../src/objects.c:1075] p11prov_obj_find(): Find objects: found 1 objects; Returning 0 [../src/session.c:861] p11prov_get_session(): Get session on slot 18, reqlogin=true, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=18, uri=0x49982a0, mechtype=ffffffffffffffff, rw=false) [../src/store.c:127] store_fetch(): Failed to get session to load keys (slotid=12, ret=e0) [../src/store.c:451] p11prov_store_export_object(): store (0x4997500) export object 0x499dc90, 120 [../src/provider.c:588] p11prov_ctx_allow_export(): allow_export = 0 [../src/objects.c:1979] p11prov_obj_export_public_key(): Error: 0x00000005; Not a public Key [../src/keymgmt.c:729] p11prov_rsa_load(): rsa load 0x499dc90, 120 [../src/objects.c:402] p11prov_obj_ref_no_cache(): Ref Object: 0x499dc90 (handle:6) [../src/keymgmt.c:902] p11prov_rsa_get_params(): rsa get params 0x499dc90 [../src/keymgmt.c:737] p11prov_rsa_has(): rsa has 0x499dc90 1 [../src/store.c:434] p11prov_store_close(): store close (0x4997500) [../src/store.c:35] p11prov_store_ctx_free(): store ctx free (0x4997500) [../src/objects.c:433] p11prov_obj_free(): Free Object: 0x499dc90 (handle:6) [../src/objects.c:440] p11prov_obj_free(): object free: reference held [../src/store.c:198] p11prov_store_open(): object open (0x49617a0, pkcs11:token=label_gaqk4r;object=label_gaqk4r;type=private?pin-value=1234) [../src/util.c:563] p11prov_parse_uri(): ctx=0x49617a0 uri=pkcs11:token=label_gaqk4r;object=label_gaqk4r;type=private?pin-value=1234) [../src/util.c:369] parse_utf8str(): String [label_gaqk4r] -> [label_gaqk4r] [../src/util.c:369] parse_utf8str(): String [label_gaqk4r] -> [label_gaqk4r] [../src/util.c:369] parse_utf8str(): String [private] -> [private] [../src/util.c:369] parse_utf8str(): String [1234] -> [1234] [../src/store.c:495] p11prov_store_set_ctx_params(): set ctx params (0x4997500, 0x7ffc4b0ae500) [../src/store.c:419] p11prov_store_eof(): store eof (0x4997500) [../src/store.c:251] p11prov_store_load(): store load (0x4997500) [../src/store.c:93] store_fetch(): called (store_ctx=0x4997500) [../src/provider.c:594] p11prov_ctx_login_behavior(): login_behavior = 0 [../src/session.c:861] p11prov_get_session(): Get session on slot 18446744073709551615, reqlogin=true, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=17, uri=0x49982a0, mechtype=ffffffffffffffff, rw=false) [../src/provider.c:594] p11prov_ctx_login_behavior(): login_behavior = 0 [../src/interface.gen.c:305] p11prov_GetSessionInfo(): Calling C_GetSessionInfo [../src/session.c:930] p11prov_get_session(): Found a slot 17 [../src/interface.gen.c:305] p11prov_GetSessionInfo(): Calling C_GetSessionInfo [../src/objects.c:991] p11prov_obj_find(): Find objects [class=3, id-len=0, label=label_gaqk4r] [../src/interface.gen.c:533] p11prov_FindObjectsInit(): Calling C_FindObjectsInit [../src/interface.gen.c:559] p11prov_FindObjects(): Calling C_FindObjects [../src/interface.gen.c:559] p11prov_FindObjects(): Calling C_FindObjects [../src/interface.gen.c:583] p11prov_FindObjectsFinal(): Calling C_FindObjectsFinal [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x00000000 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (1): 0x00000100 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (2): 0x00000171 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (3): 0x00000001 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000000 value:0x499ffe0, len:8 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000100 value:0x49a0000, len:8 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000171 value:0x499fff0, len:1 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000001 value:0x499fff1, len:1 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x00000120 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (1): 0x00000122 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (2): 0x00000102 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (3): 0x00000003 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (4): 0x00000202 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:61] p11prov_fetch_attributes(): (Re)Fetching 5 attributes [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000120 value:0x4960810, len:256 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000122 value:0x499dfc0, len:3 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000102 value:0x49a00a0, len:20 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000003 value:0x49a00c0, len:12 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000202 value:0x49a00e0, len:1 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x40000600 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:61] p11prov_fetch_attributes(): (Re)Fetching 1 attributes [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x40000600 value:0x49a04c0, len:0 [../src/objects.c:1075] p11prov_obj_find(): Find objects: found 1 objects; Returning 0 [../src/session.c:861] p11prov_get_session(): Get session on slot 18, reqlogin=true, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=18, uri=0x49982a0, mechtype=ffffffffffffffff, rw=false) [../src/store.c:127] store_fetch(): Failed to get session to load keys (slotid=12, ret=e0) [../src/store.c:451] p11prov_store_export_object(): store (0x4997500) export object 0x499ffc0, 120 [../src/provider.c:588] p11prov_ctx_allow_export(): allow_export = 0 [../src/objects.c:1979] p11prov_obj_export_public_key(): Error: 0x00000005; Not a public Key [../src/keymgmt.c:729] p11prov_rsa_load(): rsa load 0x499ffc0, 120 [../src/objects.c:402] p11prov_obj_ref_no_cache(): Ref Object: 0x499ffc0 (handle:6) [../src/keymgmt.c:902] p11prov_rsa_get_params(): rsa get params 0x499ffc0 [../src/keymgmt.c:737] p11prov_rsa_has(): rsa has 0x499ffc0 1 [../src/store.c:434] p11prov_store_close(): store close (0x4997500) [../src/store.c:35] p11prov_store_ctx_free(): store ctx free (0x4997500) [../src/objects.c:433] p11prov_obj_free(): Free Object: 0x499ffc0 (handle:6) [../src/objects.c:440] p11prov_obj_free(): object free: reference held [../src/store.c:198] p11prov_store_open(): object open (0x49617a0, pkcs11:token=label_gaqk4r;object=label_gaqk4r;type=public) [../src/util.c:563] p11prov_parse_uri(): ctx=0x49617a0 uri=pkcs11:token=label_gaqk4r;object=label_gaqk4r;type=public) [../src/util.c:369] parse_utf8str(): String [label_gaqk4r] -> [label_gaqk4r] [../src/util.c:369] parse_utf8str(): String [label_gaqk4r] -> [label_gaqk4r] [../src/util.c:369] parse_utf8str(): String [public] -> [public] [../src/store.c:495] p11prov_store_set_ctx_params(): set ctx params (0x4997500, 0x7ffc4b0ae4e0) [../src/store.c:419] p11prov_store_eof(): store eof (0x4997500) [../src/store.c:251] p11prov_store_load(): store load (0x4997500) [../src/store.c:93] store_fetch(): called (store_ctx=0x4997500) [../src/provider.c:594] p11prov_ctx_login_behavior(): login_behavior = 0 [../src/session.c:861] p11prov_get_session(): Get session on slot 18446744073709551615, reqlogin=false, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=17, uri=0x49982a0, mechtype=ffffffffffffffff, rw=false) [../src/session.c:930] p11prov_get_session(): Found a slot 17 [../src/interface.gen.c:305] p11prov_GetSessionInfo(): Calling C_GetSessionInfo [../src/objects.c:991] p11prov_obj_find(): Find objects [class=2, id-len=0, label=label_gaqk4r] [../src/interface.gen.c:533] p11prov_FindObjectsInit(): Calling C_FindObjectsInit [../src/interface.gen.c:559] p11prov_FindObjects(): Calling C_FindObjects [../src/interface.gen.c:559] p11prov_FindObjects(): Calling C_FindObjects [../src/interface.gen.c:583] p11prov_FindObjectsFinal(): Calling C_FindObjectsFinal [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x00000000 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (1): 0x00000100 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (2): 0x00000171 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (3): 0x00000001 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000000 value:0x49a0c50, len:8 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000100 value:0x49a0c70, len:8 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000171 value:0x49a0c60, len:1 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000001 value:0x49a0c61, len:1 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x00000120 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (1): 0x00000122 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (2): 0x00000102 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (3): 0x00000003 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (4): 0x00000202 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/interface.gen.c:488] p11prov_GetAttributeValue(): Error: 0x00000012; Error returned by C_GetAttributeValue [../src/util.c:72] p11prov_fetch_attributes(): Querying attributes one by one [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:106] p11prov_fetch_attributes(): Attribute| type:0x00000120 value:0x49a03b0, len:256 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:106] p11prov_fetch_attributes(): Attribute| type:0x00000122 value:0x499f1d0, len:3 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:106] p11prov_fetch_attributes(): Attribute| type:0x00000102 value:0x499d6f0, len:20 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:106] p11prov_fetch_attributes(): Attribute| type:0x00000003 value:0x49a05e0, len:12 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/interface.gen.c:488] p11prov_GetAttributeValue(): Error: 0x00000012; Error returned by C_GetAttributeValue [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/interface.gen.c:488] p11prov_GetAttributeValue(): Error: 0x00000012; Error returned by C_GetAttributeValue [../src/util.c:106] p11prov_fetch_attributes(): Attribute| type:0x00000202 value:(nil), len:18446744073709551615 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x40000600 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:61] p11prov_fetch_attributes(): (Re)Fetching 1 attributes [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x40000600 value:0x49a0620, len:0 [../src/objects.c:1075] p11prov_obj_find(): Find objects: found 1 objects; Returning 0 [../src/session.c:861] p11prov_get_session(): Get session on slot 18, reqlogin=false, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=18, uri=0x49982a0, mechtype=ffffffffffffffff, rw=false) [../src/store.c:127] store_fetch(): Failed to get session to load keys (slotid=12, ret=e0) [../src/store.c:451] p11prov_store_export_object(): store (0x4997500) export object 0x49a0c30, 120 [../src/provider.c:588] p11prov_ctx_allow_export(): allow_export = 0 [../src/objects.c:1620] get_public_attrs(): Get Public Attributes (obj=0x49a0c30, atrs=0x7ffc4b0ae110, num=2) [../src/store.c:434] p11prov_store_close(): store close (0x4997500) [../src/store.c:35] p11prov_store_ctx_free(): store ctx free (0x4997500) [../src/objects.c:433] p11prov_obj_free(): Free Object: 0x49a0c30 (handle:4) [../src/keymgmt.c:811] p11prov_rsa_export(): rsa export 0x499ffc0 [../src/provider.c:588] p11prov_ctx_allow_export(): allow_export = 0 [../src/signature.c:1199] p11prov_rsasig_digest_sign_init(): rsa digest sign init (ctx=0x4960fa0, digest=SHA256, key=0x499ffc0, params=(nil)) [../src/objects.c:402] p11prov_obj_ref_no_cache(): Ref Object: 0x499ffc0 (handle:6) [../src/provider.c:606] p11prov_ctx_cache_keys(): cache_keys = 1 [../src/session.c:1015] p11prov_take_login_session(): Get login session from slot 17 [../src/interface.gen.c:305] p11prov_GetSessionInfo(): Calling C_GetSessionInfo [../src/interface.gen.c:435] p11prov_CopyObject(): Calling C_CopyObject [../src/objects.c:392] cache_key(): Key 17:6 cached as 18:7 [../src/signature.c:1460] p11prov_rsasig_set_ctx_params(): rsasig set ctx params (ctx=0x4960fa0, params=(nil)) [../src/signature.c:1221] p11prov_rsasig_digest_sign_update(): rsa digest sign update (ctx=0x4960fa0, data=0x473b00, datalen=65) [../src/signature.c:784] p11prov_sig_operate_init(): called (sigctx=0x4960fa0, digest_op=true) [../src/interface.gen.c:233] p11prov_GetMechanismInfo(): Calling C_GetMechanismInfo Mechanism Info: name: CKM_SHA256_RSA_PKCS (64): min key length: 512 max key length: 16384 flags (0x002800): CKF_SIGN (0x000800) CKF_VERIFY (0x002000) [../src/session.c:861] p11prov_get_session(): Get session on slot 17, reqlogin=true, rw=false [../src/session.c:870] p11prov_get_session(): single-shot request for slot 17 [../src/session.c:590] check_slot(): Checking Slot id=17, uri=(nil), mechtype=40, rw=false) [../src/provider.c:594] p11prov_ctx_login_behavior(): login_behavior = 0 [../src/interface.gen.c:305] p11prov_GetSessionInfo(): Calling C_GetSessionInfo [../src/interface.gen.c:305] p11prov_GetSessionInfo(): Calling C_GetSessionInfo [../src/interface.gen.c:780] p11prov_SignInit(): Calling C_SignInit [../src/interface.gen.c:829] p11prov_SignUpdate(): Calling C_SignUpdate [../src/signature.c:81] p11prov_sig_dupctx(): Duplicating context 0x4960fa0 [../src/objects.c:402] p11prov_obj_ref_no_cache(): Ref Object: 0x499ffc0 (handle:6) [../src/interface.gen.c:330] p11prov_GetOperationState(): Calling C_GetOperationState [../src/interface.gen.c:335] p11prov_GetOperationState(): Error: 0x00000054; Error returned by C_GetOperationState [../src/signature.c:1239] p11prov_rsasig_digest_sign_final(): rsa digest sign final (ctx=0x49a0c30, sig=0x49a03b0, siglen=0, sigsize=256) [../src/interface.gen.c:853] p11prov_SignFinal(): Calling C_SignFinal [../src/objects.c:433] p11prov_obj_free(): Free Object: 0x499ffc0 (handle:6) [../src/objects.c:440] p11prov_obj_free(): object free: reference held [../src/objects.c:433] p11prov_obj_free(): Free Object: 0x499ffc0 (handle:6) [../src/objects.c:440] p11prov_obj_free(): object free: reference held [../src/digests.c:378] p11prov_digest_get_params(): digest get params: digest=255, params=0x7ffc4b0ae350 [../src/digests.c:393] p11prov_digest_get_params(): block_size = 64 [../src/digests.c:408] p11prov_digest_get_params(): digest_size = 28 [../src/digests.c:378] p11prov_digest_get_params(): digest get params: digest=250, params=0x7ffc4b0ae350 [../src/digests.c:393] p11prov_digest_get_params(): block_size = 64 [../src/digests.c:408] p11prov_digest_get_params(): digest_size = 32 [../src/digests.c:378] p11prov_digest_get_params(): digest get params: digest=260, params=0x7ffc4b0ae350 [../src/digests.c:393] p11prov_digest_get_params(): block_size = 128 [../src/digests.c:408] p11prov_digest_get_params(): digest_size = 48 [../src/digests.c:378] p11prov_digest_get_params(): digest get params: digest=270, params=0x7ffc4b0ae350 [../src/digests.c:393] p11prov_digest_get_params(): block_size = 128 [../src/digests.c:408] p11prov_digest_get_params(): digest_size = 64 [../src/digests.c:378] p11prov_digest_get_params(): digest get params: digest=220, params=0x7ffc4b0ae350 [../src/digests.c:393] p11prov_digest_get_params(): block_size = 64 [../src/digests.c:408] p11prov_digest_get_params(): digest_size = 20 [../src/store.c:198] p11prov_store_open(): object open (0x49617a0, pkcs11:token=label_gaqk4r;object=label_gaqk4r;type=private?pin-value=1234) [../src/util.c:563] p11prov_parse_uri(): ctx=0x49617a0 uri=pkcs11:token=label_gaqk4r;object=label_gaqk4r;type=private?pin-value=1234) [../src/util.c:369] parse_utf8str(): String [label_gaqk4r] -> [label_gaqk4r] [../src/util.c:369] parse_utf8str(): String [label_gaqk4r] -> [label_gaqk4r] [../src/util.c:369] parse_utf8str(): String [private] -> [private] [../src/util.c:369] parse_utf8str(): String [1234] -> [1234] [../src/store.c:495] p11prov_store_set_ctx_params(): set ctx params (0x4997500, 0x7ffc4b0ae500) [../src/store.c:419] p11prov_store_eof(): store eof (0x4997500) [../src/store.c:251] p11prov_store_load(): store load (0x4997500) [../src/store.c:93] store_fetch(): called (store_ctx=0x4997500) [../src/provider.c:594] p11prov_ctx_login_behavior(): login_behavior = 0 [../src/session.c:861] p11prov_get_session(): Get session on slot 18446744073709551615, reqlogin=true, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=17, uri=0x49a1cd0, mechtype=ffffffffffffffff, rw=false) [../src/provider.c:594] p11prov_ctx_login_behavior(): login_behavior = 0 [../src/interface.gen.c:305] p11prov_GetSessionInfo(): Calling C_GetSessionInfo [../src/session.c:930] p11prov_get_session(): Found a slot 17 [../src/interface.gen.c:305] p11prov_GetSessionInfo(): Calling C_GetSessionInfo [../src/objects.c:991] p11prov_obj_find(): Find objects [class=3, id-len=0, label=label_gaqk4r] [../src/interface.gen.c:533] p11prov_FindObjectsInit(): Calling C_FindObjectsInit [../src/interface.gen.c:559] p11prov_FindObjects(): Calling C_FindObjects [../src/interface.gen.c:559] p11prov_FindObjects(): Calling C_FindObjects [../src/interface.gen.c:583] p11prov_FindObjectsFinal(): Calling C_FindObjectsFinal [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x00000000 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (1): 0x00000100 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (2): 0x00000171 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (3): 0x00000001 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000000 value:0x49a0c50, len:8 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000100 value:0x49a0c70, len:8 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000171 value:0x49a0c60, len:1 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000001 value:0x49a0c61, len:1 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x00000120 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (1): 0x00000122 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (2): 0x00000102 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (3): 0x00000003 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (4): 0x00000202 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:61] p11prov_fetch_attributes(): (Re)Fetching 5 attributes [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000120 value:0x49a1380, len:256 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000122 value:0x499dbe0, len:3 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000102 value:0x49ac680, len:20 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000003 value:0x49ac560, len:12 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000202 value:0x49ac5c0, len:1 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x40000600 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:61] p11prov_fetch_attributes(): (Re)Fetching 1 attributes [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x40000600 value:0x49967f0, len:0 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x00000000 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (1): 0x00000100 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (2): 0x00000171 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (3): 0x00000001 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000000 value:0x49ace60, len:8 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000100 value:0x49ace80, len:8 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000171 value:0x49ace70, len:1 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000001 value:0x49ace71, len:1 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x00000120 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (1): 0x00000122 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (2): 0x00000102 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (3): 0x00000003 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (4): 0x00000202 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:61] p11prov_fetch_attributes(): (Re)Fetching 5 attributes [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000120 value:0x49a03b0, len:256 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000122 value:0x499df80, len:3 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000102 value:0x499ced0, len:20 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000003 value:0x49acec0, len:12 [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x00000202 value:0x49acee0, len:1 [../src/util.c:23] p11prov_fetch_attributes(): Fetching attributes (0): 0x40000600 [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:61] p11prov_fetch_attributes(): (Re)Fetching 1 attributes [../src/interface.gen.c:484] p11prov_GetAttributeValue(): Calling C_GetAttributeValue [../src/util.c:65] p11prov_fetch_attributes(): Attribute| type:0x40000600 value:0x49ad1b0, len:0 [../src/objects.c:1075] p11prov_obj_find(): Find objects: found 2 objects; Returning 0 [../src/session.c:861] p11prov_get_session(): Get session on slot 18, reqlogin=true, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=18, uri=0x49a1cd0, mechtype=ffffffffffffffff, rw=false) [../src/store.c:127] store_fetch(): Failed to get session to load keys (slotid=12, ret=e0) [../src/store.c:451] p11prov_store_export_object(): store (0x4997500) export object 0x49a0c30, 120 [../src/provider.c:588] p11prov_ctx_allow_export(): allow_export = 0 [../src/objects.c:1979] p11prov_obj_export_public_key(): Error: 0x00000005; Not a public Key [../src/keymgmt.c:729] p11prov_rsa_load(): rsa load 0x49a0c30, 120 [../src/objects.c:402] p11prov_obj_ref_no_cache(): Ref Object: 0x49a0c30 (handle:6) [../src/keymgmt.c:902] p11prov_rsa_get_params(): rsa get params 0x49a0c30 [../src/keymgmt.c:737] p11prov_rsa_has(): rsa has 0x49a0c30 1 [../src/store.c:434] p11prov_store_close(): store close (0x4997500) [../src/store.c:35] p11prov_store_ctx_free(): store ctx free (0x4997500) [../src/objects.c:433] p11prov_obj_free(): Free Object: 0x49a0c30 (handle:6) [../src/objects.c:440] p11prov_obj_free(): object free: reference held [../src/objects.c:433] p11prov_obj_free(): Free Object: 0x49ace40 (handle:7) [../src/keymgmt.c:811] p11prov_rsa_export(): rsa export 0x49a0c30 [../src/provider.c:588] p11prov_ctx_allow_export(): allow_export = 0 [../src/objects.c:1620] get_public_attrs(): Get Public Attributes (obj=0x49a0c30, atrs=0x7ffc4b0ae930, num=2) [../src/store.c:198] p11prov_store_open(): object open (0x49617a0, pkcs11:token=label_gaqk4r;object=invalid;type=public) [../src/util.c:563] p11prov_parse_uri(): ctx=0x49617a0 uri=pkcs11:token=label_gaqk4r;object=invalid;type=public) [../src/util.c:369] parse_utf8str(): String [label_gaqk4r] -> [label_gaqk4r] [../src/util.c:369] parse_utf8str(): String [invalid] -> [invalid] [../src/util.c:369] parse_utf8str(): String [public] -> [public] [../src/store.c:495] p11prov_store_set_ctx_params(): set ctx params (0x4997500, 0x7ffc4b0ae500) [../src/store.c:419] p11prov_store_eof(): store eof (0x4997500) [../src/store.c:251] p11prov_store_load(): store load (0x4997500) [../src/store.c:93] store_fetch(): called (store_ctx=0x4997500) [../src/provider.c:594] p11prov_ctx_login_behavior(): login_behavior = 0 [../src/session.c:861] p11prov_get_session(): Get session on slot 18446744073709551615, reqlogin=false, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=17, uri=0x49ad210, mechtype=ffffffffffffffff, rw=false) [../src/session.c:930] p11prov_get_session(): Found a slot 17 [../src/interface.gen.c:305] p11prov_GetSessionInfo(): Calling C_GetSessionInfo [../src/objects.c:991] p11prov_obj_find(): Find objects [class=2, id-len=0, label=invalid] [../src/interface.gen.c:533] p11prov_FindObjectsInit(): Calling C_FindObjectsInit [../src/interface.gen.c:559] p11prov_FindObjects(): Calling C_FindObjects [../src/interface.gen.c:583] p11prov_FindObjectsFinal(): Calling C_FindObjectsFinal [../src/objects.c:1075] p11prov_obj_find(): Find objects: found 0 objects; Returning 0 [../src/session.c:861] p11prov_get_session(): Get session on slot 18, reqlogin=false, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=18, uri=0x49ad210, mechtype=ffffffffffffffff, rw=false) [../src/store.c:127] store_fetch(): Failed to get session to load keys (slotid=12, ret=e0) [../src/store.c:161] store_fetch(): No object found. Retrying with login (store_ctx=0x4997500) [../src/session.c:861] p11prov_get_session(): Get session on slot 18446744073709551615, reqlogin=true, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=17, uri=0x49ad210, mechtype=ffffffffffffffff, rw=false) [../src/provider.c:594] p11prov_ctx_login_behavior(): login_behavior = 0 [../src/interface.gen.c:305] p11prov_GetSessionInfo(): Calling C_GetSessionInfo [../src/session.c:930] p11prov_get_session(): Found a slot 17 [../src/interface.gen.c:305] p11prov_GetSessionInfo(): Calling C_GetSessionInfo [../src/objects.c:991] p11prov_obj_find(): Find objects [class=2, id-len=0, label=invalid] [../src/interface.gen.c:533] p11prov_FindObjectsInit(): Calling C_FindObjectsInit [../src/interface.gen.c:559] p11prov_FindObjects(): Calling C_FindObjects [../src/interface.gen.c:583] p11prov_FindObjectsFinal(): Calling C_FindObjectsFinal [../src/objects.c:1075] p11prov_obj_find(): Find objects: found 0 objects; Returning 0 [../src/session.c:861] p11prov_get_session(): Get session on slot 18, reqlogin=true, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=18, uri=0x49ad210, mechtype=ffffffffffffffff, rw=false) [../src/store.c:127] store_fetch(): Failed to get session to load keys (slotid=12, ret=e0) [../src/store.c:434] p11prov_store_close(): store close (0x4997500) [../src/store.c:35] p11prov_store_ctx_free(): store ctx free (0x4997500) [../src/store.c:198] p11prov_store_open(): object open (0x49617a0, pkcs11:token=invalid;object=label_gaqk4r;type=public) [../src/util.c:563] p11prov_parse_uri(): ctx=0x49617a0 uri=pkcs11:token=invalid;object=label_gaqk4r;type=public) [../src/util.c:369] parse_utf8str(): String [invalid] -> [invalid] [../src/util.c:369] parse_utf8str(): String [label_gaqk4r] -> [label_gaqk4r] [../src/util.c:369] parse_utf8str(): String [public] -> [public] [../src/store.c:495] p11prov_store_set_ctx_params(): set ctx params (0x4997500, 0x7ffc4b0ae500) [../src/store.c:419] p11prov_store_eof(): store eof (0x4997500) [../src/store.c:251] p11prov_store_load(): store load (0x4997500) [../src/store.c:93] store_fetch(): called (store_ctx=0x4997500) [../src/provider.c:594] p11prov_ctx_login_behavior(): login_behavior = 0 [../src/session.c:861] p11prov_get_session(): Get session on slot 18446744073709551615, reqlogin=false, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=17, uri=0x49ad210, mechtype=ffffffffffffffff, rw=false) [../src/session.c:590] check_slot(): Checking Slot id=18, uri=0x49ad210, mechtype=ffffffffffffffff, rw=false) [../src/store.c:127] store_fetch(): Failed to get session to load keys (slotid=ffffffffffffffff, ret=e0) [../src/store.c:161] store_fetch(): No object found. Retrying with login (store_ctx=0x4997500) [../src/session.c:861] p11prov_get_session(): Get session on slot 18446744073709551615, reqlogin=true, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=17, uri=0x49ad210, mechtype=ffffffffffffffff, rw=false) [../src/session.c:590] check_slot(): Checking Slot id=18, uri=0x49ad210, mechtype=ffffffffffffffff, rw=false) [../src/store.c:127] store_fetch(): Failed to get session to load keys (slotid=ffffffffffffffff, ret=e0) [../src/store.c:434] p11prov_store_close(): store close (0x4997500) [../src/store.c:35] p11prov_store_ctx_free(): store ctx free (0x4997500) [../src/store.c:198] p11prov_store_open(): object open (0x49617a0, pkcs11:token=label_gaqk4r;object=invalid;type=private?pin-value=1234) [../src/util.c:563] p11prov_parse_uri(): ctx=0x49617a0 uri=pkcs11:token=label_gaqk4r;object=invalid;type=private?pin-value=1234) [../src/util.c:369] parse_utf8str(): String [label_gaqk4r] -> [label_gaqk4r] [../src/util.c:369] parse_utf8str(): String [invalid] -> [invalid] [../src/util.c:369] parse_utf8str(): String [private] -> [private] [../src/util.c:369] parse_utf8str(): String [1234] -> [1234] [../src/store.c:495] p11prov_store_set_ctx_params(): set ctx params (0x4997500, 0x7ffc4b0ae500) [../src/store.c:419] p11prov_store_eof(): store eof (0x4997500) [../src/store.c:251] p11prov_store_load(): store load (0x4997500) [../src/store.c:93] store_fetch(): called (store_ctx=0x4997500) [../src/provider.c:594] p11prov_ctx_login_behavior(): login_behavior = 0 [../src/session.c:861] p11prov_get_session(): Get session on slot 18446744073709551615, reqlogin=true, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=17, uri=0x49ad210, mechtype=ffffffffffffffff, rw=false) [../src/provider.c:594] p11prov_ctx_login_behavior(): login_behavior = 0 [../src/interface.gen.c:305] p11prov_GetSessionInfo(): Calling C_GetSessionInfo [../src/session.c:930] p11prov_get_session(): Found a slot 17 [../src/interface.gen.c:305] p11prov_GetSessionInfo(): Calling C_GetSessionInfo [../src/objects.c:991] p11prov_obj_find(): Find objects [class=3, id-len=0, label=invalid] [../src/interface.gen.c:533] p11prov_FindObjectsInit(): Calling C_FindObjectsInit [../src/interface.gen.c:559] p11prov_FindObjects(): Calling C_FindObjects [../src/interface.gen.c:583] p11prov_FindObjectsFinal(): Calling C_FindObjectsFinal [../src/objects.c:1075] p11prov_obj_find(): Find objects: found 0 objects; Returning 0 [../src/session.c:861] p11prov_get_session(): Get session on slot 18, reqlogin=true, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=18, uri=0x49ad210, mechtype=ffffffffffffffff, rw=false) [../src/store.c:127] store_fetch(): Failed to get session to load keys (slotid=12, ret=e0) [../src/store.c:434] p11prov_store_close(): store close (0x4997500) [../src/store.c:35] p11prov_store_ctx_free(): store ctx free (0x4997500) [../src/store.c:198] p11prov_store_open(): object open (0x49617a0, pkcs11:token=invalid;object=label_gaqk4r;type=private?pin-value=1234) [../src/util.c:563] p11prov_parse_uri(): ctx=0x49617a0 uri=pkcs11:token=invalid;object=label_gaqk4r;type=private?pin-value=1234) [../src/util.c:369] parse_utf8str(): String [invalid] -> [invalid] [../src/util.c:369] parse_utf8str(): String [label_gaqk4r] -> [label_gaqk4r] [../src/util.c:369] parse_utf8str(): String [private] -> [private] [../src/util.c:369] parse_utf8str(): String [1234] -> [1234] [../src/store.c:495] p11prov_store_set_ctx_params(): set ctx params (0x4997500, 0x7ffc4b0ae500) [../src/store.c:419] p11prov_store_eof(): store eof (0x4997500) [../src/store.c:251] p11prov_store_load(): store load (0x4997500) [../src/store.c:93] store_fetch(): called (store_ctx=0x4997500) [../src/provider.c:594] p11prov_ctx_login_behavior(): login_behavior = 0 [../src/session.c:861] p11prov_get_session(): Get session on slot 18446744073709551615, reqlogin=true, rw=false [../src/session.c:894] p11prov_get_session(): cycle through available slots [../src/session.c:590] check_slot(): Checking Slot id=17, uri=0x49ad210, mechtype=ffffffffffffffff, rw=false) [../src/session.c:590] check_slot(): Checking Slot id=18, uri=0x49ad210, mechtype=ffffffffffffffff, rw=false) [../src/store.c:127] store_fetch(): Failed to get session to load keys (slotid=ffffffffffffffff, ret=e0) [../src/store.c:434] p11prov_store_close(): store close (0x4997500) [../src/store.c:35] p11prov_store_ctx_free(): store ctx free (0x4997500)