Nirjonadda
Customer
Server error log:
Code:
Assert\InvalidArgumentException: Invalid data src/addons/DBTech/Security/vendor/beberlei/assert/lib/Assert/Assertion.php:2752
Generated by: Iamilbd Jan 1, 2021 at 7:14 PM
Stack trace
#0 src/addons/DBTech/Security/vendor/beberlei/assert/lib/Assert/Assertion.php(319): Assert\Assertion::createException(0, 'Invalid data', 33, NULL, Array)
#1 src/addons/DBTech/Security/vendor/web-auth/webauthn-lib/src/PublicKeyCredentialLoader.php(78): Assert\Assertion::eq(0, 4, 'Invalid data')
#2 src/addons/DBTech/Security/vendor/web-auth/webauthn-lib/src/Server.php(201): Webauthn\PublicKeyCredentialLoader->load('')
#3 src/addons/DBTech/Security/Tfa/WebAuthn.php(217): Webauthn\Server->loadAndCheckAttestationResponse('', Object(Webauthn\PublicKeyCredentialCreationOptions), Object(Nyholm\Psr7\ServerRequest))
#4 src/XF/Pub/Controller/Account.php(1039): DBTech\Security\Tfa\WebAuthn->verify('setup', Object(Datio\AllowedEmails\XF\Entity\User), Array, Object(XF\Http\Request))
#5 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Account->actionTwoStepEnable(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Account', 'TwoStepenable', Object(XF\Mvc\RouteMatch), Object(AddonFlare\PaidRegistrations\XF\Pub\Controller\Account), NULL)
#7 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(AddonFlare\PaidRegistrations\XF\Pub\Controller\Account), NULL)
#8 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#10 src/XF.php(488): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}
Request state
array(4) {
["url"] => string(46) "/account/two-step/dbtech_security_authn/enable"
["referrer"] => string(68) "/account/two-step/dbtech_security_authn/enable"
["_GET"] => array(0) {
}
["_POST"] => array(7) {
["nickname"] => string(7) "natsume"
["publicKeyCredential"] => string(0) ""
["step"] => string(7) "confirm"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(46) "/account/two-step/dbtech_security_authn/enable"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}