Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEV: Add UI for passkeys (3/3) #23591

Closed
wants to merge 3 commits into from
Closed

Commits on Sep 14, 2023

  1. DEV: Refactor webauthn to support passkeys

    This is part 1 of 3, split up of PR #23529. This PR refactors the
    webauthn code to support passkey authentication/registration.
    
    Passkeys aren't used yet, that is coming in PRs 2 and 3.
    pmusaraj committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    16439db View commit details
    Browse the repository at this point in the history
  2. DEV: Routes and controller actions for passkeys

    This is part 2 (of 3) of the passkeys feature. (Original PR #23529)
    
    This adds a hidden site setting plus routes and controller actions.
    
    1. registering passkeys
    
    Passkeys are registered in a two-step process. First, `create_passkey`
    returns details for the browser to create a passkey. This includes
    - a challenge
    - the relying party ID and Origin
    - the user's secure identifier
    - the supported algorithms
    - the user's existing passkeys (if any)
    
    Then the browser creates a key with this information, and submits it to
    the server via `register_passkey`.
    
    2. authenticating passkeys
    
    A similar process happens here as well. First, a challenge is created
    and sent to the browser. Then the browser makes a public key credential
    and submits it to the server via `passkey_auth_perform`.
    
    3. renaming/deleting passkeys
    pmusaraj committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    221566c View commit details
    Browse the repository at this point in the history
  3. DEV: Add UI for passkeys

    pmusaraj committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    3e076b2 View commit details
    Browse the repository at this point in the history