utls icon indicating copy to clipboard operation
utls copied to clipboard

feat: support PSK after receiving HelloRetryRequest (HRR)

Open gaukas opened this issue 7 months ago • 2 comments

Currently there is no proper support for PSK if server sends a Hello Retry Request asking uTLS to switch to a different Key Share that is supported but not sent by default:

https://github.com/refraction-networking/utls/blob/841ef93712800db68a8789b28e70af2b4da1960e/handshake_client_tls13.go#L413-L416

This pull request adds support to handle PSK after seeing HRR.

gaukas avatar Jul 16 '24 08:07 gaukas