divviup / janus

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

Should we eliminate task-specific HPKE keys? #1641

Closed inahga closed 12 months ago

inahga commented 1 year ago

From discussion in https://isrg.slack.com/archives/C0167LT4C73/p1689871160489639?thread_ts=1689810185.430009&cid=C0167LT4C73.

Since we must implement global HPKE keys for taskprov (or more precisely, task-independent HPKE configuration), we can consider doing away with task-specific HPKE keys entirely.

The main possible benefit is that we don't have to worry about per-task HPKE key rotation. It's more difficult to implement than for global HPKE keys, since we have to manage a set of keys for each discrete task. (Note that we could just never rotate a task HPKE and just let them age out).

Possible drawbacks:

inahga commented 12 months ago

Superseded by https://github.com/divviup/janus/issues/2147