utls
utls copied to clipboard
Maintenance: sync with upstream crypto/tls
Sync with latest implementation from upstream crypto/tls and make some minor changes to fix the incompatibility.
Introduced new issues
- All test cases in
TestUTLSHandshakeClientParrotGolanghas failed.- It is possibly OK, since
crypto/tlshas been modified heavily and we won't expect to see the server response to be the same as 4 years ago. - The failing tests are now disabled. But contributors are welcome to fix these tests.
- It is possibly OK, since
Persistent issues
- The
forgeConn()in the example inexamplesfolder is broken, since the cipher suite checking intls.MakeConnWithCompleteHandshake()doesn't work with TLS 1.3.
Possibly want to get this merged fast, before any merge conflict arises.
Will provide an alternative version with 2 commits: one for sync up and one for modifications needed for compatibility.
See #120 instead.