Skip to content

Commit

Permalink
Merge pull request #377 from yuguorui/master
Browse files Browse the repository at this point in the history
Add Alibaba Cloud TDX default platform policy for fmspc 90C06F000000
  • Loading branch information
llly authored Apr 24, 2024
2 parents cd27223 + 1c2a6b0 commit 14c8002
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SampleCode/QuoteAppraisalSample/App/App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ vector<string> tdx_platform_policy = {
"Policies/tdx_platform_policy_platform_grace_period.jwt",
"Policies/tdx_platform_policy_collateral_grace_period.jwt",
"Policies/tdx_platform_policy_rejected_id.jwt",

// Alibaba Cloud predefined TDX platform policy with FMSPC 90C06F000000
"Policies/alibabacloud_tdx_platform_policy_90C06F000000.jwt",
};
string &g_tenant_policy = enclave_policy;
vector<string> &g_platform_policy = sgx_platform_policy;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"policy_array": [
{
"environment": {
"class_id": "f708b97f-0fb2-4e6b-8b03-8a5bcd1221d3",
"description": "Alibaba Cloud Evaluation Num Policy for TDX Platform"
},
"reference": {
"allow_dynamic_plaform": true,
"accepted_tcb_status": [
"UpToDate"
],
"min_eval_num": 16
}
},
{
"environment": {
"class_id": "3769258c-75e6-4bc7-8d72-d2b0e224cad2",
"description": "Alibaba Cloud Num Policy for Verified TDQE"
},
"reference": {
"accepted_tcb_status": [
"UpToDate"
],
"min_eval_num": 16
}
}
]
}

0 comments on commit 14c8002

Please sign in to comment.