package rootsanalyzer

import "github.com/google/monologue/rootsanalyzer"

Package rootsanalyzer reports on changes in the set of root certificates returned by a CT Log's get-roots endpoint.

Index

Functions

func GenerateCertID

func GenerateCertID(root *x509.Certificate) ([32]byte, error)

GenerateCertID returns SHA-256 of certificate's DER representation.

func GenerateSetID

func GenerateSetID(roots []*x509.Certificate) (storage.RootSetID, error)

GenerateSetID returns ID for a set of root-certificates. Order or multi-entries of a same certificate do not influence the ID.

func Run

Run starts a Roots Analyzer, which watches a CT log's root certificates and creates incident reports for changes to them.

Source Files

rootsanalyzer.go rootset_id.go

Version
v0.0.0-20230315160450-1dc62842925e (latest)
Published
Mar 15, 2023
Platform
linux/amd64
Imports
15 packages
Last checked
1 day ago

Tools for package owners.