Skip to content

Instantly share code, notes, and snippets.

@SCjona
Created January 24, 2024 14:27
Show Gist options
  • Save SCjona/eb9d15e4e7ebe798b2d660f92a9ed4eb to your computer and use it in GitHub Desktop.
Save SCjona/eb9d15e4e7ebe798b2d660f92a9ed4eb to your computer and use it in GitHub Desktop.
pkcs11 spy
*************** OpenSC PKCS#11 spy *****************
Loaded: "/home/user/tmp/OpenSC/src/pkcs11/.libs/opensc-pkcs11.so"
0: C_GetInterface
P:670611; T:0x126052855567616 2024-01-24 15:15:30.805
[in] pInterfaceName 000072a4e91c56c3 / 7
00000000 50 4B 43 53 20 31 31 PKCS 11
[in] pVersion = NULL
[in] flags = CKF_INTERFACE_FORK_SAFE
Returned: 7 CKR_ARGUMENTS_BAD
1: C_GetInterface
P:670611; T:0x126052855567616 2024-01-24 15:15:30.806
[in] pInterfaceName 000072a4e91c56c3 / 7
00000000 50 4B 43 53 20 31 31 PKCS 11
[in] pVersion = NULL
[in] flags =
Returned: 0 CKR_OK
2: C_GetInterface
P:670611; T:0x126052855567616 2024-01-24 15:15:30.806
[in] pInterfaceName 000072a4e91c56cb / 25
00000000 56 65 6E 64 6F 72 20 4E 53 53 20 46 49 50 53 20 Vendor NSS FIPS
00000010 49 6E 74 65 72 66 61 63 65 Interface
[in] pVersion = NULL
[in] flags =
Returned: 7 CKR_ARGUMENTS_BAD
3: C_Initialize
P:670611; T:0x126052855567616 2024-01-24 15:15:30.806
[in] pInitArgs = 0x72a4e91f8500
flags: 3
CKF_LIBRARY_CANT_CREATE_OS_THREADS
CKF_OS_LOCKING_OK
Returned: 0 CKR_OK
4: C_GetInfo
P:670611; T:0x126052855567616 2024-01-24 15:15:30.889
[out] pInfo:
cryptokiVersion: 3.0
manufacturerID: 'OpenSC Project '
flags: 0
libraryDescription: 'OpenSC smartcard framework '
libraryVersion: 0.24
Returned: 0 CKR_OK
5: C_GetSlotList
P:670611; T:0x126052855567616 2024-01-24 15:15:30.889
[in] tokenPresent = 0x0
[out] pSlotList:
Count is 1
[out] *pulCount = 0x1
Returned: 0 CKR_OK
6: C_GetSlotList
P:670611; T:0x126052855567616 2024-01-24 15:15:30.890
[in] tokenPresent = 0x0
[out] pSlotList:
Slot 0
[out] *pulCount = 0x1
Returned: 0 CKR_OK
7: C_GetSlotInfo
P:670611; T:0x126052855567616 2024-01-24 15:15:30.891
[in] slotID = 0x0
[out] pInfo:
slotDescription: 'Yubico YubiKey OTP+FIDO+CCID 00 '
'00 '
manufacturerID: 'Yubico '
hardwareVersion: 0.0
firmwareVersion: 0.0
flags: 7
CKF_TOKEN_PRESENT
CKF_REMOVABLE_DEVICE
CKF_HW_SLOT
Returned: 0 CKR_OK
8: C_GetTokenInfo
P:670611; T:0x126052855567616 2024-01-24 15:15:30.893
[in] slotID = 0x0
[out] pInfo:
label: 'CENSORED'
manufacturerID: 'piv_II '
model: 'PKCS#15 emulated'
serialNumber: 'CENSORED'
ulMaxSessionCount: 0
ulSessionCount: 0
ulMaxRwSessionCount: 0
ulRwSessionCount: 0
ulMaxPinLen: 8
ulMinPinLen: 4
ulTotalPublicMemory: -1
ulFreePublicMemory: -1
ulTotalPrivateMemory: -1
ulFreePrivateMemory: -1
hardwareVersion: 0.0
firmwareVersion: 0.0
time: ' '
flags: 40d
CKF_RNG
CKF_LOGIN_REQUIRED
CKF_USER_PIN_INITIALIZED
CKF_TOKEN_INITIALIZED
Returned: 0 CKR_OK
9: C_GetMechanismList
P:670611; T:0x126052855567616 2024-01-24 15:15:30.895
[in] slotID = 0x0
[out] pMechanismList[32]:
Count is 32
Returned: 0 CKR_OK
10: C_GetMechanismList
P:670611; T:0x126052855567616 2024-01-24 15:15:30.895
[in] slotID = 0x0
[out] pMechanismList[32]:
CKM_SHA_1
Unknown Mechanism (00000255)
CKM_SHA256
CKM_SHA384
CKM_SHA512
CKM_MD5
CKM_RIPEMD160
CKM_GOSTR3411
CKM_ECDSA
CKM_ECDSA_SHA1
Unknown Mechanism (00001043)
Unknown Mechanism (00001044)
Unknown Mechanism (00001045)
Unknown Mechanism (00001046)
CKM_ECDH1_COFACTOR_DERIVE
CKM_ECDH1_DERIVE
CKM_RSA_X_509
CKM_RSA_PKCS
CKM_SHA1_RSA_PKCS
Unknown Mechanism (00000046)
CKM_SHA256_RSA_PKCS
CKM_SHA384_RSA_PKCS
CKM_SHA512_RSA_PKCS
CKM_MD5_RSA_PKCS
CKM_RIPEMD160_RSA_PKCS
CKM_RSA_PKCS_PSS
CKM_SHA1_RSA_PKCS_PSS
Unknown Mechanism (00000047)
CKM_SHA256_RSA_PKCS_PSS
CKM_SHA384_RSA_PKCS_PSS
CKM_SHA512_RSA_PKCS_PSS
CKM_RSA_PKCS_OAEP
Returned: 0 CKR_OK
11: C_OpenSession
P:670611; T:0x126052855567616 2024-01-24 15:15:30.895
[in] slotID = 0x0
[in] flags = 0x4
[in] pApplication = 0x72a4b2afb800
[in] Notify = 0x72a4e9120c90
[out] *phSession = 0x72a4b8b41740
Returned: 0 CKR_OK
12: C_OpenSession
P:670611; T:0x126052855567616 2024-01-24 15:15:30.895
[in] slotID = 0x0
[in] flags = 0x4
[in] pApplication = 0x72a4b2afb800
[in] Notify = 0x72a4e9120c90
[out] *phSession = 0x72a4b8b41120
Returned: 0 CKR_OK
13: C_FindObjectsInit
P:670611; T:0x126052855567616 2024-01-24 15:15:30.895
[in] hSession = 0x72a4b8b41120
[in] pTemplate[2]:
CKA_TOKEN True
CKA_CLASS CKO_PROFILE
Returned: 0 CKR_OK
14: C_FindObjects
P:670611; T:0x126052855567616 2024-01-24 15:15:30.895
[in] hSession = 0x72a4b8b41120
[in] ulMaxObjectCount = 0xa
[out] ulObjectCount = 0x1
Object 0x72a4b98933d0 matches
Returned: 0 CKR_OK
15: C_FindObjectsFinal
P:670611; T:0x126052855567616 2024-01-24 15:15:30.895
[in] hSession = 0x72a4b8b41120
Returned: 0 CKR_OK
16: C_CloseSession
P:670611; T:0x126052855567616 2024-01-24 15:15:30.895
[in] hSession = 0x72a4b8b41120
Returned: 0 CKR_OK
17: C_GetAttributeValue
P:670611; T:0x126052855567616 2024-01-24 15:15:30.895
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4b98933d0
[in] pTemplate[1]:
CKA_PROFILE_ID 00007ffdf0640e98 / 8
[out] pTemplate[1]:
CKA_PROFILE_ID CKP_PUBLIC_CERTIFICATES_TOKEN
Returned: 0 CKR_OK
18: C_GenerateRandom
P:670611; T:0x126052855567616 2024-01-24 15:15:30.895
[in] hSession = 0x72a4b8b41740
[out] RandomData[ulRandomLen] 00007ffdf0640f50 / 32
00000000 77 59 AC A1 B9 86 6D 4F 44 2F D4 49 CE 54 94 4E wY....mOD/.I.T.N
00000010 47 D4 D8 D6 27 40 25 E2 AE FE 8D 85 40 85 71 BC G...'@%.....@.q.
Returned: 0 CKR_OK
19: C_SeedRandom
P:670611; T:0x126052855567616 2024-01-24 15:15:30.900
[in] hSession = 0x72a4b8b41740
[in] pSeed[ulSeedLen] 00007ffdf0640f50 / 32
00000000 93 A1 97 0B 74 A7 E8 34 F7 F1 E3 CF 8D 3F 3F F3 ....t..4.....??.
00000010 2B 02 22 8F D3 C1 A1 8E 7B 4B 4E DE 25 E1 A5 BF +.".....{KN.%...
Returned: 84 CKR_FUNCTION_NOT_SUPPORTED
20: C_FindObjectsInit
P:670611; T:0x126052855567616 2024-01-24 15:15:30.900
[in] hSession = 0x72a4b8b41740
[in] pTemplate[1]:
CKA_CLASS CKO_NETSCAPE_BUILTIN_ROOT_LIST
Returned: 0 CKR_OK
21: C_FindObjects
P:670611; T:0x126052855567616 2024-01-24 15:15:30.900
[in] hSession = 0x72a4b8b41740
[in] ulMaxObjectCount = 0x1
[out] ulObjectCount = 0x0
Returned: 0 CKR_OK
22: C_FindObjectsFinal
P:670611; T:0x126052855567616 2024-01-24 15:15:30.900
[in] hSession = 0x72a4b8b41740
Returned: 0 CKR_OK
23: C_GetSlotList
P:670611; T:0x126052855567616 2024-01-24 15:15:30.904
[in] tokenPresent = 0x0
[out] pSlotList:
Count is 1
[out] *pulCount = 0x1
Returned: 0 CKR_OK
24: C_GetSlotInfo
P:670611; T:0x126052855567616 2024-01-24 15:15:30.906
[in] slotID = 0x0
[out] pInfo:
slotDescription: 'Yubico YubiKey OTP+FIDO+CCID 00 '
'00 '
manufacturerID: 'Yubico '
hardwareVersion: 0.0
firmwareVersion: 0.0
flags: 7
CKF_TOKEN_PRESENT
CKF_REMOVABLE_DEVICE
CKF_HW_SLOT
Returned: 0 CKR_OK
25: C_GetSessionInfo
P:670611; T:0x126052855567616 2024-01-24 15:15:30.907
[in] hSession = 0x72a4b8b41740
[out] pInfo:
slotID: 0
state: 0 ( CKS_RO_PUBLIC_SESSION)
flags: 4
CKF_SERIAL_SESSION
ulDeviceError: 0
Returned: 0 CKR_OK
26: C_GetSlotInfo
P:670611; T:0x126052855567616 2024-01-24 15:15:30.910
[in] slotID = 0x0
[out] pInfo:
slotDescription: 'Yubico YubiKey OTP+FIDO+CCID 00 '
'00 '
manufacturerID: 'Yubico '
hardwareVersion: 0.0
firmwareVersion: 0.0
flags: 7
CKF_TOKEN_PRESENT
CKF_REMOVABLE_DEVICE
CKF_HW_SLOT
Returned: 0 CKR_OK
27: C_GetSlotInfo
P:670611; T:0x126052609844928 2024-01-24 15:15:32.437
[in] slotID = 0x0
[out] pInfo:
slotDescription: 'Yubico YubiKey OTP+FIDO+CCID 00 '
'00 '
manufacturerID: 'Yubico '
hardwareVersion: 0.0
firmwareVersion: 0.0
flags: 7
CKF_TOKEN_PRESENT
CKF_REMOVABLE_DEVICE
CKF_HW_SLOT
Returned: 0 CKR_OK
28: C_GetSessionInfo
P:670611; T:0x126052609844928 2024-01-24 15:15:32.439
[in] hSession = 0x72a4b8b41740
[out] pInfo:
slotID: 0
state: 0 ( CKS_RO_PUBLIC_SESSION)
flags: 4
CKF_SERIAL_SESSION
ulDeviceError: 0
Returned: 0 CKR_OK
29: C_FindObjectsInit
P:670611; T:0x126052609844928 2024-01-24 15:15:32.465
[in] hSession = 0x72a4b8b41740
[in] pTemplate[2]:
CKA_TOKEN True
CKA_CLASS CKO_CERTIFICATE
Returned: 0 CKR_OK
30: C_FindObjects
P:670611; T:0x126052609844928 2024-01-24 15:15:32.465
[in] hSession = 0x72a4b8b41740
[in] ulMaxObjectCount = 0xa
[out] ulObjectCount = 0x2
Object 0x72a4bb2fe3a0 matches
Object 0x72a4bb2febe0 matches
Returned: 0 CKR_OK
31: C_FindObjectsFinal
P:670611; T:0x126052609844928 2024-01-24 15:15:32.465
[in] hSession = 0x72a4b8b41740
Returned: 0 CKR_OK
32: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:32.466
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2fe3a0
[in] pTemplate[2]:
CKA_TOKEN 0000000000000000 / 0
CKA_LABEL 0000000000000000 / 0
[out] pTemplate[2]:
CKA_TOKEN 0000000000000000 / 1
CKA_LABEL 0000000000000000 / 34
Returned: 0 CKR_OK
33: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:32.466
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2fe3a0
[in] pTemplate[2]:
CKA_TOKEN 000072a4b26733b0 / 1
CKA_LABEL 000072a4b20e2810 / 34
[out] pTemplate[2]:
CKA_TOKEN True
CKA_LABEL 000072a4b20e2810 / 34
43657274 69666963 61746520 666F7220 50495620 41757468 656E7469 63617469
C e r t i f i c a t e . f o r . P I V . A u t h e n t i c a t i6F6E
o n
Returned: 0 CKR_OK
34: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:32.466
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2febe0
[in] pTemplate[2]:
CKA_TOKEN 0000000000000000 / 0
CKA_LABEL 0000000000000000 / 0
[out] pTemplate[2]:
CKA_TOKEN 0000000000000000 / 1
CKA_LABEL 0000000000000000 / 35
Returned: 0 CKR_OK
35: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:32.466
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2febe0
[in] pTemplate[2]:
CKA_TOKEN 000072a4b26733b0 / 1
CKA_LABEL 000072a4b20e25d0 / 35
[out] pTemplate[2]:
CKA_TOKEN True
CKA_LABEL 000072a4b20e25d0 / 35
43657274 69666963 61746520 666F7220 43617264 20417574 68656E74 69636174
C e r t i f i c a t e . f o r . C a r d . A u t h e n t i c a t696F6E
i o n
Returned: 0 CKR_OK
36: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:32.466
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2fe3a0
[in] pTemplate[10]:
CKA_CLASS 0000000000000000 / 0
CKA_TOKEN 0000000000000000 / 0
CKA_LABEL 0000000000000000 / 0
CKA_CERTIFICATE_TYPE 0000000000000000 / 0
CKA_ID 0000000000000000 / 0
CKA_VALUE 0000000000000000 / 0
CKA_ISSUER 0000000000000000 / 0
CKA_SERIAL_NUMBER 0000000000000000 / 0
CKA_SUBJECT 0000000000000000 / 0
CKA_NETSCAPE_EMAIL(Netsc) 0000000000000000 / 0
[out] pTemplate[10]:
CKA_CLASS 0000000000000000 / 8
CKA_TOKEN 0000000000000000 / 1
CKA_LABEL 0000000000000000 / 34
CKA_CERTIFICATE_TYPE 0000000000000000 / 8
CKA_ID 0000000000000000 / 1
CKA_VALUE 0000000000000000 / 702
CKA_ISSUER 0000000000000000 / 24
CKA_SERIAL_NUMBER 0000000000000000 / 22
CKA_SUBJECT 0000000000000000 / 24
CKA_NETSCAPE_EMAIL(Netsc) 0000000000000000 / -1
Returned: 18 CKR_ATTRIBUTE_TYPE_INVALID
37: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:32.466
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2fe3a0
[in] pTemplate[10]:
CKA_CLASS 000072a4b2f12980 / 8
CKA_TOKEN 000072a4b2f12998 / 1
CKA_LABEL 000072a4b2f129b0 / 34
CKA_CERTIFICATE_TYPE 000072a4b2f129e8 / 8
CKA_ID 000072a4b2f12a00 / 1
CKA_VALUE 000072a4b2f12a18 / 702
CKA_ISSUER 000072a4b2f12ce8 / 24
CKA_SERIAL_NUMBER 000072a4b2f12d10 / 22
CKA_SUBJECT 000072a4b2f12d38 / 24
CKA_NETSCAPE_EMAIL(Netsc) 0000000000000000 / 0
[out] pTemplate[10]:
CKA_CLASS CKO_CERTIFICATE
CKA_TOKEN True
CKA_LABEL 000072a4b2f129b0 / 34
43657274 69666963 61746520 666F7220 50495620 41757468 656E7469 63617469
C e r t i f i c a t e . f o r . P I V . A u t h e n t i c a t i6F6E
o n
CKA_CERTIFICATE_TYPE CKC_X_509
CKA_ID 000072a4b2f12a00 / 1
00000000 01 .
CKA_VALUE 000072a4b2f12a18 / 702
CENSORED
CKA_ISSUER 000072a4b2f12ce8 / 24
CENSORED
DN: CN=CENSORED
CKA_SERIAL_NUMBER 000072a4b2f12d10 / 22
CENSORED
CKA_SUBJECT 000072a4b2f12d38 / 24
CENSORED
DN: CN=CENSORED
CKA_NETSCAPE_EMAIL(Netsc) 0000000000000000 / -1
Returned: 18 CKR_ATTRIBUTE_TYPE_INVALID
38: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:32.466
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2fe3a0
[in] pTemplate[1]:
CKA_NETSCAPE_EMAIL(Netsc) 0000000000000000 / 0
[out] pTemplate[1]:
CKA_NETSCAPE_EMAIL(Netsc) 0000000000000000 / -1
Returned: 18 CKR_ATTRIBUTE_TYPE_INVALID
39: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:32.466
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2fe3a0
[in] pTemplate[1]:
CKA_NETSCAPE_EMAIL(Netsc) 0000000000000000 / 0
[out] pTemplate[1]:
CKA_NETSCAPE_EMAIL(Netsc) 0000000000000000 / -1
Returned: 18 CKR_ATTRIBUTE_TYPE_INVALID
40: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:32.466
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2febe0
[in] pTemplate[10]:
CKA_CLASS 0000000000000000 / 0
CKA_TOKEN 0000000000000000 / 0
CKA_LABEL 0000000000000000 / 0
CKA_CERTIFICATE_TYPE 0000000000000000 / 0
CKA_ID 0000000000000000 / 0
CKA_VALUE 0000000000000000 / 0
CKA_ISSUER 0000000000000000 / 0
CKA_SERIAL_NUMBER 0000000000000000 / 0
CKA_SUBJECT 0000000000000000 / 0
CKA_NETSCAPE_EMAIL(Netsc) 0000000000000000 / 0
[out] pTemplate[10]:
CKA_CLASS 0000000000000000 / 8
CKA_TOKEN 0000000000000000 / 1
CKA_LABEL 0000000000000000 / 35
CKA_CERTIFICATE_TYPE 0000000000000000 / 8
CKA_ID 0000000000000000 / 1
CKA_VALUE 0000000000000000 / 704
CKA_ISSUER 0000000000000000 / 32
CKA_SERIAL_NUMBER 0000000000000000 / 19
CKA_SUBJECT 0000000000000000 / 24
CKA_NETSCAPE_EMAIL(Netsc) 0000000000000000 / -1
Returned: 18 CKR_ATTRIBUTE_TYPE_INVALID
41: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:32.466
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2febe0
[in] pTemplate[10]:
CKA_CLASS 000072a4b2f09180 / 8
CKA_TOKEN 000072a4b2f09198 / 1
CKA_LABEL 000072a4b2f091b0 / 35
CKA_CERTIFICATE_TYPE 000072a4b2f091e8 / 8
CKA_ID 000072a4b2f09200 / 1
CKA_VALUE 000072a4b2f09218 / 704
CKA_ISSUER 000072a4b2f094e8 / 32
CKA_SERIAL_NUMBER 000072a4b2f09518 / 19
CKA_SUBJECT 000072a4b2f09540 / 24
CKA_NETSCAPE_EMAIL(Netsc) 0000000000000000 / 0
[out] pTemplate[10]:
CKA_CLASS CKO_CERTIFICATE
CKA_TOKEN True
CKA_LABEL 000072a4b2f091b0 / 35
43657274 69666963 61746520 666F7220 43617264 20417574 68656E74 69636174
C e r t i f i c a t e . f o r . C a r d . A u t h e n t i c a t696F6E
i o n
CKA_CERTIFICATE_TYPE CKC_X_509
CKA_ID 000072a4b2f09200 / 1
00000000 04 .
CKA_VALUE 000072a4b2f09218 / 704
CENSORED
CKA_ISSUER 000072a4b2f094e8 / 32
CENSORED
DN: CN=CENSORED CA
CKA_SERIAL_NUMBER 000072a4b2f09518 / 19
CENSORED
CKA_SUBJECT 000072a4b2f09540 / 24
CENSORED
DN: CN=CENSORED
CKA_NETSCAPE_EMAIL(Netsc) 0000000000000000 / -1
Returned: 18 CKR_ATTRIBUTE_TYPE_INVALID
42: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:32.466
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2febe0
[in] pTemplate[1]:
CKA_NETSCAPE_EMAIL(Netsc) 0000000000000000 / 0
[out] pTemplate[1]:
CKA_NETSCAPE_EMAIL(Netsc) 0000000000000000 / -1
Returned: 18 CKR_ATTRIBUTE_TYPE_INVALID
43: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:32.466
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2febe0
[in] pTemplate[1]:
CKA_NETSCAPE_EMAIL(Netsc) 0000000000000000 / 0
[out] pTemplate[1]:
CKA_NETSCAPE_EMAIL(Netsc) 0000000000000000 / -1
Returned: 18 CKR_ATTRIBUTE_TYPE_INVALID
44: C_FindObjectsInit
P:670611; T:0x126052609844928 2024-01-24 15:15:32.467
[in] hSession = 0x72a4b8b41740
[in] pTemplate[2]:
CKA_TOKEN True
CKA_CLASS CKO_NETSCAPE_TRUST
Returned: 0 CKR_OK
45: C_FindObjects
P:670611; T:0x126052609844928 2024-01-24 15:15:32.467
[in] hSession = 0x72a4b8b41740
[in] ulMaxObjectCount = 0xa
[out] ulObjectCount = 0x0
Returned: 0 CKR_OK
46: C_FindObjectsFinal
P:670611; T:0x126052609844928 2024-01-24 15:15:32.467
[in] hSession = 0x72a4b8b41740
Returned: 0 CKR_OK
47: C_GetSessionInfo
P:670611; T:0x126051805460160 2024-01-24 15:15:32.473
[in] hSession = 0x72a4b8b41740
[out] pInfo:
slotID: 0
state: 0 ( CKS_RO_PUBLIC_SESSION)
flags: 4
CKF_SERIAL_SESSION
ulDeviceError: 0
Returned: 0 CKR_OK
48: C_GetSlotInfo
P:670611; T:0x126052609844928 2024-01-24 15:15:38.559
[in] slotID = 0x0
[out] pInfo:
slotDescription: 'Yubico YubiKey OTP+FIDO+CCID 00 '
'00 '
manufacturerID: 'Yubico '
hardwareVersion: 0.0
firmwareVersion: 0.0
flags: 7
CKF_TOKEN_PRESENT
CKF_REMOVABLE_DEVICE
CKF_HW_SLOT
Returned: 0 CKR_OK
49: C_GetSessionInfo
P:670611; T:0x126052609844928 2024-01-24 15:15:38.561
[in] hSession = 0x72a4b8b41740
[out] pInfo:
slotID: 0
state: 0 ( CKS_RO_PUBLIC_SESSION)
flags: 4
CKF_SERIAL_SESSION
ulDeviceError: 0
Returned: 0 CKR_OK
50: C_GetSlotList
P:670611; T:0x126051805460160 2024-01-24 15:15:38.581
[in] tokenPresent = 0x0
51: C_GetSessionInfo
P:670611; T:0x126052609844928 2024-01-24 15:15:38.582
[in] hSession = 0x72a4b8b41740
[out] pSlotList:
Count is 1
[out] *pulCount = 0x1
Returned: 0 CKR_OK
[out] pInfo:
slotID: 0
state: 0 ( CKS_RO_PUBLIC_SESSION)
flags: 4
CKF_SERIAL_SESSION
ulDeviceError: 0
Returned: 0 CKR_OK
52: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:38.586
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2fe3a0
[in] pTemplate[2]:
CKA_ID 0000000000000000 / 0
CKA_CLASS 0000000000000000 / 0
[out] pTemplate[2]:
CKA_ID 0000000000000000 / 1
CKA_CLASS 0000000000000000 / 8
Returned: 0 CKR_OK
53: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:38.586
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2fe3a0
[in] pTemplate[2]:
CKA_ID 000072a4b1373820 / 1
CKA_CLASS 000072a4b1373828 / 8
[out] pTemplate[2]:
CKA_ID 000072a4b1373820 / 1
00000000 01 .
CKA_CLASS CKO_CERTIFICATE
Returned: 0 CKR_OK
54: C_FindObjectsInit
P:670611; T:0x126052609844928 2024-01-24 15:15:38.586
[in] hSession = 0x72a4b8b41740
[in] pTemplate[2]:
CKA_ID 000072a4b1373820 / 1
00000000 01 .
CKA_CLASS CKO_PUBLIC_KEY
Returned: 0 CKR_OK
55: C_FindObjects
P:670611; T:0x126052609844928 2024-01-24 15:15:38.586
[in] hSession = 0x72a4b8b41740
[in] ulMaxObjectCount = 0x1
[out] ulObjectCount = 0x1
Object 0x72a4bb2fe2e0 matches
Returned: 0 CKR_OK
56: C_FindObjectsFinal
P:670611; T:0x126052609844928 2024-01-24 15:15:38.586
[in] hSession = 0x72a4b8b41740
Returned: 0 CKR_OK
57: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:38.586
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2febe0
[in] pTemplate[2]:
CKA_ID 0000000000000000 / 0
CKA_CLASS 0000000000000000 / 0
[out] pTemplate[2]:
CKA_ID 0000000000000000 / 1
CKA_CLASS 0000000000000000 / 8
Returned: 0 CKR_OK
58: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:38.586
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2febe0
[in] pTemplate[2]:
CKA_ID 000072a4b136d820 / 1
CKA_CLASS 000072a4b136d828 / 8
[out] pTemplate[2]:
CKA_ID 000072a4b136d820 / 1
00000000 04 .
CKA_CLASS CKO_CERTIFICATE
Returned: 0 CKR_OK
59: C_FindObjectsInit
P:670611; T:0x126052609844928 2024-01-24 15:15:38.586
[in] hSession = 0x72a4b8b41740
[in] pTemplate[2]:
CKA_ID 000072a4b136d820 / 1
00000000 04 .
CKA_CLASS CKO_PUBLIC_KEY
Returned: 0 CKR_OK
60: C_FindObjects
P:670611; T:0x126052609844928 2024-01-24 15:15:38.587
[in] hSession = 0x72a4b8b41740
[in] ulMaxObjectCount = 0x1
[out] ulObjectCount = 0x1
Object 0x72a4bb2fe8e0 matches
Returned: 0 CKR_OK
61: C_FindObjectsFinal
P:670611; T:0x126052609844928 2024-01-24 15:15:38.587
[in] hSession = 0x72a4b8b41740
Returned: 0 CKR_OK
62: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:38.605
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2febe0
[in] pTemplate[2]:
CKA_ID 0000000000000000 / 0
CKA_CLASS 0000000000000000 / 0
[out] pTemplate[2]:
CKA_ID 0000000000000000 / 1
CKA_CLASS 0000000000000000 / 8
Returned: 0 CKR_OK
63: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:38.605
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2febe0
[in] pTemplate[2]:
CKA_ID 000072a4b1376820 / 1
CKA_CLASS 000072a4b1376828 / 8
[out] pTemplate[2]:
CKA_ID 000072a4b1376820 / 1
00000000 04 .
CKA_CLASS CKO_CERTIFICATE
Returned: 0 CKR_OK
64: C_FindObjectsInit
P:670611; T:0x126052609844928 2024-01-24 15:15:38.605
[in] hSession = 0x72a4b8b41740
[in] pTemplate[2]:
CKA_ID 000072a4b1376820 / 1
00000000 04 .
CKA_CLASS CKO_PUBLIC_KEY
Returned: 0 CKR_OK
65: C_FindObjects
P:670611; T:0x126052609844928 2024-01-24 15:15:38.605
[in] hSession = 0x72a4b8b41740
[in] ulMaxObjectCount = 0x1
[out] ulObjectCount = 0x1
Object 0x72a4bb2fe8e0 matches
Returned: 0 CKR_OK
66: C_FindObjectsFinal
P:670611; T:0x126052609844928 2024-01-24 15:15:38.605
[in] hSession = 0x72a4b8b41740
Returned: 0 CKR_OK
67: C_FindObjectsInit
P:670611; T:0x126052609844928 2024-01-24 15:15:38.605
[in] hSession = 0x72a4b8b41740
[in] pTemplate[2]:
CKA_VALUE 000072a4b1374b18 / 704
CENSORED
CKA_CLASS CKO_CERTIFICATE
Returned: 0 CKR_OK
68: C_FindObjects
P:670611; T:0x126052609844928 2024-01-24 15:15:38.614
[in] hSession = 0x72a4b8b41740
[in] ulMaxObjectCount = 0x1
[out] ulObjectCount = 0x1
Object 0x72a4bb2febe0 matches
Returned: 0 CKR_OK
69: C_FindObjectsFinal
P:670611; T:0x126052609844928 2024-01-24 15:15:38.614
[in] hSession = 0x72a4b8b41740
Returned: 0 CKR_OK
70: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:38.614
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2febe0
[in] pTemplate[2]:
CKA_ID 0000000000000000 / 0
CKA_CLASS 0000000000000000 / 0
[out] pTemplate[2]:
CKA_ID 0000000000000000 / 1
CKA_CLASS 0000000000000000 / 8
Returned: 0 CKR_OK
71: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:38.614
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2febe0
[in] pTemplate[2]:
CKA_ID 000072a4b1369820 / 1
CKA_CLASS 000072a4b1369828 / 8
[out] pTemplate[2]:
CKA_ID 000072a4b1369820 / 1
00000000 04 .
CKA_CLASS CKO_CERTIFICATE
Returned: 0 CKR_OK
72: C_FindObjectsInit
P:670611; T:0x126052609844928 2024-01-24 15:15:38.614
[in] hSession = 0x72a4b8b41740
[in] pTemplate[2]:
CKA_ID 000072a4b1369820 / 1
00000000 04 .
CKA_CLASS CKO_PRIVATE_KEY
Returned: 0 CKR_OK
73: C_FindObjects
P:670611; T:0x126052609844928 2024-01-24 15:15:38.614
[in] hSession = 0x72a4b8b41740
[in] ulMaxObjectCount = 0x1
[out] ulObjectCount = 0x1
Object 0x72a4bb2fe340 matches
Returned: 0 CKR_OK
74: C_FindObjectsFinal
P:670611; T:0x126052609844928 2024-01-24 15:15:38.614
[in] hSession = 0x72a4b8b41740
Returned: 0 CKR_OK
75: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:38.614
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2fe340
[in] pTemplate[1]:
CKA_KEY_TYPE 000072a4e9085508 / 8
[out] pTemplate[1]:
CKA_KEY_TYPE CKK_EC
Returned: 0 CKR_OK
76: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:38.614
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2fe340
[in] pTemplate[1]:
CKA_TOKEN 000072a4e908550f / 1
[out] pTemplate[1]:
CKA_TOKEN True
Returned: 0 CKR_OK
77: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:38.614
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2fe340
[in] pTemplate[1]:
CKA_PRIVATE 000072a4e908550f / 1
[out] pTemplate[1]:
CKA_PRIVATE False
Returned: 0 CKR_OK
78: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:38.614
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2fe340
[in] pTemplate[1]:
CKA_EC_PARAMS 0000000000000000 / 0
[out] pTemplate[1]:
CKA_EC_PARAMS 0000000000000000 / 7
Returned: 0 CKR_OK
79: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:38.614
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2fe340
[in] pTemplate[1]:
CKA_EC_PARAMS 000072a4b36c8740 / 7
[out] pTemplate[1]:
CKA_EC_PARAMS 000072a4b36c8740 / 7
00000000 06 05 2B 81 04 00 22 ..+..."
Returned: 0 CKR_OK
80: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:38.614
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2fe340
[in] pTemplate[1]:
CKA_PRIVATE 000072a4e908529f / 1
[out] pTemplate[1]:
CKA_PRIVATE False
Returned: 0 CKR_OK
81: C_OpenSession
P:670611; T:0x126052609844928 2024-01-24 15:15:38.614
[in] slotID = 0x0
[in] flags = 0x4
[in] pApplication = 0x72a4b2afb800
[in] Notify = 0x72a4e9120c90
[out] *phSession = 0x72a4b203b200
Returned: 0 CKR_OK
82: C_SignInit
P:670611; T:0x126052609844928 2024-01-24 15:15:38.614
[in] hSession = 0x72a4b203b200
[in] pMechanism->type = CKM_ECDSA
[in] pMechanism->pParameter[ulParameterLen] NULL [size : 0x0 (0)]
[in] hKey = 0x72a4bb2fe340
Returned: 0 CKR_OK
83: C_GetAttributeValue
P:670611; T:0x126052609844928 2024-01-24 15:15:38.614
[in] hSession = 0x72a4b8b41740
[in] hObject = 0x72a4bb2fe340
[in] pTemplate[1]:
CKA_ALWAYS_AUTHENTICATE 000072a4e908529f / 1
[out] pTemplate[1]:
CKA_ALWAYS_AUTHENTICATE False
Returned: 0 CKR_OK
84: C_Sign
P:670611; T:0x126052609844928 2024-01-24 15:15:38.614
[in] hSession = 0x72a4b203b200
[in] pData[ulDataLen] 000072a4e9085488 / 48
00000000 E6 3B 4F FD 06 DA 7A 14 38 09 7A 0C 4D 3E B4 C1 .;O...z.8.z.M>..
00000010 57 91 3C 82 B9 8F 29 E7 C2 56 58 18 2D CE FC F1 W.<...)..VX.-...
00000020 9B E3 AD 8D 78 74 5E 31 41 EF B3 7B 89 A7 09 C9 ....xt^1A..{....
[out] pSignature[*pulSignatureLen] 000072a4b21dfee0 / 96
00000000 8A 27 28 64 1B E3 FB 60 F0 C9 4B A3 BE 48 45 75 .'(d...`..K..HEu
00000010 61 98 13 DF 3E 57 8B 7C C3 0E 87 38 68 1A 05 21 a...>W.|...8h..!
00000020 2E 1B 0F 67 DD 67 4B 9C 8F FF C4 6B D1 2A B8 E4 ...g.gK....k.*..
00000030 CE BA 32 69 9A DD 15 74 07 8C BC 5E B8 4C C9 DC ..2i...t...^.L..
00000040 A4 C7 61 E8 9E 4B 84 E5 43 69 22 19 11 F6 33 93 ..a..K..Ci"...3.
00000050 72 93 58 34 F9 3D 8E D6 0A CD 80 D3 B8 C2 44 BF r.X4.=........D.
Returned: 0 CKR_OK
85: C_CloseSession
P:670611; T:0x126052609844928 2024-01-24 15:15:38.733
[in] hSession = 0x72a4b203b200
Returned: 0 CKR_OK
86: C_GetSlotInfo
P:670611; T:0x126052609844928 2024-01-24 15:16:12.927
[in] slotID = 0x0
[out] pInfo:
slotDescription: 'Yubico YubiKey OTP+FIDO+CCID 00 '
'00 '
manufacturerID: 'Yubico '
hardwareVersion: 0.0
firmwareVersion: 0.0
flags: 7
CKF_TOKEN_PRESENT
CKF_REMOVABLE_DEVICE
CKF_HW_SLOT
Returned: 0 CKR_OK
87: C_GetSessionInfo
P:670611; T:0x126052609844928 2024-01-24 15:16:12.930
[in] hSession = 0x72a4b8b41740
[out] pInfo:
slotID: 0
state: 0 ( CKS_RO_PUBLIC_SESSION)
flags: 4
CKF_SERIAL_SESSION
ulDeviceError: 0
Returned: 0 CKR_OK
88: C_GetSlotList
P:670611; T:0x126051805460160 2024-01-24 15:16:12.973
[in] tokenPresent = 0x0
[out] pSlotList:
Count is 1
[out] *pulCount = 0x1
Returned: 0 CKR_OK
89: C_GetSessionInfo
P:670611; T:0x126051805460160 2024-01-24 15:16:12.982
[in] hSession = 0x72a4b8b41740
[out] pInfo:
slotID: 0
state: 0 ( CKS_RO_PUBLIC_SESSION)
flags: 4
CKF_SERIAL_SESSION
ulDeviceError: 0
Returned: 0 CKR_OK
90: C_GetSlotList
P:670611; T:0x126052855567616 2024-01-24 15:16:17.210
[in] tokenPresent = 0x0
[out] pSlotList:
Count is 1
[out] *pulCount = 0x1
Returned: 0 CKR_OK
91: C_GetSlotInfo
P:670611; T:0x126052855567616 2024-01-24 15:16:17.212
[in] slotID = 0x0
[out] pInfo:
slotDescription: 'Yubico YubiKey OTP+FIDO+CCID 00 '
'00 '
manufacturerID: 'Yubico '
hardwareVersion: 0.0
firmwareVersion: 0.0
flags: 7
CKF_TOKEN_PRESENT
CKF_REMOVABLE_DEVICE
CKF_HW_SLOT
Returned: 0 CKR_OK
92: C_GetSessionInfo
P:670611; T:0x126052855567616 2024-01-24 15:16:17.214
[in] hSession = 0x72a4b8b41740
[out] pInfo:
slotID: 0
state: 0 ( CKS_RO_PUBLIC_SESSION)
flags: 4
CKF_SERIAL_SESSION
ulDeviceError: 0
Returned: 0 CKR_OK
93: C_GetSlotInfo
P:670611; T:0x126052855567616 2024-01-24 15:16:17.217
[in] slotID = 0x0
[out] pInfo:
slotDescription: 'Yubico YubiKey OTP+FIDO+CCID 00 '
'00 '
manufacturerID: 'Yubico '
hardwareVersion: 0.0
firmwareVersion: 0.0
flags: 7
CKF_TOKEN_PRESENT
CKF_REMOVABLE_DEVICE
CKF_HW_SLOT
Returned: 0 CKR_OK
94: C_CloseAllSessions
P:670611; T:0x126052855567616 2024-01-24 15:16:29.829
[in] slotID = 0x0
Returned: 0 CKR_OK
95: C_Finalize
P:670611; T:0x126052855567616 2024-01-24 15:16:29.829
Returned: 0 CKR_OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment