prefiks / u2f4moz

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

Pass optional requestId back with responses #19

Open mnoorenberghe opened 8 years ago

mnoorenberghe commented 8 years ago

If a request object contains a requestId property:

the FIDO client MUST include its value the corresponding Response dictionary under the same key.

https://fidoalliance.org/specs/fido-u2f-v1.0-nfc-bt-amendment-20150514/fido-u2f-javascript-api.html#dictionary-request-members

mnoorenberghe commented 8 years ago

Oops, this is for the low-level API only. Do you plan to implement it as well?

prefiks commented 8 years ago

Probably yes, per spec that lowlevel API is required one, and window.u2f is optional, so to be compliant it should have it, but i won't probably hurry with this.