[webauthn] Default to ES256 and RS256 algorithms
When a relying party sends an empty pubKeyCredParams, default to a list containing ES256 and RS256 instead of returning an error. See https://w3c.github.io/webauthn/#sctn-createCredential step 8. This also touches up WPTs exercising this behaviour. Fixed: 1064689 Change-Id: I599fd57f9eccea5aa26144e10e41009980fda79c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2132644 Auto-Submit: Nina Satragno <nsatragno@chromium.org> Reviewed-by:Ken Buchanan <kenrb@chromium.org> Commit-Queue: Nina Satragno <nsatragno@chromium.org> Cr-Commit-Position: refs/heads/master@{#755836}
Showing
Please register or sign in to comment