--- gvpe/NEWS 2013/07/13 04:24:44 1.113 +++ gvpe/NEWS 2013/07/16 16:44:36 1.114 @@ -4,7 +4,38 @@ TODO: gcm mode? TODO: replace ripemd160 as the only authentication hash. TODO: increase rsa size. +TODO: replace transport bits by transport endpoint structs? +TODO: ecdh to avoid session replay attacks +TODO: http://incog-izick.blogspot.de/2011/08/using-openssl-aes-gcm.html +TODO: http://stackoverflow.com/questions/12153009/openssl-c-example-of-aes-gcm-using-evp-interfaces +proposed: 3 types, req, resreq, res + +req (hmac1) rsa(seqno1 hmac1 aes1 seqno2 hmac2 aes2 auth) ecdh1 +res (hmac1) hash(rsa-contents) ecdh2 + +req hmac0(*) rsa(seqno hmac0 hmac aes auth) hkdf-salt ecdh1 +res hmac0(rsa-contents ecdh2) + hmac_key = hkdf(hkdf-salt, hmac | ecdh) + aes_key = hkdf(hkdf-salt, aes | ecdh) + + - INCOMPATIBLE CHANGE: core protocol version 1.0. + - while individual packets couldn't be replayed, a whole session + could be replayed - this has been fixed by an extra key exchange. + - in addition to rsa key exchange and authentication, the handshake now + adds a diffie-hellman key exchange (using curve25119) for perfect + forward secrecy. mac and cipher keys are derived using HKDF. + - rsa key sizes are now configurable and larger (default is 3072). + correspondingly, the minimum mtu is no longer 296 but 576. + - fixed a potential (unverified) buffer overrun on rsa decryption. + - RAND_bytes was used when generating session keys, potentially + leading to temporary freezes when entropy was low. + - gvpectrl no longer generates all missing public keys, but + only missing private keys. private keys are also put + into the configured location. + - the pid-file now accepts %s as nodename as elsewhere. + +2.25 Sat Jul 13 06:42:33 CEST 2013 - INCOMPATIBLE CHANGE: no longer enable udp protocol if no other protocols are enabled - this is necessary when you have nodes with completely unknown protocols, to force mediated connection requests.