Skip to content

feat: add CRL-based certificate revocation checking - #37

Merged
catay merged 1 commit into
mainfrom
feat/certificate-revocation-checking
Feb 10, 2026
Merged

feat: add CRL-based certificate revocation checking#37
catay merged 1 commit into
mainfrom
feat/certificate-revocation-checking

Conversation

@catay

@catay catay commented Feb 10, 2026

Copy link
Copy Markdown
Owner

Add certificate revocation checking via CRL (Certificate Revocation List).

Changes

  • New internal/revocation/ package with CRL fetch, parse, signature verification, and serial number lookup
  • --revocation, --revocation-timeout, --revocation-soft-fail flags on both client and pem subcommands
  • Revocation status displayed in human-readable and verbose text output (colored labels)
  • JSON/YAML output includes revocation field with per-method results
  • Captures stapled OCSP bytes from TLS handshake (plumbing for future OCSP support)
  • Comprehensive tests for CRL checking (good/revoked/stale/error/no-endpoints)

Usage

tlsctl client --revocation=crl example.com
tlsctl pem --revocation=crl cert.pem

@catay
catay merged commit be72deb into main Feb 10, 2026
4 checks passed
@catay
catay deleted the feat/certificate-revocation-checking branch February 10, 2026 21:43
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.

1 participant