Skip to content

TrustStore: Verifier implementation #3119

@oncilla

Description

@oncilla

The trust store needs to provide a verifier that is capable of verifying signatures based on the certificate chains present in the trust store.

Verifier properties:

  • The verifier should be a struct that implements the infra.Verifier interface. (see go/lib/infra/common.go)
  • The verifier should live inside go/lib/infra/modules/trust/v2/verifier.go.
  • For the first simple implementation, the verifier fetches the chain from the store (through the CryptoProvider) and simply verifies the signature based on the signing key authenticated by the certificate chain. The CryptoProvider already takes care of checking that the certificate chain is active.

Verifier clients:

  • The verifier is used by other packages to verify control plane messages. (e.g. path segments). (see: usage of infra.Verifier)

Existing code:

Metadata

Metadata

Assignees

Labels

c/CPPKISCION Control-plane PKIfeatureNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions