cloudflare / tls-tris

crypto/tls, now with 100% more 1.3. THE API IS NOT STABLE AND DOCUMENTATION IS NOT GUARANTEED.
Other
291 stars 51 forks source link

Server does not seem to support season ticket sealer in TLS 1.2 #182

Open wbl opened 5 years ago

wbl commented 5 years ago

While debugging a server using tris, I was very confused by errors relating to session tickets: it seems there were panics due to missing keys. Contrasting https://github.com/cloudflare/tls-tris/blob/master/13.go#L829 with https://github.com/cloudflare/tls-tris/blob/6e853ddcae84e1cbe1f2d843c1597843e804a02d/handshake_server.go#L725 and https://github.com/cloudflare/tls-tris/blob/master/handshake_server.go#L102 it's clear what the problem is. Patch will be incoming shortly.