-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
api_server: add SGX support to Amber AS #159
Conversation
Signed-off-by: Mikko Ylinen <[email protected]>
the SGX part tested with Amber, @Lu-Biao to help check TDX |
It works well with TDX. @mythi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The patch looks good to me, while we need continue the talk about the architecture of KBS.
} | ||
// get quote | ||
let attestation = serde_json::from_str::<Attestation>(attestation) | ||
.map_err(|e| anyhow!("Deserialize Attestation failed: {:?}", e))?; | ||
let tdx_evidence = serde_json::from_str::<TdxEvidence>(&attestation.tee_evidence) | ||
.map_err(|e| anyhow!("Deserialize TDX Evidence failed: {:?}", e))?; | ||
let evidence = serde_json::from_str::<AmberTeeEvidence>(&attestation.tee_evidence) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'd better raise an info
or warn
here to tell the user that eventlog
is ignored.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With amber, event_log
needs to be added as a separate field in the appraisal request but it's currently not done so there's no change in functionality with this PR.
can we get it for the release? |
No description provided.