Fix SSH certificate revocation

pull/947/head
Mariano Cano 2 years ago
parent abfbbc8d49
commit ce9a23a0f7

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Deprecated ### Deprecated
### Removed ### Removed
### Fixed ### Fixed
- Fixed SSH revocation.
### Security ### Security
## [0.19.0] - 2022-04-19 ## [0.19.0] - 2022-04-19

@ -560,7 +560,7 @@ func (a *Authority) revokeSSH(crt *ssh.Certificate, rci *db.RevokedCertificateIn
}); ok { }); ok {
return lca.RevokeSSH(crt, rci) 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. // GetTLSCertificate creates a new leaf certificate to be used by the CA HTTPS server.

Loading…
Cancel
Save