Skip to content

Commit

Permalink
DROPME: make tests to pass by using sha512 hash algo
Browse files Browse the repository at this point in the history
Signed-off-by: Mikko Ylinen <[email protected]>
  • Loading branch information
mythi committed Jun 14, 2024
1 parent cd905d6 commit 86745fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions kbs/src/api/src/attestation/coco/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ impl Attest for BuiltInCoCoAs {
attestation.tee_evidence.into_bytes(),
tee,
Some(Data::Structured(runtime_data_plaintext)),
HashAlgorithm::Sha384,
HashAlgorithm::Sha512,
None,
HashAlgorithm::Sha384,
HashAlgorithm::Sha512,
vec!["default".into()],
)
.await
Expand Down
2 changes: 1 addition & 1 deletion kbs/src/api/src/attestation/coco/grpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ mod attestation {
pub const DEFAULT_AS_ADDR: &str = "http://127.0.0.1:50004";
pub const DEFAULT_POOL_SIZE: u64 = 100;

pub const COCO_AS_HASH_ALGORITHM: &str = "sha384";
pub const COCO_AS_HASH_ALGORITHM: &str = "sha512";

#[derive(Clone, Debug, Deserialize)]
pub struct GrpcConfig {
Expand Down

0 comments on commit 86745fa

Please sign in to comment.