Go: crypto/tls: rotate session ticket keys

Created on 4 May 2018  ·  5Comments  ·  Source: golang/go

When crypto/tls autogenerates session ticket keys, it should also automatically rotate them (with some window of overlap) for forward secrecy.

Split from #19199

NeedsFix

Most helpful comment

This has been fixed.

All 5 comments

Let's do this, this is probably the biggest forward secrecy liability of a default crypto/tls server.

I am thinking of deprecating SessionTicketKey in favor of SetSessionTicketKeys, still randomizing it but not using it if it's zero and instead doing a periodic rotation, and of course still using it if set.

Change https://golang.org/cl/230679 mentions this issue: crypto/tls: rotate session ticket keys

Change https://golang.org/cl/231317 mentions this issue: crypto/tls: rotate session keys

This has been fixed.

Change https://golang.org/cl/235922 mentions this issue: crypto/tls: test that Clone copies session ticket key fields

Was this page helpful?
0 / 5 - 0 ratings