[tpm2] Re: TPM2 PKCS11 intergration error for Openstack Barbican

parimalanitesh at gmail.com
Newsgroups dev.linux.lists.tpm2
Message-ID <[email protected]>
Hi All,

I didn't get the rpm for 3.1.x or 3.0.x 
I've got RPM for 2.4.5 version and i'm ending up with below error

()[root(a)e9ab983ac792 sles15_sp3]# barbican-manage hsm gen_hmac --library-path /usr/lib64/pkcs11/libtpm2_pkcs11.so.0 --passphrase stack --slot-id 1 --label my_hmac_label

** (process:614): CRITICAL **: 09:58:20.157: failed to allocate dbus proxy object: Could not connect: No such file or directory
WARNING:tcti:src/tss2-tcti/tctildr.c:79:tcti_from_init() TCTI init for function 0x7f17e82582a0 failed with a0008
WARNING:tcti:src/tss2-tcti/tctildr.c:109:tcti_from_info() Could not initialize TCTI named: tcti-abrmd
ERROR:tcti:src/tss2-tcti/tctildr-dl.c:150:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-tabrmd.so.0
WARNING:tcti:src/tss2-tcti/tcti-device.c:189:tcti_device_receive() The underlying IPC mechanism does not support asynchronous I/O. The 'timeout' parameter is set to TSS2_TCTI_TIMEOUT_BLOCK
WARNING:tcti:src/tss2-tcti/tcti-device.c:189:tcti_device_receive() The underlying IPC mechanism does not support asynchronous I/O. The 'timeout' parameter is set to TSS2_TCTI_TIMEOUT_BLOCK
WARNING:fapi:src/tss2-fapi/api/Fapi_List.c:226:Fapi_List_Finish() Profile of path not provisioned: /HS/SRK
ERROR:fapi:src/tss2-fapi/api/Fapi_List.c:81:Fapi_List() ErrorCode (0x00060034) Entities_List
ERROR: Listing FAPI token objects failed.

** (process:614): CRITICAL **: 09:58:20.167: failed to allocate dbus proxy object: Could not connect: No such file or directory
WARNING:tcti:src/tss2-tcti/tctildr.c:79:tcti_from_init() TCTI init for function 0x7f17e82582a0 failed with a0008
WARNING:tcti:src/tss2-tcti/tctildr.c:109:tcti_from_info() Could not initialize TCTI named: tcti-abrmd
ERROR:tcti:src/tss2-tcti/tctildr-dl.c:150:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-tabrmd.so.0
ERROR: HSM returned response code: 0x91 CKR_OPERATION_NOT_INITIALIZED


Package versions

libtss2-mu0-2.4.5-1.11.x86_64
libtss2-tctildr0-2.4.5-1.11.x86_64
libtss2-sys0-2.4.5-1.11.x86_64
libtss2-fapi1-3.1.0-lp152.116.2.x86_64
libtss2-esys0-2.4.5-1.11.x86_64
libtss2-tcti-device0-2.4.5-1.11.x86_64
libtss2-tcti-tabrmd0-2.3.3-1.12.x86_64
libtss2-rc0-2.4.5-1.11.x86_64
libtss2-tcti-mssim0-2.4.5-1.11.x86_64
libtss2-sys1-3.1.0-lp153.117.1.x86_64
libtss2-fapi0-2.4.5-1.11.x86_64


tpm2-0-tss-2.4.5-1.11.x86_64
tpm2.0-tools-4.3.0-2.3.x86_64
tpm2.0-abrmd-2.3.3-1.12.x86_64
tpm2-tss-engine-1.0.1-4.3.1.x86_64
tpm2-pkcs11-1.6.0+git20210503.c2d53cc-lp152.6.1.x86_64
tpm-tools-pkcs11-1.3.9.1-4.3.1.x86_64

I don't have the rpm for tpm2-pkcs11 so when i'm installing it with 

zypper addrepo https://download.opensuse.org/repositories/home:brassh:branches:security/openSUSE_Tumbleweed/home:brassh:branches:security.repo
zypper refresh
zypper install tpm2-pkcs11

libtss2-fapi0-2.4.5-1.11.x86_64 is overridden by libtss2-fapi1-3.1.0-lp152.116.2.x86_64 

Can you please tell me what configuration I'm missing

Thanks
Nitesh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.