bifurcation / mint

A Minimal TLS 1.3 Implementation in Go
MIT License
225 stars 36 forks source link

Enforce handshake message ordering #25

Open bifurcation opened 8 years ago

bifurcation commented 8 years ago

Handshake messages are required to arrive in a particular order (with some messages optional): ClientHello, ServerHello, EncryptedExtensions?, etc. Right now, we will read the servers messages in any order. We should enforce that they come in the proper order.

ekr commented 6 years ago

@bifurcation I don't think this is true. The state machine should enforce correct ordering at this point.