Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec: Pad the payload with null contributions #1030

Merged
merged 2 commits into from
Sep 26, 2023
Merged

Conversation

alexmturner
Copy link
Collaborator

@alexmturner alexmturner commented Sep 19, 2023

Resolves #352.

See also the related spec change for the Private Aggregation API: patcg-individual-drafts/private-aggregation-api#98. See also the corresponding ARA explainer change: #1031.


Preview | Diff

Resolves #352.

See also related spec change for the Private Aggregation API:
patcg-individual-drafts/private-aggregation-api#98
alexmturner added a commit that referenced this pull request Sep 19, 2023
alexmturner added a commit that referenced this pull request Sep 26, 2023
@alexmturner alexmturner merged commit f39ff57 into main Sep 26, 2023
2 checks passed
@alexmturner alexmturner deleted the padding-spec branch September 26, 2023 21:21
aarongable pushed a commit to chromium/chromium that referenced this pull request Sep 28, 2023
Adds null contributions, i.e. contributions with zero value, to report
payloads when serializing to ensure that the number of contributions is
fixed (according to the calling API's request). This prevents the size
of the encrypted payload from leaking any information about the number
of contributions.

This functionality is guarded behind a disabled-by-default feature and
will be enabled in a separate cl. In that cl, we will update the golden
report tests.

See the corresponding spec changes here:
WICG/attribution-reporting-api#1030 and
patcg-individual-drafts/private-aggregation-api#98

Bug: 1478353
Change-Id: Ie967bbdbc6c4d9a908774a7c54ae5701c6e3d5bd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4887591
Commit-Queue: Alex Turner <[email protected]>
Reviewed-by: Nan Lin <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1202742}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider adding padding to payload
2 participants