-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Milestone
Description
Problem Statement
Currently, verification of record signatures must be performed on-demand for each query. This makes filtering by signed/trusted status expensive and slow, as each record must be verified against public keys at query time. There is no cached verification state in the database to enable efficient filtering.
Proposed Solution
Create a new reconciler task under reconciler/tasks/verification that:
- Periodically scans records in the database that have not been verified (or need re-verification)
- Performs signature verification against known public keys
- Caches verification results in the database (e.g.,
is_signed,is_trusted,verification_timestamp) - Marks records for re-verification when public keys change
This enables the API to filter records by verification status efficiently without performing cryptographic operations at query time.
Alternatives Considered
No response
Additional Context
No response
Checklist
- I have read the contributing guidelines
- I have verified this does not duplicate an existing feature request
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Todo