Skip to content

Commit

Permalink
Allow abort for requests for expired tasks
Browse files Browse the repository at this point in the history
Clients are free to pick any timestamp they wish, even one in the
validity range of a task that has expired. The Aggregators need to
prevent themselves from aggregating such reports indefinitely.

Recommend aborting an upload or aggregation initialization request for
expired tasks.
  • Loading branch information
cjpatton committed Jan 15, 2025
1 parent d665b67 commit 7b64103
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions draft-ietf-ppm-dap.md
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ the following parameters associated with it:
batch mode.
* `task_start`: The time from which the Clients will start uploading reports to
a task. Aggregators MUST reject reports with timestamps earlier than
`task_start`.
`task_start` as described in {{input-share-validation}}.
* `task_duration`: The duration of a task. The task is considered completed
after the end time `task_start + task_duration`. Aggregators MUST reject
reports that have timestamps later than the end time, and MAY choose to opt
Expand Down Expand Up @@ -1255,7 +1255,10 @@ Clients SHOULD NOT upload the same measurement value in more than one report if
the Leader responds with HTTP status code 201 Created.

If the Leader does not recognize the task ID, then it MUST abort with error
`unrecognizedTask`.
`unrecognizedTask`. If the task has expired, i.e., `task_start + task_duration`
is greater than the current time, then it SHOULD abort with error
`unrecognizedTask`. It may choose to provide leeway for Clients with skewed
clocks.

The Leader responds to requests whose Leader encrypted input share uses an
out-of-date or unknown `HpkeConfig.id` value, indicated by
Expand Down

0 comments on commit 7b64103

Please sign in to comment.