Week 6 - TLS Flashcards

1
Q

Where does TLS run?

A

Between the application and transport layer of the internet protocol stack

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does TLS make transparent to the application layer and what does this mean?

A

Makes encryption transparent to the application layer. This means the code we write can have the transport layer do the encryption for us.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does TLS work?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is TLS-DHE? And what is the different between TLS and TLS-DHE?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is foward-secrecy?

A

If someone gets a server’s private key later, they can’t go back and break a recording of the traffic.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly