HORIZON HASKELLDocslts/ghc-9.14.xb2f3bfd2026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · b2f3bfd · 2026-10-11

Moduletls-session-manager-0.1.0Haskell2010

Network.TLS.SessionTicket

A manager for TLS 1.2/1.3 session ticket.

Tracking client hello is not implemented yet. So, if this is used for TLS 1.3 0-RTT, replay attack is possible. If your application data in 0-RTT changes the status of server side, use SessionManager instead.

A dedicated thread is running repeatedly to replece secret keys. So, energy saving is not achieved.

  • 1 type
  • 5 values
datadata Config
#

Configuration for session tickets.

valuedefaultConfig :: Config
#

ticketLifetime: 2 hours (7200 seconds), secretKeyInterval: 30 minutes (1800 seconds)