diff --git a/src/curvecp/Makefile.am b/src/curvecp/Makefile.am index 00ab962c..ce46b734 100644 --- a/src/curvecp/Makefile.am +++ b/src/curvecp/Makefile.am @@ -28,5 +28,8 @@ curvecpserver_SOURCES = \ curvecpmessage_SOURCES = \ curvecpmessage.c +EXTRA_DIST = \ + README + SUBDIRS = \ libcurvecp diff --git a/src/curvecp/README b/src/curvecp/README new file mode 100644 index 00000000..89d7a4b1 --- /dev/null +++ b/src/curvecp/README @@ -0,0 +1,15 @@ +Example of use: + + curvecpmakekey serverkey + + curvecpprintkey serverkey > serverkey.hex + + curvecpserver this.machine.name serverkey \ + 127.0.0.1 10000 31415926535897932384626433832795 \ + curvecpmessage cat /usr/share/dict/words & + + curvecpclient this.machine.name $(cat serverkey.hex) \ + 127.0.0.1 10000 31415926535897932384626433832795 \ + curvecpmessage -c sh -c 'shasum5.12 <&6' + + shasum5.12 < /usr/share/dict/words