Documentation ¶
Overview ¶
Package distributedstek provides TLS session ticket ephemeral keys (STEKs) in a distributed fashion by utilizing configured storage for locking and key sharing. This allows a cluster of machines to optimally resume TLS sessions in a load-balanced environment without any hassle. This is similar to what Twitter does, but without needing to rely on SSH, as it is built into the web server this way: https://blog.twitter.com/engineering/en_us/a/2013/forward-secrecy-at-twitter.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { Storage json.RawMessage `json:"storage,omitempty"` // contains filtered or unexported fields }
Provider implements a distributed STEK provider.
func (Provider) CaddyModule ¶
func (Provider) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*Provider) Initialize ¶
func (s *Provider) Initialize(config *caddytls.SessionTicketService) ([][32]byte, error)
Initialize sets the configuration for s and returns the starting keys.