Jürgen Repp

Results 184 comments of Jürgen Repp

Is NID_sm2 defined in /usr/include/openssl/obj_mac.h? `grep NID_sm2 /usr/include/openssl/obj_mac.h`

Could you please check whether: ``` #if OPENSSL_VERSION_NUMBER >= 0x10101000L case NID_sm2: tpmCurveId = TPM2_ECC_SM2_P256; break; #endif ``` is used in the function `get_ecc_tpm2b_public_from_evp` (`switch (curveId)...)` in file src/tss2-fapi/fapi_crypto.c of...

> Darn I am really out of ideas. @AndreasFuchsTPM or @JuergenReppSIT have you seen this before at all? no I haven't seen such a behaviour. @fansari Perhaps you could check...

> I have added this to my P_ECCP256SHA256.json but it does not change the behaviour: @fansari Sorry, my mistake. "tcti": "device:/dev/tpmrm0" should be added to fapi-config.json.

@fansari If you can't create the link could you please try: ln -s /usr/lib64/libtss2-tcti-device.so.0 libtss2-tcti-default.so export LD_LIBRARY_PATH=. evolution

@fansari The behavior seems to have changed after you created the link an the LD_LIBRARY_PATH was set. Do you have access rights do /dev/tpmrm0? If you are not in the...

@fansari To get more information could you please execute: `TPM2_PKCS11_LOG_LEVEL=2 evolution`

@fansari Could you please produce this trace with: `export TPM2_PKCS11_TCTI=device:/dev/tpmrm0`

@fansari Thank you for your patience an for the hint with your .bashrc. That explains why setting the LD_LIBRARY_PATH did not work. What happens if you use the tool commands...

@fansari Does everything work if you set: export TPM2_PKCS11_TCTI=device:/dev/tpmrm0 in your .bashrc, execute bash, and start evolution?