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/
43 stars 14 forks source link

Add clarifications to the metadata service tests #422

Closed yackermann closed 2 years ago

yackermann commented 5 years ago

Implementors seem to be getting confused about our test policy. Would be good idea to add clarifications.

aseigler commented 5 years ago

Speaking for myself, it would have made much more sense if instead of calling the metadata service test inputs "endpoints", they were referred to as custom metadata table of contents objects, which must be parsed per the metadata TOC object processing rules, with valid metadata statements stored in a dictionary. When the tests are run, that dictionary must be used when processing incoming attestation responses, with authenticators missing from the dictionary or having an undesirable authenticator status being rejected.

Figuring out that had to load the metadata statements from the conformance tool into that same dictionary without a TOC was much easier, but it still would be nice to have some direction for that as well.

bdewater commented 5 years ago

I found this to be quite confusing to implement with no documentation available, needing to use a combination of trial and error, and looking at how the .net library does certain things.

Did I miss anything? 😕 I looked here:

For https://github.com/cedarcode/webauthn-ruby I've arrived at something that does this: