CurveCP / CurveZMQ Handshake
Erlang Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
src
test
.gitignore
README.md
rebar.config
rebar.lock
rebar3

README.md

ecurvecp - Secure Transport Protocol

(WARNING: This project is untested in a production environment. Do not use in production.)

ecurvecp is based on CurveCP but has more in common with CurveZMQ.

Protocol

Rather than poorly describing the protocols in my own words, I recommend reading:

CurveCP CurveZMQ Codes In Choas

Differences from CurveCP

  • TCP instead of UDP
  • Atomic messages instead of streams
  • No additional availability guarantees
  • Not NAT compatible
  • No IP roaming.

Build

ecurvecp depends on enacl which depends on libsodium. Make sure to install libsodium before continuing.

$ brew install libsodium

With libsodium installed we can build:

$ ./rebar3 compile