README: fix instructions for test{srv,cl}

master
q3k 2020-11-20 16:53:12 +01:00
parent 0e7358a155
commit c35c444dad
1 changed files with 4 additions and 0 deletions

View File

@ -72,6 +72,10 @@ To test this library without writing Go, you can run a pktls server/client pair
./pktls genkey > client.priv
./pktls pubkey < client.priv > client.pub
# dependency required for test{srv,cl}, but 'go get' outside of a module won't
# download it for us.
go get github.com/golang/glog
go build code.hackerspace.pl/q3k/pktls/cmd/testsrv
./testsrv -private_key $(cat server.priv) -allowed $(cat client.pub) -listen 127.0.0.1:1337