You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS, version, SKU and CPU architecture used: yocto kirkstone with kernel 5.15, arm32v7
Application's .NET Target Framework : 6.0
Device: Raspberry PI3
SDK version used: Microsoft.Azure.Devices.Provisioning.Security.Tpm Version 1.15.0-preview-00
Description of the issue
Fails to acquire TPM device. It worked before but I have upgraded OS and kernel etc so it might be that or the container image being too old. I am not sure where that response comes from, whether it's a generic error or if the return codes have changed or at what level.
I use cr.microsoft.com/dotnet/runtime:6.0.15-bullseye-slim-arm32v7.
With packages:
libtss2-tcti-tabrmd-dev
tpm2-tools
tpm2-abrmd \
Host OS has :
tpm2-tss 3.2.2
tpm2-tools 5.2
tpm2-abrmd 2.4.1
Code sample exhibiting the issue
usingvarsecProvTpm=newSecurityProviderTpmHsm(deviceId);varauthenticationMethod=newDeviceAuthenticationWithTpm(deviceId,secProvTpm);_logger.LogInformation("Creating Device Client with TPM");deviceClient=DeviceClient.Create(iotHubHostName,authenticationMethod,Util.GetTransportTypeFromEnvironment());
Console log of the issue
`Closing TCTI conn
TCTI conn closed!
AbrmdWrapper: Got pointer to TctiProvInfo from abrmd!
AbrmdWrapper: Unmarshaled TctiProvInfo
AbrmdWrapper: Initial call to tcti_init_fn() returned 0; ctxSize = 88
AbrmdWrapper: Successfully initialized TCTI ctx
** (process:1): WARNING **: 15:28:19.955: Failed to create connection with service: Method ?CreateConnection? returned type ?(t)?, but expected ?(aht)?
AbrmdWrapper: Unmarshaled TCTI_CTX`
The text was updated successfully, but these errors were encountered:
I upgraded to mcr.microsoft.com/dotnet/runtime:6.0.27-bookworm-slim-arm32v7 in the container and the error disappeared but the process natively crashes:
Context
Description of the issue
Fails to acquire TPM device. It worked before but I have upgraded OS and kernel etc so it might be that or the container image being too old. I am not sure where that response comes from, whether it's a generic error or if the return codes have changed or at what level.
I use cr.microsoft.com/dotnet/runtime:6.0.15-bullseye-slim-arm32v7.
With packages:
libtss2-tcti-tabrmd-dev
tpm2-tools
tpm2-abrmd \
Host OS has :
tpm2-tss 3.2.2
tpm2-tools 5.2
tpm2-abrmd 2.4.1
Code sample exhibiting the issue
Console log of the issue
`Closing TCTI conn
TCTI conn closed!
AbrmdWrapper: Got pointer to TctiProvInfo from abrmd!
AbrmdWrapper: Unmarshaled TctiProvInfo
AbrmdWrapper: Initial call to tcti_init_fn() returned 0; ctxSize = 88
AbrmdWrapper: Successfully initialized TCTI ctx
** (process:1): WARNING **: 15:28:19.955: Failed to create connection with service: Method ?CreateConnection? returned type ?(t)?, but expected ?(aht)?
AbrmdWrapper: Unmarshaled TCTI_CTX`
The text was updated successfully, but these errors were encountered: