Skip to content

Commit

Permalink
DO NOT COMMIT: Add support for mTLS auth
Browse files Browse the repository at this point in the history
Fixes #312
  • Loading branch information
lann committed Feb 28, 2022
1 parent c76b022 commit 2bc4154
Show file tree
Hide file tree
Showing 12 changed files with 326 additions and 108 deletions.
195 changes: 139 additions & 56 deletions Cargo.lock

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

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ maintenance = { status = "actively-developed" }

[features]
default = ["server", "client", "caching", "test-tools"]
server = ["warp", "openid"]
server = ["warp", "openid", "x509-parser"]
client = ["mime_guess", "dirs", "time"]
caching = []
test-tools = []
Expand All @@ -48,7 +48,7 @@ semver = { version = "1.0.4", features = ["serde"] }
tokio = { version = "1.11.0", features = ["full"] }
tokio-util = { version = "0.6.8", features = ["io"] }
tokio-stream = { version = "0.1.7", features = ["fs"] }
warp = { version = "0.3", features = ["tls"], optional = true }
warp = { path = "../../src/warp", features = ["tls"], optional = true }
bytes = "1.1.0"
async-trait = "0.1.51"
futures = "0.3.17"
Expand Down Expand Up @@ -78,6 +78,7 @@ time = { version = "0.3", features = ["serde"], optional = true }
atty = {version = "0.2", optional = true}
async-compression = { version = "0.3", default-features = false, features = ["tokio", "gzip"]}
tokio-tar = "0.3"
x509-parser = { version = "0.13", optional = true }

# NOTE: This is a workaround due to a dependency issue in oauth2: https://github.com/tkaitchuck/ahash/issues/95#issuecomment-903560879
indexmap = "~1.6.2"
Expand Down
Loading

0 comments on commit 2bc4154

Please sign in to comment.