Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaServer ¶
type CaServer struct { // Starter is a function to invoke for the beginning time of certificate // validity Starter func() time.Time // Random is an io.Reader used for signing ssh certificates Random io.Reader // contains filtered or unexported fields }
CaServer stores a SSH Certificate Authority keypair for signing SSH keys
func NewCaServer ¶
NewCaServer returns a server that can be used for signing keys. It is initialized with a new 4096 bit key
func ReadPrivKey ¶
ReadPrivKey accepts an RSA private key and return a new *CaServer
Click to show internal directories.
Click to hide internal directories.