scuttlebutt-rust / documentation

A general documentation repo that also serves as a general issue tracker
GNU Affero General Public License v3.0
0 stars 0 forks source link

Establish a roadmap #1

Open ZenTauro opened 4 years ago

ZenTauro commented 4 years ago

Divide the Secure Scuttlebutt specification into several parts and study how to implement them.

Resources about the protocol:

Edits: Add links

ZenTauro commented 4 years ago

We should probably use libsodium as explained here (from the scuttlebutt's handbook)

ZenTauro commented 4 years ago

For the handshake, box stream and RPC we should take a look at P/Invoke to call native procedures.

Here are some links:

ZenTauro commented 4 years ago

The roadmap:

  1. [x] Implement a wrapper for the shs handshake around the c version based on the exposed API of the rust version. Docs of the exposed API. Implementation from scratch in scuttlebutt_crypto.
  2. [ ] Implement a wrapper for the box stream around [the c version]() based on the exposed API of the rust version. Docs of the exposed API.
  3. [ ] Design interface to interact with peers through a connection manager.
  4. [ ] Create a class that encapsulates a connection with a peer.
  5. [ ] Create a class that provides a service to retrieve a reference to a peer on which RPCs can be invoked.