Skip to content

Commit 87400d1

Browse files
committed
implement spire with delegated identity api
1 parent 1d27cd1 commit 87400d1

22 files changed

+3265
-350
lines changed

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
@@ -79,8 +79,9 @@ num_cpus = "1.16"
7979
ppp = "2.3"
8080
prometheus-client = { version = "0.24" }
8181
prometheus-parse = "0.2"
82-
prost = { version = "0.14", default-features = false }
83-
prost-types = { version = "0.14", default-features = false }
82+
prost = { version = "0.14.2" }
83+
prost-types = { version = "0.14.2" }
84+
tonic-prost = { version = "0.14.2" }
8485
rand = { version = "0.9" , features = ["small_rng"]}
8586
rcgen = { version = "0.14", optional = true, features = ["pem"] }
8687
rustls = { version = "0.23", features = ["tls12"], default-features = false }
@@ -96,8 +97,7 @@ tls-listener = { version = "0.11" }
9697
tokio = { version = "1.44", features = ["full", "test-util"] }
9798
tokio-rustls = { version = "0.26", default-features = false }
9899
tokio-stream = { version = "0.1", features = ["net"] }
99-
tonic = { version = "0.14", default-features = false, features = ["codegen"] }
100-
tonic-prost = { version = "0.14", default-features = false }
100+
tonic = { version = "0.14.2", features = ["codegen", "transport"] }
101101
tower = { version = "0.5", features = ["full"] }
102102
tracing = { version = "0.1"}
103103
tracing-subscriber = { version = "0.3", features = ["registry", "env-filter", "json"] }
@@ -117,7 +117,11 @@ tracing-core = "0.1"
117117
tracing-appender = "0.2"
118118
tokio-util = { version = "0.7", features = ["io-util"] }
119119
educe = "0.6"
120-
tempfile = { version = "3.21", optional = true}
120+
spire-api = "0.3.6"
121+
spiffe = "0.7"
122+
tempfile = { version = "3.23", optional = true}
123+
hyperlocal = "0.9.1"
124+
mockall = "0.14.0"
121125

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

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ fn main() -> Result<(), anyhow::Error> {
2727
"proto/authorization.proto",
2828
"proto/citadel.proto",
2929
"proto/zds.proto",
30+
"proto/cri-api.proto",
3031
]
3132
.iter()
3233
.map(|name| std::env::current_dir().unwrap().join(name))

0 commit comments

Comments
 (0)