Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(net): add Framed ECIES implementation #80

Merged
merged 15 commits into from
Oct 16, 2022
Merged
202 changes: 199 additions & 3 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ members = [
"crates/executor",
"crates/interfaces",
"crates/net/p2p",
"crates/net/ecies",
"crates/net/eth-wire",
"crates/net/rpc",
"crates/net/rpc-api",
Expand Down
38 changes: 38 additions & 0 deletions crates/net/ecies/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[package]
name = "reth-ecies"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/foundry-rs/reth"
readme = "README.md"

[dependencies]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are all of these deps required?

reth-rlp = { path = "../../common/rlp", features = ["derive", "ethereum-types", "std"] }
reth-primitives = { path = "../../primitives" }
anyhow = "1.0.65"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eyre

byteorder = "1.4.3"
bytes = "1.2.1"
ctr = "0.9.2"
digest = "0.10.5"
educe = "0.4.19"
futures = "0.3.24"
secp256k1 = { version = "0.24.0", features = ["global-context", "rand-std", "recovery"] }
sha2 = "0.10.6"
sha3 = "0.10.5"
thiserror = "1.0.37"
tokio = { version = "1.21.2", features = ["full"] }
tokio-stream = "0.1.11"
tokio-util = { version = "0.7.4", features = ["codec"] }
tracing = "0.1.37"
hex = "0.4.3"
aes = "0.8.1"
hmac = "0.12.1"
block-padding = "0.3.2"
generic-array = "0.14.6"
cipher = { version = "0.4.3", features = ["block-padding"] }
typenum = "1.15.0"
rand = "0.8.5"

[dev-dependencies]
hex-literal = "0.3.4"
proptest = "1.0.0"
Loading