Skip to content

feat(dir/reconciler): add signature verification task#985

Open
paralta wants to merge 11 commits intomainfrom
feat/signature-reconciler
Open

feat(dir/reconciler): add signature verification task#985
paralta wants to merge 11 commits intomainfrom
feat/signature-reconciler

Conversation

@paralta
Copy link
Member

@paralta paralta commented Feb 25, 2026

Adds server-side caching of signature verification so dirctl verify can return trusted status and signer info from the server without running cosign locally. Verification runs only in the reconciler on a configurable interval.

  • Database: New signature_verifications table (per-signature status, signer info) and records.trusted.
  • Reconciler: New signature task that fetches records needing verification, runs cosign, and updates results.
  • Indexer: Extend indexing with signed data so that the signature task is able to pick up signed records for verification.
  • Server: Controller and types extended to read/write signature verifications and build verify responses from cache; record list/search can filter by trusted.
  • Client: dirctl verify simplified to call server for cached result instead of running cosign locally (heavy logic removed from client).

…methods

Signed-off-by: Catarina Paralta <clouropa@cisco.com>
…k config

Signed-off-by: Catarina Paralta <clouropa@cisco.com>
Signed-off-by: Catarina Paralta <clouropa@cisco.com>
Signed-off-by: Catarina Paralta <clouropa@cisco.com>
…d update server handling

Signed-off-by: Catarina Paralta <clouropa@cisco.com>
Signed-off-by: Catarina Paralta <clouropa@cisco.com>
@paralta paralta linked an issue Feb 25, 2026 that may be closed by this pull request
2 tasks
@github-actions
Copy link
Contributor

github-actions bot commented Feb 25, 2026

The latest Buf updates on your PR. Results from workflow Buf CI / verify-proto (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped⏩ skipped✅ passedFeb 25, 2026, 5:06 PM

@github-actions github-actions bot added the size/XL Denotes a PR that changes 2000+ lines label Feb 25, 2026
@paralta paralta force-pushed the feat/signature-reconciler branch from 6d98716 to dc830cd Compare February 25, 2026 13:45
Signed-off-by: Catarina Paralta <clouropa@cisco.com>
@paralta paralta force-pushed the feat/signature-reconciler branch from dc830cd to 5c42aa7 Compare February 25, 2026 13:48
Signed-off-by: Catarina Paralta <clouropa@cisco.com>
…case

Signed-off-by: Catarina Paralta <clouropa@cisco.com>
Signed-off-by: Catarina Paralta <clouropa@cisco.com>
@paralta paralta marked this pull request as ready for review February 25, 2026 16:11
@paralta paralta requested a review from a team as a code owner February 25, 2026 16:11
Signed-off-by: Catarina Paralta <clouropa@cisco.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XL Denotes a PR that changes 2000+ lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Verification caching task

1 participant