-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Changes from 5 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
09d624f
feat(net): add ecies crate
Rjected d9b4b1c
cargo fmt
Rjected fc89dd6
add hex-literal and proptest to dev-dependencies
Rjected 761cf6a
document util
Rjected deb4c74
document more
Rjected 49fd89d
chore: allow missing docs in ecies/algorith.rs
gakonst c6b773f
feat(ecies): improve error handling
gakonst a658e35
refactor(ecies): movem ingress/egress to lib.rs
gakonst 95f11f1
chore(ecies): allow missing docs in mac
gakonst 99f69c2
chore(ecies): cleanup utils
gakonst e136130
refactor(ecies): move ECIES Codec to separate file
gakonst 33dca46
refactor(ecies): rename proto to stream
gakonst ed31e6e
add test scaffold
gakonst 84b38b0
implement server/client read/write test
Rjected 4e4a655
chore: clippy / fmt
gakonst File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
reth-rlp = { path = "../../common/rlp", features = ["derive", "ethereum-types", "std"] } | ||
reth-primitives = { path = "../../primitives" } | ||
anyhow = "1.0.65" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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?