• Nina Satragno's avatar
    [webauthn] Do not always prompt for second tap if a PIN is needed · 70589ab6
    Nina Satragno authored
    When resolving a webauthn request, skip the first touch when able if the only
    authenticator detected will require PIN entry. The touch is skipped when only
    one authenticator is detected.
    
    If the user clicks the back arrow and starts the request over, the touch will
    not be skipped.
    
    The patch changes FidoRequestHandlerBase to wait until all discoveries are ready
    before signalling transport availability to avoid race conditions, and the
    StartOver logic to keep the state on the FidoRequestHandler.
    
    Bug: 996958
    Change-Id: I8c639320b5052675ae3aad7c389bff175b529bbc
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1800725
    Commit-Queue: Nina Satragno <nsatragno@chromium.org>
    Reviewed-by: default avatarMartin Kreichgauer <martinkr@google.com>
    Cr-Commit-Position: refs/heads/master@{#702067}
    70589ab6
fido_device_discovery.cc 3.8 KB