Documentation ¶
Overview ¶
Package scanner holds code for iterating through the contents of a CT log.
Index ¶
Constants ¶
const ( // FourEntrySTH is an STH for size 4. // TODO(alcutter): this signature is syntactically correct, but invalid. FourEntrySTH = "{" + "\"tree_size\":4,\"timestamp\":1396877652123,\"sha256_root_hash\":\"0JBu0CkZnKXc1niEndDaqqgCRHucCfVt1/WBAXs/5T8=\",\"tree_head_signature\":\"AAAACXNpZ25hdHVyZQ==\"}" // FourEntries holds 4 entries. FourEntries = "{\"entries\":[{\"leaf_input\":\"AAAAAAE9pCDoYwAAAAOGMIIDgjCCAuu" + "gAwIBAgIKFIT5BQAAAAB9PDANBgkqhkiG9w0BAQUFADBGMQswCQYDVQQGEwJVUzETMBEGA1UEChMKR29" + "vZ2xlIEluYzEiMCAGA1UEAxMZR29vZ2xlIEludGVybmV0IEF1dGhvcml0eTAeFw0xMzAyMjAxMzM0NTF" + "aFw0xMzA2MDcxOTQzMjdaMGkxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQ" + "HEw1Nb3VudGFpbiBWaWV3MRMwEQYDVQQKEwpHb29nbGUgSW5jMRgwFgYDVQQDEw9tYWlsLmdvb2dsZS5" + "jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOD1FbMyG0IT8JOi2El6RVciBJp4ENfTkpJ2vn/" + "HUq+gjprmUNxLSvcK+D8vBpkq8N41Qv+82PyTuZIB0pg2CJfs07C5+ZAQnwm01DiQjM/j2jKb5GegOBR" + "YngbRkAPSGCufzJy+QBWbd1htqceIREEI/JH7pUGgg90XUQgBddBbAgMBAAGjggFSMIIBTjAdBgNVHSU" + "EFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHQYDVR0OBBYEFAgZmgKeyK8PXIGOAU+/5r/xNy5hMB8GA1U" + "dIwQYMBaAFL/AMOv1QxE+Z7qekfv8atrjaxIkMFsGA1UdHwRUMFIwUKBOoEyGSmh0dHA6Ly93d3cuZ3N"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G69atcyzwshySLfo0ElMHP5WG9TpVrb6XSh2a1edwduAWBVAHQsH" + "i4bt4wX9e9DBMnQx/jelcJevABQsXJPGc86diisXYDkHKQesi+8CvWvE0GmbVJRoq0RDo14WASQszuqT" + "NW993walCzNTg88s7MniFgmgFd8n31SVls6QhY2Fmlr13JLDtzVDQDbj6MCPuwG8DdmR1bCM/ugcnk0a" + "7ZVy3d4yTjdhKpocToFklhHtHg0AINghPXIqU0njjUsy3ujNYIYo1TaZ3835Bo0lDwdvKK68Jka24Cfc" + "m+vfUfHKB56sIzquxAAA=\",\"extra_data\":\"AArbAAQ4MIIENDCCAxygAwIBAgIEBydcJjANBgk" + "qhkiG9w0BAQUFADBaMQswCQYDVQQGEwJJRTESMBAGA1UEChMJQmFsdGltb3JlMRMwEQYDVQQLEwpDeWJ" + "lclRydXN0MSIwIAYDVQQDExlCYWx0aW1vcmUgQ3liZXJUcnVzdCBSb290MB4XDTExMDgxODE4MzYzM1o" + "XDTE4MDgwOTE4MzU0OVowWjELMAkGA1UEBhMCSlAxIzAhBgNVBAoMGkN5YmVydHJ1c3QgSmFwYW4gQ28" + "uLCBMdGQuMSYwJAYDVQQDDB1DeWJlcnRydXN0IEphcGFuIFB1YmxpYyBDQSBHMjCCASIwDQYJKoZIhvc" + "NAQEBBQADggEPADCCAQoCggEBALbcdvu5RPsSfFSwu0F1dPA1R54nukNERWAZzUQKsnjl+h4kOwIfaHd" + "g9OsiBQo3btv3FSC7PVPU0BGO1OtnvtjdBTeUQSUj75oQo8P3AL26JpJngVCpT56RPE4gulJ//0xNjqq" + "tTl+8J5cCKf2Vg0m/CrqxNRg1qXOIYlGsFBc0UOefxvOTXbnFAE83kHqBD9T1cinojGKscTvzLt8qXOm" + "+51Ykgiiavz39cUL9xXtrNwlHUD5ykao7xU+dEm49gANUSUEVPPKGRHQo9bmjG9t2x+oDiaBg6VH2oWQ" + "+dJvbKssYPMHnaBiJ7Ks4LlC5b24VMygdL9WAF4Yi8x0M4IcCAwEAAa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Km2dpOqCAaqbf8WKa3mvAAA=" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MatchAll ¶
type MatchAll struct{}
MatchAll is a Matcher which will match every possible Certificate and Precertificate.
func (MatchAll) CertificateMatches ¶
func (m MatchAll) CertificateMatches(_ *x509.Certificate) bool
CertificateMatches returns true if the given cert should match; in this case, always.
func (MatchAll) PrecertificateMatches ¶
func (m MatchAll) PrecertificateMatches(_ *ct.Precertificate) bool
PrecertificateMatches returns true if the given precert should match, in this case, always.
type MatchIssuerRegex ¶
type MatchIssuerRegex struct { CertificateIssuerRegex *regexp.Regexp PrecertificateIssuerRegex *regexp.Regexp }
MatchIssuerRegex matches on issuer CN (common name) by regex
func (MatchIssuerRegex) CertificateMatches ¶
func (m MatchIssuerRegex) CertificateMatches(c *x509.Certificate) bool
CertificateMatches returns true if the given cert's CN matches.
func (MatchIssuerRegex) PrecertificateMatches ¶
func (m MatchIssuerRegex) PrecertificateMatches(p *ct.Precertificate) bool
PrecertificateMatches returns true if the given precert's CN matches.
type MatchNone ¶
type MatchNone struct{}
MatchNone is a Matcher which will never match any Certificate or Precertificate.
func (MatchNone) CertificateMatches ¶
func (m MatchNone) CertificateMatches(_ *x509.Certificate) bool
CertificateMatches returns true if the given cert should match; in this case, never.
func (MatchNone) PrecertificateMatches ¶
func (m MatchNone) PrecertificateMatches(_ *ct.Precertificate) bool
PrecertificateMatches returns true if the given cert should match; in this case, never.
type MatchSerialNumber ¶
MatchSerialNumber performs a match for a specific serial number.
func (MatchSerialNumber) CertificateMatches ¶
func (m MatchSerialNumber) CertificateMatches(c *x509.Certificate) bool
CertificateMatches returns true if the given cert should match; in this case, only if the serial number matches.
func (MatchSerialNumber) PrecertificateMatches ¶
func (m MatchSerialNumber) PrecertificateMatches(p *ct.Precertificate) bool
PrecertificateMatches returns true if the given cert should match; in this case, only if the serial number matches.
type MatchSubjectRegex ¶
type MatchSubjectRegex struct { CertificateSubjectRegex *regexp.Regexp PrecertificateSubjectRegex *regexp.Regexp }
MatchSubjectRegex is a Matcher which will use CertificateSubjectRegex and PrecertificateSubjectRegex to determine whether Certificates and Precertificates are interesting. The two regexes are tested against Subject CN (Common Name) as well as all Subject Alternative Names
func (MatchSubjectRegex) CertificateMatches ¶
func (m MatchSubjectRegex) CertificateMatches(c *x509.Certificate) bool
CertificateMatches returns true if either CN or any SAN of c matches m.CertificateSubjectRegex.
func (MatchSubjectRegex) PrecertificateMatches ¶
func (m MatchSubjectRegex) PrecertificateMatches(p *ct.Precertificate) bool
PrecertificateMatches returns true if either CN or any SAN of p matches m.PrecertificateSubjectRegex.
type Matcher ¶
type Matcher interface { // CertificateMatches is called by the scanner for each X509 Certificate found in the log. // The implementation should return true if the passed Certificate is interesting, and false otherwise. CertificateMatches(*x509.Certificate) bool // PrecertificateMatches is called by the scanner for each CT Precertificate found in the log. // The implementation should return true if the passed Precertificate is interesting, and false otherwise. PrecertificateMatches(*ct.Precertificate) bool }
Matcher describes how to match certificates and precertificates; clients should implement this interface to perform their own match criteria.
type Scanner ¶
type Scanner struct { Log func(msg string) // contains filtered or unexported fields }
Scanner is a tool to scan all the entries in a CT Log.
func NewScanner ¶
func NewScanner(client *client.LogClient, opts ScannerOptions) *Scanner
NewScanner creates a new Scanner instance using client to talk to the log, taking configuration options from opts.
func (*Scanner) Scan ¶
func (s *Scanner) Scan(ctx context.Context, foundCert func(*ct.LogEntry), foundPrecert func(*ct.LogEntry)) error
Scan performs a scan against the Log. For each x509 certificate found, foundCert will be called with the index of the entry and certificate itself as arguments. For each precert found, foundPrecert will be called with the index of the entry and the raw precert string as the arguments.
This method blocks until the scan is complete.
type ScannerOptions ¶
type ScannerOptions struct { // Custom matcher for x509 Certificates, functor will be called for each // Certificate found during scanning. Matcher Matcher // Match precerts only (Matcher still applies to precerts) PrecertOnly bool // Number of entries to request in one batch from the Log BatchSize int // Number of concurrent matchers to run NumWorkers int // Number of concurrent fethers to run ParallelFetch int // Log entry index to start fetching & matching at StartIndex int64 // Don't print any status messages to stdout Quiet bool }
ScannerOptions holds configuration options for the Scanner
func DefaultScannerOptions ¶
func DefaultScannerOptions() *ScannerOptions
DefaultScannerOptions creates a new ScannerOptions struct with sensible defaults.