diff --git a/az-cvm-vtpm/Cargo.toml b/az-cvm-vtpm/Cargo.toml index 5dd4578..ed761a6 100644 --- a/az-cvm-vtpm/Cargo.toml +++ b/az-cvm-vtpm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "az-cvm-vtpm" -version = "0.5.2" +version = "0.5.3" edition = "2021" repository = "https://github.com/kinvolk/azure-cvm-tooling/" license = "MIT" @@ -45,6 +45,6 @@ openssl = "0.10" serde = { version = "1.0.189", features = ["derive"] } serde_json = "1.0.107" thiserror = "1.0.38" -sev = "1.2.0" +sev = "3.1.1" ureq = { version = "2.6.2", default-features = false, features = ["json"] } zerocopy = { version = "0.7.26", features = ["derive"] } diff --git a/az-cvm-vtpm/az-snp-vtpm/Cargo.toml b/az-cvm-vtpm/az-snp-vtpm/Cargo.toml index 90d0051..8ba59ca 100644 --- a/az-cvm-vtpm/az-snp-vtpm/Cargo.toml +++ b/az-cvm-vtpm/az-snp-vtpm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "az-snp-vtpm" -version = "0.5.2" +version = "0.5.3" edition = "2021" repository = "https://github.com/kinvolk/azure-cvm-tooling/" license = "MIT" @@ -17,7 +17,7 @@ path = "src/main.rs" required-features = ["attester", "verifier"] [dependencies] -az-cvm-vtpm = { path = "..", version = "0.5.2" } +az-cvm-vtpm = { path = "..", version = "0.5.3" } bincode.workspace = true clap.workspace = true openssl = { workspace = true, optional = true } diff --git a/az-cvm-vtpm/az-snp-vtpm/example/src/main.rs b/az-cvm-vtpm/az-snp-vtpm/example/src/main.rs index e9b586a..597df91 100644 --- a/az-cvm-vtpm/az-snp-vtpm/example/src/main.rs +++ b/az-cvm-vtpm/az-snp-vtpm/example/src/main.rs @@ -68,7 +68,7 @@ impl RelyingParty { pub fn request_secret(&mut self) -> Vec { // placeholder for a real nonce, it is usually randomly generated ephemeral value. let nonce = "challenge".as_bytes().to_vec(); - self.nonce = nonce.clone(); + self.nonce.clone_from(&nonce); nonce } diff --git a/az-cvm-vtpm/az-tdx-vtpm/Cargo.toml b/az-cvm-vtpm/az-tdx-vtpm/Cargo.toml index 34208a1..ff6497d 100644 --- a/az-cvm-vtpm/az-tdx-vtpm/Cargo.toml +++ b/az-cvm-vtpm/az-tdx-vtpm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "az-tdx-vtpm" -version = "0.5.2" +version = "0.5.3" edition = "2021" repository = "https://github.com/kinvolk/azure-cvm-tooling/" license = "MIT" @@ -16,7 +16,7 @@ name = "tdx-vtpm" path = "src/main.rs" [dependencies] -az-cvm-vtpm = { path = "..", version = "0.5.2" } +az-cvm-vtpm = { path = "..", version = "0.5.3" } base64-url = "2.0.0" bincode.workspace = true serde.workspace = true