Transport, enrolment with the confirm route, token and state in payload-kv, rotation, the panel's state block, doctor rules, the fake service and the copied contract 1.5.0. Tests against the contract's runner and the fake. Docs and HTTP tests follow. Co-Authored-By: Claude Fable 5.2 <[email protected]>
37 lines
648 B
JSON
37 lines
648 B
JSON
{
|
|
"id": "enrol-short-nonce",
|
|
"title": "A short nonce is refused",
|
|
"given": {
|
|
"site": "none",
|
|
"listed": true,
|
|
"callback": "ok"
|
|
},
|
|
"request": {
|
|
"method": "POST",
|
|
"path": "/v1/enrol",
|
|
"headers": {
|
|
"content-type": "application/json"
|
|
},
|
|
"body": {
|
|
"host": "{{host}}",
|
|
"nonce": "short",
|
|
"product": "iapl",
|
|
"productVersion": "1.17.0"
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 400,
|
|
"schema": "Error",
|
|
"body": {
|
|
"ok": false,
|
|
"code": "invalid-request",
|
|
"field": "nonce"
|
|
}
|
|
},
|
|
"client": {
|
|
"retry": false,
|
|
"reEnrol": false,
|
|
"status": null
|
|
}
|
|
}
|