Skip to content

Commit

Permalink
bump: sev crate to 3.1.1 (#52)
Browse files Browse the repository at this point in the history
* bump: sev crate to 3.1.1

* update: version and fix lint

Signed-off-by: Adrian Wobito <[email protected]>
  • Loading branch information
wobito authored May 14, 2024
1 parent 64da750 commit 53d64b8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions az-cvm-vtpm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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"] }
4 changes: 2 additions & 2 deletions az-cvm-vtpm/az-snp-vtpm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion az-cvm-vtpm/az-snp-vtpm/example/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl RelyingParty {
pub fn request_secret(&mut self) -> Vec<u8> {
// 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
}

Expand Down
4 changes: 2 additions & 2 deletions az-cvm-vtpm/az-tdx-vtpm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 53d64b8

Please sign in to comment.