From ce9a23a0f7d6f4586b498e4a18c666577e712d81 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Wed, 25 May 2022 16:55:22 -0700 Subject: [PATCH] Fix SSH certificate revocation --- CHANGELOG.md | 1 + authority/tls.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fdd504e2..cab6e7e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Deprecated ### Removed ### Fixed +- Fixed SSH revocation. ### Security ## [0.19.0] - 2022-04-19 diff --git a/authority/tls.go b/authority/tls.go index fd21ae98..4c29ca15 100644 --- a/authority/tls.go +++ b/authority/tls.go @@ -560,7 +560,7 @@ func (a *Authority) revokeSSH(crt *ssh.Certificate, rci *db.RevokedCertificateIn }); ok { return lca.RevokeSSH(crt, rci) } - return a.db.Revoke(rci) + return a.db.RevokeSSH(rci) } // GetTLSCertificate creates a new leaf certificate to be used by the CA HTTPS server.