MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / attest

Method attest

guest-agent/src/rpc_service.rs:432–435  ·  view source on GitHub ↗
(self, request: RawQuoteArgs)

Source from the content-addressed store, hash-verified

430 }
431
432 async fn attest(self, request: RawQuoteArgs) -> Result<AttestResponse> {
433 let report_data = pad64(&request.report_data).context("Report data is too long")?;
434 self.state.attest_response(report_data)
435 }
436
437 async fn version(self) -> Result<WorkerVersion> {
438 Ok(WorkerVersion {

Calls 2

pad64Function · 0.70
attest_responseMethod · 0.45

Tested by

no test coverage detected