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

[BUG]: Prevent peer public key spoofing in p2p #4065

Closed
Erigara opened this issue Nov 21, 2023 · 0 comments
Closed

[BUG]: Prevent peer public key spoofing in p2p #4065

Erigara opened this issue Nov 21, 2023 · 0 comments
Assignees
Labels
Bug Something isn't working iroha2-dev The re-implementation of a BFT hyperledger in RUST QA-confirmed This bug is reproduced and needs a fix Security This issue asks for improved security

Comments

@Erigara
Copy link
Contributor

Erigara commented Nov 21, 2023

Atm during handshake peer blindly trust other side that it's owns private key for the public key sent during handshake.

This should be fixed, probably by sending some kind of signature to other side to prove ownership of private key.

Relevant code: p2p/src/peer.rs GetKey and SendKey.

@Erigara Erigara added Bug Something isn't working Security This issue asks for improved security labels Nov 21, 2023
@Erigara Erigara self-assigned this Nov 21, 2023
@Erigara Erigara added the iroha2-dev The re-implementation of a BFT hyperledger in RUST label Nov 21, 2023
Erigara added a commit to Erigara/iroha that referenced this issue Nov 22, 2023
Erigara added a commit to Erigara/iroha that referenced this issue Nov 22, 2023
Erigara added a commit to Erigara/iroha that referenced this issue Nov 22, 2023
Erigara added a commit to Erigara/iroha that referenced this issue Nov 22, 2023
Erigara added a commit to Erigara/iroha that referenced this issue Nov 22, 2023
Erigara added a commit to Erigara/iroha that referenced this issue Nov 22, 2023
Erigara added a commit to Erigara/iroha that referenced this issue Nov 22, 2023
Erigara added a commit that referenced this issue Nov 22, 2023
Erigara added a commit to Erigara/iroha that referenced this issue Nov 22, 2023
Erigara added a commit that referenced this issue Nov 22, 2023
@timofeevmd timofeevmd self-assigned this Dec 7, 2023
@timofeevmd timofeevmd added the QA-confirmed This bug is reproduced and needs a fix label Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working iroha2-dev The re-implementation of a BFT hyperledger in RUST QA-confirmed This bug is reproduced and needs a fix Security This issue asks for improved security
Projects
None yet
Development

No branches or pull requests

2 participants