Christopher Patton
Christopher Patton
`DapVersion::Latest` points to draft10, however we have not fully implement it. Note that we may end up dropping draft10 in favor the next version.
If we detect a batch overlap, we abort: https://github.com/cloudflare/daphne/blob/main/daphne/src/roles/helper.rs#L199-L209 But if the batch interval hasn't changed, we're meant to handle this idempotently: https://datatracker.ietf.org/doc/html/draft-ietf-ppm-dap-09#section-4.6.2-16
This is optional because in the past we have stored task configs in KV that were configured by taskprov but lacked the "info" field needed to reconstruct the taskprov advertisement....
DAP wants to allow the Leader to repeat requests to: PUT /tasks/{tasks}/aggregation_jobs/{aggregation-job-id} [As long as the body of the request is the same](https://datatracker.ietf.org/doc/html/draft-ietf-ppm-dap-09#section-4.5.1.2-22), we should respond with the same `AggregationJobRep`...
When validating a bearer token we use a constant-time comparison algorithm in order to avoid leaking bits of the bearer token via a side channel: https://github.com/cloudflare/daphne/blob/main/daphne/src/messages/mod.rs#L1184 We should replace this...
Previously this was used to pick the KEM algorithm to when generating a fresh HPKE receiver config to populate KV. As of #353 the HPKE config is expected to be...
We currently use [libprio](https://github.com/divviup/libprio-rs)'s `codec::Decode` trait for decoding all messages in the DAP protocol. Currently all fields are owned by the struct, i.e., no fields reference data somewhere else. This...
Hi! My coworker @lukevalenta has begun interop testing https://github.com/cloudflare/roughtime against your code and found they're incompatible: ``` # Google-Roughtime ./target/release/roughenough-client -p 0 roughtime.cloudflare.com 2003 Apr 11 2024 16:32:05 -04:00 #...
At the moment this function returns the serialized request and, separately, the nonce used to verify the response. One way to clean up this API is to return a `*Request`...