trustbundle

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package trustbundle resolves the trust bundle names that actors may project into system-info volumes to PEM certificate bundles.

Index

Constants

View Source
const EgressCTB = "egress-mitm.ate.dev:mitm:primary-bundle"

EgressCTB is the ClusterTrustBundle read for EgressName.

View Source
const EgressName = "egress-mitm.ate.dev"

EgressName is the well-known name of the egress gateway CA bundle (#823): the trust anchors for the per-SNI leaves the egress gateway mints, maintained by atecontroller from the egress-mitm-ca-pool.

View Source
const SystemRootsName = "system-roots.ate.dev"

SystemRootsName is the well-known name for a selection of WebPKI root certificates.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

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

Source resolves allowlisted trust bundle names to their contents.

func NewSource

func NewSource(getCTB func(name string) (*certsv1.ClusterTrustBundle, error), systemRootsPEM []byte) *Source

NewSource creates a Source

func (*Source) Combined

func (s *Source) Combined(names []string) ([]byte, error)

Combined returns the sanitized union of the named bundles' anchors, deduplicated across bundles.

Jump to

Keyboard shortcuts

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