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
Unless configs are provided to the builder, janus_client will fetch leader and helper HPKE configurations during construction and use them indefinitely, ignoring whatever cache-control HTTP header the aggregator may have provided. This is fine, since janus_client is generally used ephemerally and so whatever keys it sees will almost certainly remain valid for the lifetime in memory of the structure. But it'd be nice if we supported caching keys and automatically refetching them when they expire.
This is only particularly useful if keys are being stored somewhere besides memory, so we would want to introduce some kind of storage/cache abstraction for janus_client to use.
The text was updated successfully, but these errors were encountered:
Unless configs are provided to the builder,
janus_client
will fetch leader and helper HPKE configurations during construction and use them indefinitely, ignoring whatevercache-control
HTTP header the aggregator may have provided. This is fine, sincejanus_client
is generally used ephemerally and so whatever keys it sees will almost certainly remain valid for the lifetime in memory of the structure. But it'd be nice if we supported caching keys and automatically refetching them when they expire.This is only particularly useful if keys are being stored somewhere besides memory, so we would want to introduce some kind of storage/cache abstraction for
janus_client
to use.The text was updated successfully, but these errors were encountered: