webauthn: prevent UI from dispatching to the same authenticator multiple times
Using the transport switch drop-down menu, it is possible to cycle away from and then back to the Touch ID sheet, which currently causes the request to be dispatched onto the TouchIdAuthenticator each time the sheet is shown. This sort of works in the production build (it restarts the request, which will make the Touch ID dialog disappear and then reappear). In debug, however, it crashes on a DCHECK. We haven't defined whether a FidoAuthenticator should be able to handle multiple invocations of MakeCredential/GetAssertion over the lifetime of the instance. Hence, the UI should stop doing this. Bug: 678128,847985 Change-Id: Id008de98bc8aa6477e9863ca2e22cd136316b423 Reviewed-on: https://chromium-review.googlesource.com/1196427 Commit-Queue: Martin Kreichgauer <martinkr@google.com> Reviewed-by:Balazs Engedy <engedy@chromium.org> Cr-Commit-Position: refs/heads/master@{#587575}
Showing
Please register or sign in to comment