Skip to content

Commit

Permalink
Merge pull request #45 from larrydewey/url-fix
Browse files Browse the repository at this point in the history
URL: Fixing URL breakage
  • Loading branch information
larrydewey authored Mar 5, 2024
2 parents e19a4d8 + 0238b3f commit 42da16b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
3 changes: 2 additions & 1 deletion src/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
);

Expand Down

0 comments on commit 42da16b

Please sign in to comment.