Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
feat: enable verify certs
Browse files Browse the repository at this point in the history
icx-proxy should support the certificate verification, same as service worker.

This is mostly just a port of that code. Except it defaults to accept if the header is not present.
  • Loading branch information
Daniel-Bloom-dfinity authored Jan 15, 2022
2 parents f49a9f6 + a1560d5 commit 4b0edcf
Show file tree
Hide file tree
Showing 4 changed files with 267 additions and 29 deletions.
123 changes: 98 additions & 25 deletions Cargo.lock

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

8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,21 @@ path = "src/main.rs"

[dependencies]
anyhow = "1.0.34"
base64 = "0.13"
clap = "=3.0.0-beta.2"
clap_derive = "=3.0.0-beta.2"
garcon = { version = "0.2.3", features = ["async"] }
hex = "0.4.3"
hyper = { version = "0.14.13", features = ["full"] }
hyper-tls = "0.5.0"
ic-agent = "0.10.2"
ic-utils = "0.10.2"
ic-agent = "0.11"
ic-utils = "0.11"
lazy-regex = "2"
tokio = { version = "1.8.1", features = ["full"] }
serde = "1.0.115"
serde_cbor = "0.11"
serde_json = "1.0.57"
sha2 = "0.10.1"
slog = { version = "2.7.0", features = ["max_level_trace"] }
slog-async = "2.7.0"
slog-term = "2.8.0"
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.52.1
1.55.0
Loading

0 comments on commit 4b0edcf

Please sign in to comment.