diff --git a/Cargo.lock b/Cargo.lock index 9148765..769d7b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1380,7 +1380,7 @@ dependencies = [ [[package]] name = "snpguest" -version = "0.4.0" +version = "0.4.1" dependencies = [ "anyhow", "asn1-rs", diff --git a/Cargo.toml b/Cargo.toml index 0a53f2b..d98a280 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "snpguest" -version = "0.4.0" +version = "0.4.1" authors = ["The VirTEE Project Developers"] edition = "2021" license = "Apache-2.0" diff --git a/src/fetch.rs b/src/fetch.rs index d8f98b0..8045a60 100644 --- a/src/fetch.rs +++ b/src/fetch.rs @@ -134,7 +134,8 @@ mod cert_authority { // Should make -> https://kdsintf.amd.com/vcek/v1/{SEV_PROD_NAME}/cert_chain let url: String = format!( - "{KDS_CERT_SITE}/{endorser}/v1/{}/{KDS_CERT_CHAIN}", + "{KDS_CERT_SITE}/{}/v1/{}/{KDS_CERT_CHAIN}", + endorser.to_string().to_lowercase(), processor_model.to_kds_url() );