u2f4moz icon indicating copy to clipboard operation
u2f4moz copied to clipboard

Version field included in RegistrationRequest?

Open justinmayer opened this issue 7 years ago • 2 comments

When using this add-on with Firefox 52 to add a U2F device to the demo web application provided by django-u2f, an error is raised due to a missing required version field.

I filed an issue report in order to learn more about the error, and the django-u2f project author raised the question as to whether the U2F specification considers version to be a required field. As far as I can tell by looking at the specification, it appears that version is indeed intended to be a required field in the context of a RegistrationRequest: https://fidoalliance.org/specs/fido-u2f-v1.1-id-20160915/fido-u2f-javascript-api-v1.1-id-20160915.html#u2f-operations

If that is the case, I have two questions:

  1. Is this add-on not currently including a version field in its request when adding a device?
  2. If not, do you think a version field could be added to registration requests?

justinmayer avatar Jun 19 '17 18:06 justinmayer

Hi @prefiks. Do you think you could take a moment to share your thoughts regarding this issue?

justinmayer avatar Jul 19 '17 18:07 justinmayer

As far as I understand the code, the problem lies in the libu2f-host. It does not reply with the version.

baloo avatar Jul 29 '17 09:07 baloo