Week 6 - TLS Flashcards
Where does TLS run?
Between the application and transport layer of the internet protocol stack
What does TLS make transparent to the application layer and what does this mean?
Makes encryption transparent to the application layer. This means the code we write can have the transport layer do the encryption for us.
How does TLS work?
C > S: client nonce
S > C: server nonce, certificate
C > S: Encrypted with server’s public key from certificate(Generated seed), {Hash1}Key-cs
S > C: {Hash2}Key-cs
Hashes are made up from all previous messages then encrypted for integrity
Key-cs is a session key based on the client’s nonce, server’s nonce and the generated seed
What is TLS-DHE? And what is the different between TLS and TLS-DHE?
A variant of TLS that uses diffe-hellman for forward-secrecy. Instead of the client generating a seed, diffe-hellman is used. So the session key is based on the client’s nonce, server’s nonce and the generated key.
What is foward-secrecy?
If someone gets a server’s private key later, they can’t go back and break a recording of the traffic.