fido-alliance / conformance-test-tools-resources

Certification Test Tools Resources. For security and privacy related issues email tools@certification.fidoalliance.org
https://fidoalliance.org/certification/functional-certification/conformance/
40 stars 14 forks source link

Javascript error in Authr-Generic-1 Generic FIDO protocol tests #690

Closed serianox closed 1 year ago

serianox commented 1 year ago

By submitting this issue you are acknowledging that any information regarding this issue will be publicly available.

If you have privacy concerns, please email conformance-tools@fidoalliance.org

FIRST PRE CHECK

What protocol are you implementing?

NOTE: UAF 1.0 certification have been officially sunset. U2F 1.2 only supported version of U2F.

What is your implementation class?

If you are platform authenticator vendor, please email conformance-tools@fidoalliance.org

What is the version of the tool are you using?

v1.7.6

What is the OS and the version are you running?

For desktop tools

For UAF mobile tools

Issue description

When running Authr-Generic-1 Generic FIDO protocol tests P-1, test crash with

TypeError: Cannot read property '4' of undefined

Issue lies in CTAP2/Protocol/Authr-Generic-1.js#L103 where getInfo_response is unbound and gotGetInfo is probably what the tester meant.

if(getInfo_response[GetInfoRespKeys.options] !== undefined) {
yackermann commented 1 year ago

Fixed in https://builds.fidoalliance.org/Desktop%20UAF%20FIDO2%20U2F/v1.7.9/