prefiks / u2f4moz

U2F support extension for Firefox
GNU Lesser General Public License v2.1
197 stars 15 forks source link

Support for version 1.1 of the API seems missing #45

Closed elouet closed 7 years ago

elouet commented 7 years ago

The way I understand this extension's code is that it is not compatible with applications expecting FIDO U2F version 1.1 API (passing a single appID/challenge and multiple keyHandles in the same call). This makes website development more difficult, because the code to run on Chrome and Firefox will have to be different.

prefiks commented 7 years ago

Indeed looks like current version doesn't handle that properly, i will try to add that to next version.

raupachz commented 7 years ago

I just tried with FIDO U2F version 1.1 API and the add-on works. Used the u2-api.js from Google. https://github.com/google/u2f-ref-code/blob/master/u2f-gae-demo/war/js/u2f-api.js

prefiks commented 7 years ago

I forgot that i added compatibility code for 1.1 version some time ago, current version should be able to accept both old and new call signatures to u2f.sign and u2f.register.