You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 5, 2026. It is now read-only.
While a stateless TP would be ideal, the cache is not a problem per-se, so long as it is managed as intended (i.e., it caches fresh values and, when a value is not available, tries to retrieve/rebuild that from the persistent KVS).
Such management needs a revision, because the TP assumes (for instance when an enclave is added) that the cache is correctly populated, without checking for value freshness (w.r.t. whatever is stored in the KVS) or for the availability of the value itself in the cache (i.e., it could be missing, though available in the KVS).
This does not raise issues in an always-up single-node deployment.
The main consequences that could trigger errors are:
if that single TP instance goes down, then the cache is lost and not rebuilt
in multi-node deployments, different end-points may either not have the cache populated, or the cache may be populated with stale values
Note:
The approach of caching the verifier was originally adopted because creating the signature verifier was an expensive operation in CCF.
Question: is this still an expensive operation with newer CCF versions? (if not, this could be removed)