diff --git a/Cargo.lock b/Cargo.lock index d37af47e2d..e825f163b1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -503,7 +503,7 @@ source = "git+https://github.com/confidential-containers/guest-components.git?re dependencies = [ "anyhow", "async-trait", - "attester", + "attester 0.1.0 (git+https://github.com/confidential-containers/guest-components.git?rev=9bd6f06a9704e01808e91abde130dffb20e632a5)", "base64 0.21.7", "config", "const_format", @@ -562,7 +562,7 @@ dependencies = [ [[package]] name = "attester" version = "0.1.0" -source = "git+https://github.com/confidential-containers/guest-components.git?rev=9bd6f06a9704e01808e91abde130dffb20e632a5#9bd6f06a9704e01808e91abde130dffb20e632a5" +source = "git+https://github.com/mythi/guest-components.git?rev=783b1542716db78c4c77758a63da470565db93aa#783b1542716db78c4c77758a63da470565db93aa" dependencies = [ "anyhow", "async-trait", @@ -574,7 +574,7 @@ dependencies = [ "hex", "hyper 0.14.28", "hyper-tls 0.5.0", - "kbs-types 0.6.0", + "kbs-types 0.7.0", "log", "nix", "occlum_dcap", @@ -592,6 +592,25 @@ dependencies = [ "tokio", ] +[[package]] +name = "attester" +version = "0.1.0" +source = "git+https://github.com/confidential-containers/guest-components.git?rev=9bd6f06a9704e01808e91abde130dffb20e632a5#9bd6f06a9704e01808e91abde130dffb20e632a5" +dependencies = [ + "anyhow", + "async-trait", + "base64 0.21.7", + "hex", + "kbs-types 0.6.0", + "log", + "serde", + "serde_json", + "serde_with", + "sha2", + "strum", + "thiserror", +] + [[package]] name = "atty" version = "0.2.14" @@ -1368,13 +1387,13 @@ checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" [[package]] name = "crypto" version = "0.1.0" -source = "git+https://github.com/confidential-containers/guest-components.git?rev=9bd6f06a9704e01808e91abde130dffb20e632a5#9bd6f06a9704e01808e91abde130dffb20e632a5" +source = "git+https://github.com/mythi/guest-components.git?rev=783b1542716db78c4c77758a63da470565db93aa#783b1542716db78c4c77758a63da470565db93aa" dependencies = [ "aes-gcm", "anyhow", "base64 0.21.7", "ctr", - "kbs-types 0.6.0", + "kbs-types 0.7.0", "rand", "rsa 0.9.6", "serde", @@ -2803,18 +2822,18 @@ dependencies = [ [[package]] name = "kbs_protocol" version = "0.1.0" -source = "git+https://github.com/confidential-containers/guest-components.git?rev=9bd6f06a9704e01808e91abde130dffb20e632a5#9bd6f06a9704e01808e91abde130dffb20e632a5" +source = "git+https://github.com/mythi/guest-components.git?rev=783b1542716db78c4c77758a63da470565db93aa#783b1542716db78c4c77758a63da470565db93aa" dependencies = [ "anyhow", "async-trait", - "attester", + "attester 0.1.0 (git+https://github.com/mythi/guest-components.git?rev=783b1542716db78c4c77758a63da470565db93aa)", "base64 0.21.7", "crypto", "jwt-simple 0.12.9", - "kbs-types 0.6.0", + "kbs-types 0.7.0", "log", "reqwest 0.12.4", - "resource_uri", + "resource_uri 0.1.0 (git+https://github.com/mythi/guest-components.git?rev=783b1542716db78c4c77758a63da470565db93aa)", "serde", "serde_json", "sha2", @@ -2842,7 +2861,7 @@ dependencies = [ "prost 0.11.9", "rand", "reqwest 0.12.4", - "resource_uri", + "resource_uri 0.1.0 (git+https://github.com/confidential-containers/guest-components.git?rev=9bd6f06a9704e01808e91abde130dffb20e632a5)", "ring 0.17.8", "serde", "serde_json", @@ -4260,6 +4279,17 @@ dependencies = [ "winreg 0.52.0", ] +[[package]] +name = "resource_uri" +version = "0.1.0" +source = "git+https://github.com/mythi/guest-components.git?rev=783b1542716db78c4c77758a63da470565db93aa#783b1542716db78c4c77758a63da470565db93aa" +dependencies = [ + "anyhow", + "serde", + "serde_json", + "url", +] + [[package]] name = "resource_uri" version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml index 9490d6fb1b..4e35b11e6b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ config = "0.13.3" env_logger = "0.10.0" hex = "0.4.3" jwt-simple = "0.11" -kbs_protocol = { git = "https://github.com/confidential-containers/guest-components.git", rev="9bd6f06a9704e01808e91abde130dffb20e632a5", default-features = false } +kbs_protocol = { git = "https://github.com/mythi/guest-components.git", rev="783b1542716db78c4c77758a63da470565db93aa", default-features = false } kbs-types = "0.7.0" kms = { git = "https://github.com/confidential-containers/guest-components.git", rev="9bd6f06a9704e01808e91abde130dffb20e632a5", default-features = false } jsonwebtoken = { version = "9", default-features = false }