Open tdesmet opened 2 years ago
Hi Tom,
(Not a maintainer, so can't speak authoritatively about future NuGet package releases of this library)
Since this repository is open source, one workaround to the NuGet problem would be to submodule this repo from yours, and then link the csproj from your csproj:
<ProjectReference Include="..\TSS.MSR\TSS.NET\TSS.Net\TSS.Net.csproj" />
That way you can depend on this library from any commit (or fork).
I confirm the same happens on FreeBSD and Linux using the latest but ancient nuget package 2.1.1. We also managed to workaround this by ProjectReferencing TSS.Net.csproj and Microsoft.Azure.Devices.Provisioning.Security.Tpm.csproj in chain from our device project
I am using an M1 macbook and trying to to simulate an iot device using the Microsoft.Azure.Devices packages. When I try to create the SecurityProviderTpmHsm I get an error Unable to load shared library 'bcrypt.dll' or one of its dependencies.
The Microsoft.Azure.Devices.Provisioning.Security.Tpm package has a dependency on this library and the error originates from this library.
It seems that this library uses bcrypt. I noticed that work has been done in https://github.com/microsoft/TSS.MSR/pull/105 to make this library cross platform compatible. But since then no new nuget package has been released.
Is it possible to release a new version? And hopefully that fixes the problem...
Stack trace
Code
Issue on azure iot sdk csharp: https://github.com/Azure/azure-iot-sdk-csharp/issues/2362