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
Trying using TSS.NET in a netcoreapp2.1 on Ubuntu 16.04 Linux I'm getting:
System.DllNotFoundException: Unable to load DLL 'tbs.dll': The specified module or one of its dependencies could not be found.
(Exception from HRESULT: 0x8007007E)
at Tpm2Lib.TbsWrapper.NativeMethods.Tbsi_Context_Create(TBS_CONTEXT_PARAMS& ContextParams, UIntPtr& Context)
at Tpm2Lib.TbsDevice.Connect()
at Microsoft.Azure.Devices.Tpm.TpmDevice..ctor(Tpm2Device tpmDevice, UInt32 logicalDeviceId, Byte[] ekAuth, Action`2 initializeAction) in /home/cristian/int/DpsPoc/DpsPocLib/Tpm/TpmDevice.cs:line 56
Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'tbs.dll': The specified module or one of its dependencies could not be found.
(Exception from HRESULT: 0x8007007E)
@amarochk and I discussed offline that the steps to enable this are:
Create a new class similar to TbsDevice
Instead of sending TPM command buffer via the TBS API, send it to /dev/tpm_n_ (n being the TPM device ID).
Packaging with multi target for RID == linux-x64
The text was updated successfully, but these errors were encountered:
I'm seeing this in my environment. I'm using version 2.1.1 of the Microsoft.TSS nuget package and am running on Ubuntu 18.04 LTS.
Unhandled Exception: System.DllNotFoundException: Unable to load shared library 'tbs.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libtbs.dll: cannot open shared object file: No such file or directory
at Tpm2Lib.TbsWrapper.NativeMethods.Tbsi_Context_Create(TBS_CONTEXT_PARAMS& ContextParams, UIntPtr& Context)
at Tpm2Lib.TbsDevice.Connect() in e:\git\TSS.MSR\TSS.NET\TSS.Net\TbsDevice.cs:line 44
I don't see tbs.dll anywhere in the nuget package. What am I doing wrong?
Trying using TSS.NET in a netcoreapp2.1 on Ubuntu 16.04 Linux I'm getting:
@amarochk and I discussed offline that the steps to enable this are:
The text was updated successfully, but these errors were encountered: