Versions in this module Expand all Collapse all v0 v0.6.335 Sep 4, 2026 Changes in this version + const DefaultRenewalMargin + const LabelKeySSHProvider + const SSHProviderCertAuth + func CertAuthorityPrincipal(nodeID, linuxUser string) string + func CertPath(brevDir, envID string) string + func CertValidAt(cert *ssh.Certificate, now time.Time, margin time.Duration) bool + func Dir(brevDir string) string + func EnvironmentCertEligible(labels map[string]string) bool + func GenerateKeyPair() (privKeyPEM []byte, pubKeyOpenSSH string, err error) + func HasCertAuthorityLine(homeDir, nodeID string) bool + func HasValidCertAuth(fs afero.Fs, keyPath, certPath string, now time.Time, margin time.Duration) (bool, error) + func KeyPath(brevDir, envID string) string + func ParseCertificate(certOpenSSH string) (*ssh.Certificate, error) + func PublicKeyMatches(a, b ssh.PublicKey) bool + func RemoveCertAuthorityLine(homeDir, nodeID, linuxUser string) (bool, error) + func WriteFiles(fs afero.Fs, keyPath, certPath string, privKeyPEM []byte, certOpenSSH string) error