In order to avoid needing to make and coordinate changes to ASC to support new fields or changes within ClientDataJSON and to maintain a single source of truth, calls to ASC from WebKit will contain a precomputed ClientDataHash.
This will especially be relevant if we choose to support Secure Payment Confirmation (SPC), which involves extending ClientDataJSON with payment related fields not relevant to AuthenticationServices (https://www.w3.org/TR/2021/WD-secure-payment-confirmation-20210831/#dictdef-collectedclientpaymentdata).
Created attachment 444443 [details]
Created attachment 444447 [details]
Comment on attachment 444447 [details]
Committed r285965 (244365@main): <https://commits.webkit.org/244365@main>
All reviewed patches have been landed. Closing bug and clearing flags on attachment 444447 [details].