func (ca *CertAuthority) Signers() ([]ssh.Signer, error) {
	out := make([]ssh.Signer, 0, len(ca.SigningKeys))
	for _, keyBytes := range ca.SigningKeys {
		signer, err := ssh.ParsePrivateKey(keyBytes)
		if err != nil {
			return nil, trace.Wrap(err)
		}
		out = append(out, signer)
	}
	return out, nil
}
// Signers returns a list of signers that could be used to sign keys
Signers returns a list of signers that could be used to sign keys
// Signers returns a list of signers that could be used to sign keys
func (ca *CertAuthority) Signers() ([]ssh.Signer, error) {
	out := make([]ssh.Signer, 0, len(ca.SigningKeys))
	for _, keyBytes := range ca.SigningKeys {
		signer, err := ssh.ParsePrivateKey(keyBytes)
		if err != nil {
			return nil, trace.Wrap(err)
		}
		out = append(out, signer)
	}
	return out, nil
}
func ( ca * CertAuthority ) Signers ( ) ( [ ] ssh . Signer , error ) { out := make ( [ ] ssh . Signer , 0 , len ( ca . SigningKeys ) ) for _ , keyBytes := range ca . SigningKeys { signer , err := ssh . ParsePrivateKey ( keyBytes ) if err != nil { return nil , trace . Wrap ( err ) } out = append ( out , signer ) } return out , nil }
Signers returns a list of signers that could be used to sign keys
Signers returns a list of signers that could be used to sign keys