Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-80638

Upgrade WebAuthn to 2.1.1

XMLWordPrintable

    • MOODLE_404_STABLE
    • MOODLE_404_STABLE
    • MDL-80638-main
    • Hide

      Here we will just test the workflow that is using Webauthn. 

      Requirements and setup:

      • Your site should be https WITH a valid certificate. Can also use ngrok. Anything else will make the setup page fail silently (reported here MDL-81285). 
      • Use at least chrome
      1. Login as administrator
      2. Go to Site admin > plugins > admin tools > Multi-factor authentication
        1. Check the "MFA plugin enabled"
        2. Enable the "Security key" plugin

      Test WebAuthn factor test (Security key) - Only applied to Admins

      1. Click on user profile picture in header, the click on Preferences
      2. Click on Multi-factor authentication preferences in User account block
      3. Look for "Security key" block under "Available factors" the click on the Setup authenticator button
        1. Set Security key Name to any names (This field is required)
        2. Click on Register authenticator and you will be ask to choose the authentication device
        3. You can choose any or finger print if you have that in your machine then Save changes
      4. Go to another "Testing" browser
        • Do not log off, open a new browser for testing (private browsing for example)
      5. Login as administrator
      6. Confirm that you are taken to a page where you will authenticate using the "WebAuthn"
      7. Click on Verify authenticator button then follow the same steps when you registered the authenticator
      8. Confirm that once the authentication succeed, you are taken to the home page

      Warning: If you have inadvertantly messed things up and locked yourself out, you can disable the whole MFA plugin from the CLI:

      php admin/cli/cfg.php --component=tool_mfa --name=enabled --set=0
      Show
      Here we will just test the workflow that is using Webauthn.  Requirements and setup: Your site should be https WITH a valid certificate. Can also use ngrok. Anything else will make the setup page fail silently (reported here MDL-81285 ).  Use at least chrome Login as administrator Go to Site admin > plugins > admin tools > Multi-factor authentication Check the "MFA plugin enabled" Enable the "Security key" plugin Test WebAuthn factor test (Security key) - Only applied to Admins Click on user profile picture in header, the click on  Preferences Click on  Multi-factor authentication preferences  in  User account  block Look for "Security key" block under "Available factors" the click on the  Setup authenticator  button Set Security key  Name  to any names (This field is required) Click on  Register authenticator  and you will be ask to choose the authentication device You can choose any or finger print if you have that in your machine then  Save changes Go to another "Testing" browser Do not log off, open a new browser for testing (private browsing for example) Login as administrator Confirm  that you are taken to a page where you will authenticate using the "WebAuthn" Click on  Verify authenticator  button then follow the same steps when you  registered  the authenticator Confirm that once the authentication succeed, you are taken to the home page Warning : If you have inadvertantly messed things up and locked yourself out, you can disable the whole MFA plugin from the CLI : php admin/cli/cfg.php --component=tool_mfa --name=enabled --set=0
    • HQ 2024 Sprint I1.4 Moppies

      WebAuthn    lib/webauthn/src    2.0.1  -->  2.1.1    https://github.com/lbuchs/WebAuthn

            laurent.david@moodle.com Laurent David
            sarjona Sara Arjona (@sarjona)
            Mikel Martín Corrales Mikel Martín Corrales
            Ilya Tregubov Ilya Tregubov
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 22 minutes
                6h 22m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.