It seems (*and stated) that the FIDO Alliance has Standardization of network authentication
called “Challenge response method” for available FIDO servers providing different REST names.
and many copy preambles from other documents to wade through.
For example the Begin Registration for Yubion seems to be (after quality time tracing).
POST https://yubionfido2.azurewebsites.net/attestation/start Content-Type: application/json; charset=utf-8
payload:
{
"displayName": "richard redpath",
"username": "Redpath",
"attestation": "none",
"authenticatorSelection": {
"authenticatorAttachment": "",
"userVerification": "discouraged",
"requireResidentKey": false
}
}
and then a response is returned from the Server {
"rp": {
"id": "
yubionfidodemo.azurewebsites.net",
"name": "Fido2 Tutorial"
},
"user": {
"name": "Redpath",
"id": {},
"displayName": "richard redpath"
},
"challenge": {},
"pubKeyCredParams": [
{ "type": "public-key", "alg": -7 },
{ "type": "public-key", "alg": -257 },
{ "type": "public-key", "alg": -65535 },
{ "type": "public-key", "alg": -37 },
{ "type": "public-key", "alg": -35 },
{ "type": "public-key", "alg": -258 },
{ "type": "public-key", "alg": -38 },
{ "type": "public-key", "alg": -36 },
{ "type": "public-key", "alg": -259 },
{ "type": "public-key", "alg": -39 },
{ "type": "public-key", "alg": -8 }
],
"timeout": 60000,
"attestation": "none",
"authenticatorSelection": {
"requireResidentKey": false,
"userVerification": "discouraged"
},
"excludeCredentials": [],
"extensions": {
"example.extension.bool": true
},
"status": "ok",
"errorMessage": ""
}
I noticed the Challenge is not supplied.So what are the detailsfor this Payload information and configuration?
I need this document.For completeness the Yubion REST API is called to complete with a Payload constructed
from the Browser create function that uses an authenticator for a public key.
Of course details of this construction would be needed if I am supplying a public create
and building this payload.
POST
https://yubionfido2.azurewebsites.net/attestation/finish Content-Type: application/json; charset=utf-8
Payload
{
"rawId": "AYSlVxe_qEgKly2dw0mgVuKuQ8pQZfcbAo0ohf_ouzN65-a4PgPjezfPomTJvOw8dUpnem7w53L6i8B5arvmkPk",
"response": {
"attestationObject": "o2NmbXRkbm9uZWdhdHRTdG10oGhhdXRoRGF0YVjFE690Pi8lbHJkQnQBQikhio8YjkTLve2Lp4SiXO_FTwBFAAAAAAAAAAAAAAAAAAAAAAAAAAAAQQGEpVcXv6hICpctncNJoFbirkPKUGX3GwKNKIX_6LszeufmuD4D43s3z6JkybzsPHVKZ3pu8Ody-ovAeWq75pD5pQECAyYgASFYIMBcq2Q35ZitbQeAGjhK0OREMn70t569NDVFhq-0Ar0NIlgg4dm3UQKGZoUhdshonJfVomUX8bS-rxPDvkBBtZCAthw",
"getAuthenticatorData": {},
"getPublicKey": {},
"getPublicKeyAlgorithm": {},
"getTransports": {},
"clientDataJSON": "eyJ0eXBlIjoid2ViYXV0aG4uY3JlYXRlIiwiY2hhbGxlbmdlIjoiV3RVLS0zWk13NlJreW1TM2tpa1RjUSIsIm9yaWdpbiI6Imh0dHBzOi8veXViaW9uZmlkb2RlbW8uYXp1cmV3ZWJzaXRlcy5uZXQiLCJjcm9zc09yaWdpbiI6ZmFsc2V9"
},
"authenticatorAttachment": "cross-platform",
"getClientExtensionResults": {},
"id": "AYSlVxe_qEgKly2dw0mgVuKuQ8pQZfcbAo0ohf_ouzN65-a4PgPjezfPomTJvOw8dUpnem7w53L6i8B5arvmkPk",
"type": "public-key"