h2o / picotls

TLS 1.3 implementation in C (master supports RFC8446 as well as draft-26, -27, -28)
527 stars 140 forks source link

when cli act as server with client authentication, it sends NewSessionTicket directly after Finished #522

Open songshangru opened 2 months ago

songshangru commented 2 months ago

In https://github.com/h2o/picotls/issues/10, explain the reason why picotls could send NewSessionTicket before receiving ClientFinished.

'Although the resumption master secret depends on the client’s second flight, servers which do not request client authentication MAY compute the remainder of the transcript independently and then send a NewSessionTicket immediately upon sending its Finished rather than waiting for the client Finished.'

But when cli act as server with argument '-a', it still send NewSessionTicket before receiving ClientFinished.