author J.C. Jones <jjones@mozilla.com>
Thu, 28 Sep 2017 16:04:10 -0700
changeset 434488 cfde20f68c1fa8cfdb09fc8d3dc996a3f9a94b3e
parent 348206 3ec6380fca8207fa199693206a3ca24975bf9833
permissions -rw-r--r--
Bug 1403279 - Set U2F version field on RegisterResponse. r=keeler, a=sledru The U2F specification defines the RegisterResponse.Version field as being set to "U2F_V2" [1] on successful registrations, which we appear to have overlooked. This sets the field and adds a few checks to the register test. [1] https://www.fidoalliance.org/specs/fido-u2f-v1.1-id-20160915/fido-u2f-javascript-api-v1.1-id-20160915.html#idl-def-RegisterResponse MozReview-Commit-ID: 9YqhM0x9itd

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.