From 85218a93b0d71f930450813204fb050e10d83ceb Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Thu, 24 Oct 2019 18:36:02 -0700 Subject: [PATCH] Fix list of user ssh public keys. --- authority/authority.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authority/authority.go b/authority/authority.go index db038d85..d53d8d1b 100644 --- a/authority/authority.go +++ b/authority/authority.go @@ -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()) }