Skip to content

Commit

Permalink
get-derived-key: fix URL + add to KBS confidential-containers#2
Browse files Browse the repository at this point in the history
  • Loading branch information
eldios committed Feb 5, 2025
1 parent c327384 commit bd4143d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions attestation-agent/kbs_protocol/src/evidence_provider/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ impl EvidenceProvider for MockedEvidenceProvider {
Ok("test evidence".into())
}

async fn get_derived_key(&self, _context: Vec<u8>) -> Result<Vec<u8>> {
Ok(vec![0u8; 32]) // Return a mock 32-byte key filled with zeros
async fn get_derived_key(&self, _key_id: Vec<u8>) -> Result<String> {
Ok("amazing key!".into())
}

async fn get_tee_type(&self) -> Result<Tee> {
Expand Down

0 comments on commit bd4143d

Please sign in to comment.