Skip to content

Commit

Permalink
DO NOT COMMIT: Add server 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 fe291b6
Show file tree
Hide file tree
Showing 12 changed files with 327 additions and 108 deletions.
196 changes: 140 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 = { git = "https://github.com/lann/warp", rev = "ce63dc437c2a177a551ae9bebf40222f24052946", 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 fe291b6

Please sign in to comment.