checker

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BoulderBaseURL    cmd.EnvVar = "BOULDER_BASE_URL"
	BoulderMaxFetch   cmd.EnvVar = "BOULDER_MAX_FETCH"
	DynamoEndpointEnv cmd.EnvVar = "DYNAMO_ENDPOINT"
	DynamoTableEnv    cmd.EnvVar = "DYNAMO_TABLE"
	CRLAgeLimit       cmd.EnvVar = "CRL_AGE_LIMIT"
	IssuerPaths       cmd.EnvVar = "ISSUER_PATHS"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker struct {
	// contains filtered or unexported fields
}

The Checker handles fetching and linting CRLs. Use New to obtain one.

func New

func New(database *db.Database, storage *storage.Storage, fetcher earlyremoval.Fetcher, maxFetch int, ageLimit time.Duration, issuers []*x509.Certificate) *Checker

func NewFromEnv

func NewFromEnv(ctx context.Context) (*Checker, error)

func (*Checker) Check

func (c *Checker) Check(ctx context.Context, bucket, object string, startingVersion *string) error

Check fetches a CRL and its previous version. It runs lints on the CRL, checks for early removal, and removes any certificates we're waiting for out of the database.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL