MoinQ:

Describe CurveCP/curvecpclient+curvecpserver here.

Date: Mon, 14 Mar 2011 17:18:56 -0400
Subject: Re: curvecpclient+curvecpserver alpha test
From: Aaron Swartz <me@aaronsw.com>
To: curvecp@list.cr.yp.to

Perhaps it's obvious to everyone else, but here's how to use this beta
of curvecp to run a simple date server and client:

wget http://hyperelliptic.org/nacl/nacl-20110221.tar.bz2
bunzip2 < nacl-20110221.tar.bz2 | tar -xf -
cd nacl-20110221
./do
# wait a while
cd build/`hostname -s`/bin
./curvecpmakekey keydir
export EXT=00000000000000000000000000000000
export IP=[put your public IP here]

./curvecpserver `hostname` keydir $IP 9013 $EXT  \
 ./curvecpmessage date &

./curvecpclient `hostname` `./curvecpprintkey keydir` $IP 9013 $EXT \
 ./curvecpmessage -c sh -c "exec cat<&6"