Skip to content

Commit

Permalink
Add implementation of mTLS for dynamic backends (fastly#297)
Browse files Browse the repository at this point in the history
* Update typenames.witx with the new extensions.
* Support mTLS for dynamic backends.
* Add a test case for mTLS.
* Require fastly 0.9.6, which has mTLS support for dynamic backends.
  • Loading branch information
acw authored and cmckendry committed Feb 8, 2024
1 parent 65cb45b commit a33bcd1
Show file tree
Hide file tree
Showing 28 changed files with 714 additions and 105 deletions.
76 changes: 48 additions & 28 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@ opt-level = 1

[workspace.dependencies]
anyhow = "1.0.31"
base64 = "0.21.2"
hyper = { version = "=0.14.26", features = ["full"] }
itertools = "0.10.5"
rustls = { version = "0.21.5", features = ["dangerous_configuration"] }
rustls-pemfile = "1.0.3"
serde_json = "1.0.59"
tokio = { version = "1.21.2", features = ["full"] }
tokio-rustls = "0.24.1"
tracing = "0.1.37"
tracing-futures = "0.2.5"
futures = "0.3.24"
Expand Down
5 changes: 5 additions & 0 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,16 @@ path = "src/main.rs"

[dependencies]
anyhow = { workspace = true }
base64 = { workspace = true }
hyper = { workspace = true }
itertools = { workspace = true }
serde_json = { workspace = true }
clap = { version = "^4.0.18", features = ["derive"] }
rustls = { workspace = true }
rustls-pemfile = { workspace = true }
tls-listener = { version = "^0.7.0", features = ["rustls", "hyper-h1", "tokio-net", "rt"] }
tokio = { workspace = true }
tokio-rustls = { workspace = true }
tracing = { workspace = true }
tracing-futures = { workspace = true }
tracing-subscriber = { version = "^0.3.16", features = ["env-filter", "fmt"] }
Expand Down
Loading

0 comments on commit a33bcd1

Please sign in to comment.