-
Notifications
You must be signed in to change notification settings - Fork 232
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
Fetch key for B&A request #1289
Conversation
Co-authored-by: qingxinwu <[email protected]>
Co-authored-by: qingxinwu <[email protected]>
Co-authored-by: qingxinwu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
spec.bs
Outdated
1. Let |key| be a [=byte sequence=] containing one of the [[RFC9180|HPKE]] public | ||
encryption keys for |config|'s [=auction data config/seller=] as determined | ||
by |config|'s [=auction data config/coordinator=], or failure if no key is | ||
1. Let |key|,|key id| be a [=byte sequence=] containing one of the [[RFC9180|HPKE]] public |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems broken. Key is a [=byte sequence=], not (|key|, |keyId|). Need to rewrite it a little bit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rephrased (pulled out to a function).
spec.bs
Outdated
available. The actual method for this lookup is [=implementation-defined=], | ||
and may consist of fetching the keys from a known [=URL=]. | ||
1. If |key| is failure then: | ||
1. [=Queue a global task=] on the [=DOM manipulation task source=], given |global|, to | ||
[=reject=] |p| with a {{TypeError}}. | ||
1. Abort these steps. | ||
1. Set |config|'s [=auction data config/encryption key=] to |key|. | ||
1. Set |config|'s [=auction data config/encryption key id=] to |key id|. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|keyId|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Co-authored-by: qingxinwu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
SHA: be2c7d5 Reason: push, by JensenPaul Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Add payload optimization * Add missing = * Add constraint on request size * Add key fetch * Move key lookup to parallel queue * Apply suggestions from code review Co-authored-by: qingxinwu <[email protected]> * Apply suggestions from code review Co-authored-by: qingxinwu <[email protected]> * Address comments * Address comments * Add domintro for AdAuctionDataConfig * Fix missing description * Apply suggestions from code review Co-authored-by: qingxinwu <[email protected]> * Describe values of {{AdAuctionDataConfig/perBuyerConfig}} * Fix filtering logic * rephrase * Address comments * rephrase and add key id * capitalize ID * rephrase * Apply suggestions from code review Co-authored-by: qingxinwu <[email protected]> --------- Co-authored-by: qingxinwu <[email protected]>
Preview | Diff