Versions in this module Expand all Collapse all v0 v0.9.4 Jul 20, 2026 v0.9.3 Jul 6, 2026 Changes in this version + func GenerateKey(comment string) (*PublicKey, *PrivateKey, error) + type PrivateKey struct + func ParsePrivateKey(content []byte, comment string) (*PrivateKey, error) + func (k PrivateKey) Equal(other PrivateKey) bool + func (k PrivateKey) MarshalText() ([]byte, error) + func (k PrivateKey) SignHostKey(key PublicKey) (*PublicKey, error) + func (k PrivateKey) SignUserKey(key PublicKey, principals []string) (*PublicKey, error) + type PublicKey struct + func ParsePublicKey(content []byte) (*PublicKey, error) + func (k PublicKey) Comment() string + func (k PublicKey) Equal(other PublicKey) bool + func (k PublicKey) Fingerprint() string + func (k PublicKey) String() string