mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-13 20:27:41 +00:00
deps: bump sha2 0.10.8/0.10.9 → 0.11.0
Bump workspace sha2 to 0.11.0 and migrate the local pins in src/agent/Cargo.toml and src/libs/kata-types/Cargo.toml to workspace = true. No API changes required — the Digest trait interface is unchanged across this range. Generated-by: IBM Bob Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
@@ -193,7 +193,7 @@ scopeguard = "1.0.0"
|
||||
serde = { version = "1.0.145", features = ["derive"] }
|
||||
serde_json = "1.0.91"
|
||||
serial_test = "0.10.0"
|
||||
sha2 = "0.10.9"
|
||||
sha2 = "0.11.0"
|
||||
slog = "2.5.2"
|
||||
slog-scope = "4.4.0"
|
||||
slog-stdlog = "4.0.0"
|
||||
|
||||
@@ -84,7 +84,7 @@ vsock-exporter.workspace = true
|
||||
|
||||
# Initdata
|
||||
base64 = { workspace = true }
|
||||
sha2 = "0.10.8"
|
||||
sha2 = { workspace = true }
|
||||
async-compression = { version = "0.4.22", features = ["tokio", "gzip"] }
|
||||
|
||||
container-device-interface = "0.1.1"
|
||||
|
||||
@@ -27,7 +27,7 @@ thiserror = { workspace = true }
|
||||
toml = { workspace = true }
|
||||
serde-enum-str = "0.5"
|
||||
sysinfo = { workspace = true }
|
||||
sha2 = "0.10.8"
|
||||
sha2 = { workspace = true }
|
||||
flate2 = "1.1"
|
||||
nix = { workspace = true }
|
||||
oci-spec = { version = "0.8.1", features = ["runtime"] }
|
||||
|
||||
@@ -72,9 +72,13 @@ impl ShimExecutor {
|
||||
// https://github.com/containerd/containerd/blob/v1.6.8/runtime/v2/shim/util_unix.go#L68 to
|
||||
// generate a shim socket path.
|
||||
Ok(PathBuf::from(format!(
|
||||
"unix://{}/s/{:X}",
|
||||
"unix://{}/s/{}",
|
||||
SOCKET_ROOT,
|
||||
hasher.finalize()
|
||||
hasher
|
||||
.finalize()
|
||||
.iter()
|
||||
.map(|b| format!("{b:02X}"))
|
||||
.collect::<String>()
|
||||
)))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user