-
Martin Kreichgauer authored
This adds code to parse the maxCredentialCountInList and maxCredentialIdLength fields from authenticatorGetInfo responses. GetAssertionTask is changed to filter and batch allow lists when silently probing credentials according to these values, if the authenticator supports it. In particular, probing is skipped if the allow list fits into a single batch (and the request doesn't have an App ID that the GetAssertionTask might have to fall back to). MakeCredentialTask similarly filters and batches before silently probing for credentials in the exclude list parameter. Probing is skipped entirely, if the exclude list fits into a single batch and the request does not carry an appIdExclude extension. Fixed: 954613 Change-Id: I644e602054e4e2ebb4101b98b867f5dbc61e0901 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1867448 Commit-Queue: Martin Kreichgauer <martinkr@google.com> Reviewed-by:
Adam Langley <agl@chromium.org> Cr-Commit-Position: refs/heads/master@{#708023}
acef6fd7