Skip to content

Commit

Permalink
feat: implement key-exchange, pre-encryption
Browse files Browse the repository at this point in the history
Implement the whole key-exchange mechanism that is needed
before sending encrypted pkts between the parties.

Signed-off-by: Martichou <[email protected]>
  • Loading branch information
Martichou committed Feb 13, 2024
1 parent 76c28b7 commit 9105ae5
Show file tree
Hide file tree
Showing 8 changed files with 1,186 additions and 112 deletions.
430 changes: 423 additions & 7 deletions Cargo.lock

Large diffs are not rendered by default.

12 changes: 10 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,18 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] }
base64 = "0.21"
rand = "0.8"
mdns-sd = "0.10"
sys_metrics = "0.2.6"
sys_metrics = "0.2"
once_cell = "1.0"
tokio-util = { version = "0.7", features = ["rt"] }
prost = "0.12"
p256 = { version = "0.13", features = ["ecdh"] }
sha2 = "0.10"
hkdf = "0.12"
local-ip-address = "0.5"
hex = "0.4"
aes = "0.8"
cbc = "0.1"
hmac = "0.12"

[build-dependencies]
prost-build = "0.12"
prost-build = "0.12"
Loading

0 comments on commit 9105ae5

Please sign in to comment.