used Perfect Forward Secrecy. KevBoy65 ECDHE bitches… HanSauron McFly The Internet is fundamentally flawed. By centralizing sensitive data and building security features around a pair of keys, this sort of issue will continue to happen. We need to enforce Perfect Forward Secrecy across the whole web. DrCrypto What is Ubikube ? Auntie I’ve find a way to earn 50 000$ per week. Click here. NotSoSubtleBot
Certificate + Random value Encrypts it with server public key (Pre-master secret) + Finished Generates a pre-master secret Checks server certificate Decrypts pre-master secret Generates master key from the pre-master secret and the random values Generates master key from the pre-master secret and the random values Finished Client Server
the private key is compromised, past communications shouldn’t be compromised • Don’t use the private key for key exchange ◦ Better : don’t exchange a key
(+300%) • Use DHE with Elliptic Curves (+15% - +30% only) • ECDHE based on “algebraic structure of elliptic curves over finite fields” • Go to Wikipedia for Elliptic Curves...
client side. Used to resume previous session. • Previous key needed in order to decrypt sessions. Shared across multi servers. • Issue : no shared key with PFS
/tmpfs/key_4484565 key_4455669 key_4425484 Frontend server Frontend server ... SSH with DH Generates a new key every 12h Removes old keys after 36h Keys fetched every 5min Considered current after 20min Based on Twitter article “Forward Secrecy at Twitter”
◦ Thomas Pornin’s answers on StackExchange • PFS in practice ◦ https://blog.twitter.com/2013/forward-secrecy-at-twitter ◦ https://github.com/blog/1734-improving-our-ssl-setup • And of course Wikipedia