Skip to content

sa: use CertificateNotAfter in RevokeCertificate - #9203

Open
jsha wants to merge 1 commit into
revoke-with-notafterfrom
rely-on-notafter
Open

jsha wants to merge 1 commit into
revoke-with-notafterfrom
rely-on-notafter

Conversation

@jsha

@jsha jsha commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Instead of querying the serials table.

Part of #9200.

Warning

Do not merge until #9202 is deployed.

Instead of querying the `serials` table.
@jsha
jsha added this pull request to stack #9204 December 1, 2026 23:40
@jsha
jsha marked this pull request as ready for review December 1, 2026 23:59
@jsha
jsha requested a review from a team as a code owner December 1, 2026 23:59
@jsha
jsha requested a review from ezekiel December 1, 2026 23:59
Comment thread sa/sa.go
// the revokedCertificates table, with the provided shard number.
func (ssa *SQLStorageAuthority) RevokeCertificate(ctx context.Context, req *sapb.RevokeCertificateRequest) (*emptypb.Empty, error) {
if core.IsAnyNilOrZero(req.Serial, req.IssuerID, req.Date, req.ShardIdx) {
if core.IsAnyNilOrZero(req.Serial, req.IssuerID, req.Date, req.ShardIdx, req.CertificateNotAfter) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This field is newly set by #9202, and therefore this change should not be merged until #9202 is deployed. Opening this conversation to track.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants