divviup / janus

Experimental implementation of the Distributed Aggregation Protocol (DAP) specification.
Mozilla Public License 2.0
53 stars 15 forks source link

Remove per-task aggregator HPKE keys. #3486

Closed branlwyd closed 6 days ago

branlwyd commented 6 days ago

DAP-12 removed (specified) per-task HPKE key requests. We don't have a reason to want per-task HPKE keys, especially if they require custom functionality, so we remove per-task HPKE key support. With this change, all Janus deployments must use "global" HPKE keys.

Also, minorly refactor HpkeKeypairCache; mostly, to maintain all state under a single mutex and to remove an unnecessary "view" type.

branlwyd commented 6 days ago

Part of #3436.

inahga commented 6 days ago

Closes https://github.com/divviup/janus/issues/2147