temporarily implemented client authentication using client certificates (mTLS)

This commit is contained in:
Jun Kurihara 2022-10-07 23:47:10 +09:00
commit d7193af4e6
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
21 changed files with 326 additions and 40 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "rpxy"
version = "0.1.0"
version = "0.1.1"
authors = ["Jun Kurihara"]
homepage = "https://github.com/junkurihara/rust-rpxy"
repository = "https://github.com/junkurihara/rust-rpxy"
@ -18,7 +18,7 @@ http3 = ["quinn", "h3", "h3-quinn"]
[dependencies]
env_logger = "0.9.1"
anyhow = "1.0.65"
clap = { version = "3.2.22", features = ["std", "cargo", "wrap_help"] }
clap = { version = "4.0.4", features = ["std", "cargo", "wrap_help"] }
futures = { version = "0.3.24", features = ["alloc", "async-await"] }
hyper = { version = "0.14.20", default-features = false, features = [
"server",
@ -27,7 +27,7 @@ hyper = { version = "0.14.20", default-features = false, features = [
"stream",
] }
log = "0.4.17"
tokio = { version = "1.21.1", default-features = false, features = [
tokio = { version = "1.21.2", default-features = false, features = [
"net",
"rt-multi-thread",
"parking_lot",
@ -41,7 +41,7 @@ rustls = { version = "0.20.6", default-features = false }
rand = "0.8.5"
toml = { version = "0.5.9", default-features = false }
rustc-hash = "1.1.0"
serde = { version = "1.0.144", default-features = false, features = ["derive"] }
serde = { version = "1.0.145", default-features = false, features = ["derive"] }
hyper-rustls = { version = "0.23.0", default-features = false, features = [
"tokio-runtime",
"webpki-tokio",
@ -52,7 +52,8 @@ bytes = "1.2.1"
quinn = { version = "0.8.5", optional = true }
h3 = { path = "./h3/h3/", optional = true }
h3-quinn = { path = "./h3/h3-quinn/", optional = true }
thiserror = "1.0.35"
thiserror = "1.0.37"
x509-parser = "0.14.0"
[target.'cfg(not(target_env = "msvc"))'.dependencies]