Jürgen Repp
Jürgen Repp
I have created a primary signing key with FAPI: `tss2_createkey -p /P_RSA2048SHA256/HE/mykey -t "user,sign"` and with the tpm tools: `tpm2_createprimary -Grsa2048 -C e -c prim.ctx -a "fixedtpm|fixedparent|sensitivedataorigin|userwithauth|sign` In both cases...
@AndreasFuchsTPM On Ubuntu 22.04 I got the following error ? ``` find src/ test/ include/ -type f \( -name *.c -or -name *.h \) | xargs clang-format -i /workspace/tpm2-tss/.clang-format:14:3: error:...
The statecase macro now looks better with @johol's suggestion e.g.: ``` statecase(context->state, PROVISION_READ_HIERARCHY) ; path = command->pathlist[command->path_idx]; ``` Only superfluous semicolons are moved to the next line. But I get...
@polarina In the `cleanup_return` part of `Esys_Initialize``Tss2_TctiLdr_Finalize` is called. This function calls `tctildr_finalize` where the tcti context is freed. So there is no leak, is there?
@polarina Thank you for the example. I will create a PR.
You can set `inPublic.size = 0` Why do you use `.parameters.eccDetail` for type `TPM2_ALG_SYMCIPHER`? You should use ` .parameters.symDetail`. E.g. for AES: ``` .parameters.symDetail = { .sym = { .algorithm...
@PunyHunter In https://github.com/tpm2-software/tpm2-tss/pull/2727/commits/bc9186a637ca3c8e68146e1a47aeef7759c0cb29 I did implement importing of ossl keys without using innerwrap and outerwrap. Perhaps looking at this commit might be useful.
It would be interesting to see the combination of the tss trace and strace: `TSS2_LOG=tcti+trace strace -e file tpm2_getrandom -Tdevice --hex 5 2>&1 | grep "Attempting to load TCTI info"...
Thank you for the trace. The correct so file tcti-device is loaded with dlopen but the generated handle provides the information about tctildr. strace showed that only /dev/tpm0 exists but...
Thank you again for the trace. My assumption was wrong that tcti-device did access /dev/tpm0. The open in the trace was caused by dlopen /dev/tpm0.