Add U2F support

This commit is contained in:
Jonas Lochmann
2022-09-22 08:47:06 +02:00
parent 04aa2ce517
commit 613776cbf9
64 changed files with 2501 additions and 134 deletions
+48
View File
@@ -70,6 +70,9 @@
"dh": {
"$ref": "#/definitions/ServerDhKey"
},
"u2f": {
"$ref": "#/definitions/U2fData"
},
"fullVersion": {
"type": "number"
},
@@ -933,6 +936,51 @@
"v"
],
"title": "ServerDhKey"
},
"U2fData": {
"type": "object",
"properties": {
"v": {
"type": "string"
},
"d": {
"type": "array",
"items": {
"$ref": "#/definitions/U2fItem"
}
}
},
"additionalProperties": false,
"required": [
"d",
"v"
],
"title": "U2fData"
},
"U2fItem": {
"type": "object",
"properties": {
"u": {
"type": "string"
},
"a": {
"type": "number"
},
"h": {
"type": "string"
},
"p": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"a",
"h",
"p",
"u"
],
"title": "U2fItem"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",