Score:1

Difference between "key_share" extension and "server_key_exchange" message in TLS 1.3

kw flag
LUN

Could anyone explain me the difference between "key_share" extension and "server_key_exchange" message in TLS (1.3) ? If I understood right, these "packets" of data are used to send a key material to generate premaster keys. But what's the difference ? In which case a server must use one or another

Score:0
my flag

Could anyone explain me the difference between "key_share" extension and "server_key_exchange" message in TLS (1.3) ?

server_key_exchange isn't used in TLS 1.3. It was used in TLS 1.2; however when they modified the protocol to go to TLS 1.3, they opted not use it. However, they wanted to keep the same handshake types (many of the types are applicable to both 1.2 and 1.3; I suppose it made implementing software that supported both versions of the protocol a bit easier), and so they kept that value (12) as reserved.

Instead, in TLS 1.3, both the client and the server use the key_share extension.

LUN avatar
kw flag
LUN
thank you very much!
poncho avatar
my flag
@LUN: if you like the answer, accept it and upvote it
LUN avatar
kw flag
LUN
OK, I have done it.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.