Fix list of user ssh public keys.

This commit is contained in:
Mariano Cano 2019-10-24 18:36:02 -07:00 committed by max furman
parent ec90c41de6
commit c729c5f925

View file

@ -154,7 +154,7 @@ func (a *Authority) init() error {
return errors.Wrap(err, "error creating ssh signer")
}
// Append public key to list of user certs
a.sshCAUserCerts = append(a.sshCAUserCerts, a.sshCAHostCertSignKey.PublicKey())
a.sshCAUserCerts = append(a.sshCAUserCerts, a.sshCAUserCertSignKey.PublicKey())
a.sshCAUserFederatedCerts = append(a.sshCAUserFederatedCerts, a.sshCAUserCertSignKey.PublicKey())
}