Skip to content

Commit 9f7f755

Browse files
committed
implement spire with delegated identity api
1 parent acb0eb6 commit 9f7f755

22 files changed

Lines changed: 3266 additions & 350 deletions

Cargo.lock

Lines changed: 655 additions & 263 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ num_cpus = "1.16"
8080
ppp = "2.3"
8181
prometheus-client = { version = "0.24" }
8282
prometheus-parse = "0.2"
83-
prost = { version = "0.14", default-features = false }
84-
prost-types = { version = "0.14", default-features = false }
83+
prost = { version = "0.14.2" }
84+
prost-types = { version = "0.14.2" }
85+
tonic-prost = { version = "0.14.2" }
8586
rand = { version = "0.9" , features = ["small_rng"]}
8687
rcgen = { version = "0.14", optional = true, features = ["pem"] }
8788
rustls = { version = "0.23", features = ["tls12"], default-features = false }
@@ -97,8 +98,7 @@ tls-listener = { version = "0.11" }
9798
tokio = { version = "1.44", features = ["full", "test-util"] }
9899
tokio-rustls = { version = "0.26", default-features = false }
99100
tokio-stream = { version = "0.1", features = ["net"] }
100-
tonic = { version = "0.14", default-features = false, features = ["codegen"] }
101-
tonic-prost = { version = "0.14", default-features = false }
101+
tonic = { version = "0.14.2", features = ["codegen", "transport"] }
102102
tower = { version = "0.5", features = ["full"] }
103103
tracing = { version = "0.1"}
104104
tracing-subscriber = { version = "0.3", features = ["registry", "env-filter", "json"] }
@@ -118,7 +118,11 @@ tracing-core = "0.1"
118118
tracing-appender = "0.2"
119119
tokio-util = { version = "0.7", features = ["io-util"] }
120120
educe = "0.6"
121-
tempfile = { version = "3.21", optional = true}
121+
spire-api = "0.3.6"
122+
spiffe = "0.7"
123+
tempfile = { version = "3.23", optional = true}
124+
hyperlocal = "0.9.1"
125+
mockall = "0.14.0"
122126

123127
[target.'cfg(target_os = "linux")'.dependencies]
124128
netns-rs = "0.1"
@@ -158,7 +162,7 @@ local-ip-address = "0.6"
158162
matches = "0.1"
159163
test-case = "3.3"
160164
oid-registry = "0.8"
161-
rcgen = { version = "0.14", features = ["pem", "x509-parser"] }
165+
rcgen = { version = "0.14", features = ["pem", "x509-parser", "crypto"] }
162166
x509-parser = { version = "0.17", default-features = false, features = ["verify"] }
163167
time = "0.3"
164168
ctor = "0.5"

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ fn main() -> Result<(), anyhow::Error> {
3838
"proto/authorization.proto",
3939
"proto/citadel.proto",
4040
"proto/zds.proto",
41+
"proto/cri-api.proto",
4142
]
4243
.iter()
4344
.map(|name| std::env::current_dir().unwrap().join(name))

0 commit comments

Comments
 (0)