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 ba9eb47818
commit e5da24f269

View file

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