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

Basic Networking - Part 2 #28

Open
bonedaddy opened this issue Jul 21, 2020 · 0 comments
Open

Basic Networking - Part 2 #28

bonedaddy opened this issue Jul 21, 2020 · 0 comments
Projects

Comments

@bonedaddy
Copy link
Contributor

Overview

The focus on this issue is to enable secure connections to endpoints using PeerIDs, and securing the connection using the corresponding public key

Expected Outcome

  • Initiate a connection to a target host specified by multiaddr + peerid
  • If target host does not have the specified peerid, disconnect
  • Hosts will use public key cryptography to secure the connections, by using the public key that corresponds to the peerid
    • this means we need a method of testing that the target has the public key, by using a signed message or something similar
    • we need to securely exchange keys, and also make sure that the verification that the target peer has the key
      • we can proibably do this by message verification using a protocol handler + timestamp to act as a "nonce" preventing signed message reuse
  • Change the multiaddr protocol /ipfs to /p2p
@bonedaddy bonedaddy added this to To do in Phase 2 Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Phase 2
  
To do
Development

No branches or pull requests

1 participant