Open binxing opened 4 years ago
@MWShan Windows has an integrated support via setting of the regkey to enable admins to opt-in to enabling launch control and it seems like any additional functionality in this space would follow that model. Can you follow-up?
In Windows, flexible launch control is currently supported in Windows Server 2016/2019, and is provided through a driver (see https://github.com/intel/SGXDataCenterAttestationPrimitives/tree/master/driver/win ) and is must be enabled by setting the ulong value "SGX_Launch_Config_Optin" under the driver parameters registry key to "1".
If flexible launch control is supported in the HW and enabled via the registry key, then enclaves signed with a MRSIGNER from an allow-list provided in the driver will be permitted to load with the provision key (see https://github.com/intel/SGXDataCenterAttestationPrimitives/blob/master/driver/win/PLE/whitelist.h ). A user must update this list in order to add new signers of enclaves using the provision key.
In SIG-Arch @MWShan - On the Windows side, this is backlogged. @MWShan - On Linux, there are customers that might want to do this This is not a priority for Intel. Other customers might want to do this though.
@CodeMonkeyLeet in SIG-Arch- Integration of the 5.11 Linux driver would require us to do this work.
3526 adds PROVISION key and EINIT key support, and its test cases require setting the
PROVISION_KEY
attribute bit for the test enclaves, which is however disallowed in the test environment by bors./dev/sgx/provision
to launch enclaves withPROVISION_KEY
set.