Documentation
¶
Overview ¶
Package ca owns postern's SSH certificate authority: the CA key's lifecycle and (from S2.2 on) certificate signing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CA ¶
type CA struct {
// contains filtered or unexported fields
}
CA holds the signing key. Bir postern kurulumunda tek bir CA vardır.
func (*CA) AuthorizedKey ¶
AuthorizedKey returns the public key as a single authorized-keys line, ready to be pasted into /etc/ssh/postern_ca.pub.
func (*CA) PublicKey ¶
PublicKey returns the CA's public half — the content targets put in TrustedUserCAKeys.
func (*CA) Sign ¶
func (c *CA) Sign(req CertRequest) (*ssh.Certificate, error)
Click to show internal directories.
Click to hide internal directories.