From 04d2ba92964d010e1f58459446dbf1f4cf27d672 Mon Sep 17 00:00:00 2001 From: ea Date: Sat, 22 Nov 2025 22:56:54 -0600 Subject: [PATCH] added issuer logging Wanted to be able to filter based on issuer. --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 1dc0962..446433f 100644 --- a/main.go +++ b/main.go @@ -64,6 +64,7 @@ type CTResult struct { Name string `json:"name"` TS uint64 `json:"ts"` CN string `json:"cn"` + Issuer string `json:"issuer"` SHA1 string `json:"sha1"` Emails []string `json:"email,omitempty"` IPs []string `json:"ip,omitempty"` @@ -377,6 +378,7 @@ func logReader(c <-chan *CTEntry, o chan<- *CTResult) { Name: n, TS: leaf.TimestampedEntry.Timestamp, CN: strings.ToLower(scrubX509Value(cert.Subject.CommonName)), + Issuer: cert.Issuer.String(), SHA1: sha1hash, }