فهرست منبع

Fix SSH certificate revocation

Mariano Cano 4 سال پیش
والد
کامیت
ce9a23a0f7
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 0
      CHANGELOG.md
  2. 1 1
      authority/tls.go

+ 1 - 0
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

+ 1 - 1
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.