VBS Enclave Loading issue

Ad-1048 0 信誉分
2024-12-26T12:32:33.5766667+00:00

VBS Enclave Loading issue

According to the VBS Enclaves development guide, Enclave Dll files in production environments require trusted signatures in order to load successfully:

learn.microsoft.com/en-us/windows/win32/trusted-execution/vbs-en...

image-20241226103557-clrrz40

We have verified through the trusted signature process in Microsoft Azure and created a Certificate Profile of VBS Enclave type:

learn.microsoft.com/en-us/azure/trusted-signing/quickstart?tabs=...

image-20241226103854-d9kzg75

We downloaded the Microsoft VbsEnclave sample code from GitHub, compiled it, and signed the generated Enclave Dll file with trusted signature:

image-20241226103940-h1m67dd

Then we run the Enclave host application to load Enclave dll by LoadEnclaveImage API, but got ERROR_GEN_FAILURE (0x0000001f,A device attached to the system is not functioning.)error or ERROR_BAD_EXE_FORMAT (0x000000c1, %1 is not a valid Win32 application.)error. Please help to figure out why we got such error here, thanks.

image-20241226104057-kqg49b1

Windows API - Win32
Windows API - Win32
一组适用于桌面和服务器应用程序的核心 Windows 应用程序编程接口 (API)。 以前称为 Win32 API。
118 个问题
C++
C++
一种通用的高级编程语言,作为 C 编程语言的扩展而创建,除了用于低级别内存操作的功能外,还具有面向对象、泛型和功能性等特点。
155 个问题
Windows 11
Windows 11
专为提高工作效率、创造力和易用性而设计的 Microsoft 操作系统。
23 个问题
{count} 票

你的答案

问题作者可以将答案标记为“接受的答案”,这有助于用户了解已解决作者问题的答案。