testing/

directory
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0

Directories

Path Synopsis
Package devkeys provides test-only pregenerated and signed root and signer keys.
Package devkeys provides test-only pregenerated and signed root and signer keys.
Package fakeovmf generates test OVMF binary data to test OVMF binary parsing.
Package fakeovmf generates test OVMF binary data to test OVMF binary parsing.
Package match provides utilities for tests to check if results match expectations.
Package match provides utilities for tests to check if results match expectations.
Package nonprod implements local signing and file operations for signing and submitting endorsements to disk.
Package nonprod implements local signing and file operations for signing and submitting endorsements to disk.
certs
Package certs provides certificate templating logic for nonprod key management.
Package certs provides certificate templating logic for nonprod key management.
gcetcb
The gcetcb.test command provides test-only GCE TCB management operations, like UEFI endorsement.
The gcetcb.test command provides test-only GCE TCB management operations, like UEFI endorsement.
localca
Package localca is a local storage CommandComponent instantiation of gcsca.
Package localca is a local storage CommandComponent instantiation of gcsca.
localkm
Package localkm provides a keys.ManagerInterface implementation that persists keys to disk.
Package localkm provides a keys.ManagerInterface implementation that persists keys to disk.
localnonvcs
Package localnonvcs implements the endorse.VersionControl interface without operating with an actual version-control system.
Package localnonvcs implements the endorse.VersionControl interface without operating with an actual version-control system.
memkm
Package memkm provides an in-memory keys.ManagerInterface implementation.
Package memkm provides an in-memory keys.ManagerInterface implementation.
Package storage provides a mock rotate.StorageClient implementation
Package storage provides a mock rotate.StorageClient implementation
Package testca defines test cases for any implementation of styp.CertificateAuthority.
Package testca defines test cases for any implementation of styp.CertificateAuthority.
Package testkm provides reusable test cases for in-memory and local file key managers, since they both use the same underlying signer.
Package testkm provides reusable test cases for in-memory and local file key managers, since they both use the same underlying signer.
Package testkms implements a mock type for KeyManagementServiceClientInterface for KMS-based signing code to be tested positively and negatively.
Package testkms implements a mock type for KeyManagementServiceClientInterface for KMS-based signing code to be tested positively and negatively.
Package testsign implements both a mock and fake type for testing the endorsement signing code paths.
Package testsign implements both a mock and fake type for testing the endorsement signing code paths.

Jump to

Keyboard shortcuts

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