trustbundle

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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