• Resolved pheck

    (@pheck)


    [EDIT: SOLVED AFTER ENABLING THE SODIUM EXTENSION]

    Hello!

    I migrated an existing website for a test to a new hosting provider (Hostinger). As this one runs with a different domain, I changed the domain in the WP-Authn config to the new one.

    Unfortunately, the registration doesn’t work – neither on 1Password nor on an Yubikey or Google Titan stick. Even with a newly created user, this doesn’t work.

    Below the log. I will ask the provider to enable Sodium support, but not sure, whether this has any relevance here….

    Thanks in advance for any help!

    Peter

    
    [2023-11-27 14:41:32][f013e3] PHP Version => 8.2.11, WordPress Version => 6.4.1, WP-WebAuthn Version => 1.3.1
    
    [2023-11-27 14:41:32][f013e3] Current config: first_choice => "false", website_name => "PHI - Webdesign | Cloud | SEO | IT Beratung in Oestrich-Winkel im Rheingau", website_domain => "phinternet.de", remember_me => "false", email_login => "false", user_verification => "false", allow_authenticator_type => "none", usernameless_login => "false", password_reset => "off", after_user_registration => "none"
    
    [2023-11-27 14:41:32][f013e3] Logger initialized
    
    [2023-11-27 14:41:52][286530] ajax_create: Start
    
    [2023-11-27 14:41:52][286530] ajax_create: name => "1Password", type => "platform", usernameless => "false"
    
    [2023-11-27 14:41:52][286530] ajax_create: user => ?XXXXXX“
    
    [2023-11-27 14:41:52][286530] ajax_create: excludeCredentials => []
    
    [2023-11-27 14:41:52][286530] ajax_create: user_verification => "false"
    
    [2023-11-27 14:41:52][286530] ajax_create: Challenge sent
    
    [2023-11-27 14:41:55][1f15d0] ajax_create_response: Client response received
    
    [2023-11-27 14:41:55][1f15d0] ajax_create_response: name => "1Password", type => "platform", usernameless => "false"
    
    [2023-11-27 14:41:55][1f15d0] ajax_create_response: data => {"id":"iC5pm-3e7ibSxsfV_K5_yQ","type":"public-key","rawId":"iC5pm+3e7ibSxsfV/K5/yQ==","response":{"clientDataJSON":"eyJ0eXBlIjoid2ViYXV0aG4uY3JlYXRlIiwiY2hhbGxlbmdlIjoiajdHVWY0V3JtdmNqOE1pUEhiVm1yWnk0T0hEcm55SmZ5dzZFSjU3cS1payIsIm9yaWdpbiI6Imh0dHBzOi8vcGhpbnRlcm5ldC5kZSJ9","attestationObject":"o2NmbXRkbm9uZWdhdHRTdG10oGhhdXRoRGF0YViUIPoT155FkmqGCSjppUq09LdN1InOMd3axawh9+DcZtxdAAAAALraVWanqkAfvZZFYZpVEg0AEIguaZvt3u4m0sbH1fyuf8mlAQIDJiABIVggk3vS7tPCNuosqU7I7ifqpz7O8+a9lE9seG2knypBoM8iWCCAwmpSJwh+R+Y7iwHy9fI6e85+s9O+EyBsFdmxeH+GEw=="}}
    
    [2023-11-27 14:41:55][1f15d0] ajax_create_response: Credential ID unique check passed
    
    [2023-11-27 14:41:55][1f15d0] ajax_create_response: (ERROR)The extension "sodium" is not available. Please install it to use this method
    
    [2023-11-27 14:41:55][1f15d0] Traceback:
    
                                  1) /home/u499230116/domains/phinternet.de/public_html/wp-admin/admin-ajax.php(188): do_action()
    
                                  2) /home/u499230116/domains/phinternet.de/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    
                                  3) /home/u499230116/domains/phinternet.de/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    
                                  4) /home/u499230116/domains/phinternet.de/public_html/wp-includes/class-wp-hook.php(324): wwa_ajax_create_response()
    
                                  5) /home/u499230116/domains/phinternet.de/public_html/wp-content/plugins/wp-webauthn/wwa-ajax.php(475): Webauthn\Server->loadAndCheckAttestationResponse()
    
                                  6) /home/u499230116/domains/phinternet.de/public_html/wp-content/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/Server.php(248): Webauthn\Server->getAttestationStatementSupportManager()
    
                                  7) /home/u499230116/domains/phinternet.de/public_html/wp-content/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/Server.php(334): Webauthn\AttestationStatement\AndroidSafetyNetAttestationStatementSupport->__construct()
    
                                  8) /home/u499230116/domains/phinternet.de/public_html/wp-content/plugins/wp-webauthn/wp-webauthn-vendor/web-auth/webauthn-lib/src/AttestationStatement/AndroidSafetyNetAttestationStatementSupport.php(97): Webauthn\AttestationStatement\AndroidSafetyNetAttestationStatementSupport->initJwsVerifier()
    
    [2023-11-27 14:41:55][1f15d0] ajax_create_response: (ERROR)Challenge not verified, exit
    • This topic was modified 12 months ago by pheck.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Axton

    (@axton)

    Hi pheck,

    WP-WebAuthn requires Sodium to work. This is a built-in core extension since PHP 7.2.0.

    Glad to know your problem is solved! I’ll now mark this thread as resolved.

Viewing 1 replies (of 1 total)
  • The topic ‘Not working on Hostinger’ is closed to new replies.