µ7 crypto + websocket

The focus this sprint has been preliminary experiments for a web overlay network. Results: public/private key encryption via node-forge, hashed public key as address, websocket msgpack’ed RPC protocol similar to JSONRPC. Nothing to see yet.

Got idea for wordpress workshop, and started site, and scheduled actual workshop.

Did some planning of websites etc. And also did some administrative work.

Takeaways

  • forge for crypto (no dependencies, used by ipfs etc.) https://github.com/digitalbazaar/forge https://www.npmjs.com/package/node-forge
  • JSONRPC as base, but with binary data through messagepack
  • npm/ws node only
  • crypto brush-up
  • Design: Peer-class, Node-class, connection-object passed to addConnection on Node.
  • msgpack-lite + nodeforge + simple-peer + ws has few dependencies (for light implementation)

  • Clearer company vision with tue-thu / fri-mon consulting sprints