Update SPTPS protocol.

* Exchange nonce and ECDH public key first, calculate the ECDSA signature
  over the complete key exchange.
* Make an explicit distinction between client and server in the signatures.
* Add more comments and replace some magic numbers by #defines.

Thanks to Erik Tews for very helpful hints and comments!
This commit is contained in:
Guus Sliepen 2011-10-05 22:00:51 +02:00
parent 810847248a
commit 3001351150
3 changed files with 157 additions and 59 deletions

1
THANKS
View file

@ -9,6 +9,7 @@ We would like to thank the following people for their contributions to tinc:
* Delf Eldkraft
* dnk
* Enrique Zanardi
* Erik Tews
* Flynn Marquardt
* Grzegorz Dymarek
* Hans Bayle