From 8de8943012219adcf1e5364ddf5c7dd9aa369f2c Mon Sep 17 00:00:00 2001 From: Andreas Kretschmer <38779775+Akretsch@users.noreply.github.com> Date: Thu, 18 Jan 2024 09:42:28 +0100 Subject: [PATCH 1/3] Update components.yaml Align schema to current implementatio --- api/challenge-response/schemas/components.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/challenge-response/schemas/components.yaml b/api/challenge-response/schemas/components.yaml index 70db188..c6b69c0 100644 --- a/api/challenge-response/schemas/components.yaml +++ b/api/challenge-response/schemas/components.yaml @@ -46,7 +46,7 @@ components: description: > the submitted attestation Evidence result: - $ref: '#/components/schemas/AttestationResult' + type: string description: > the computed Attestation Result From 04b0a2e56994853136524a184438c953bd23c708 Mon Sep 17 00:00:00 2001 From: Andreas Kretschmer <38779775+Akretsch@users.noreply.github.com> Date: Tue, 23 Jan 2024 10:50:33 +0100 Subject: [PATCH 2/3] Document changes --- api/challenge-response/schemas/components.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/challenge-response/schemas/components.yaml b/api/challenge-response/schemas/components.yaml index c6b69c0..653e2ed 100644 --- a/api/challenge-response/schemas/components.yaml +++ b/api/challenge-response/schemas/components.yaml @@ -48,7 +48,8 @@ components: result: type: string description: > - the computed Attestation Result + the computed Attestation Result wrapped as payload in an JWS. + The wrapped Attestation Result is of type '#/components/schemas/AttestationResult' EvidenceContentType: type: string From 674219685ad0ff12426585e283ea8b92a0d3931f Mon Sep 17 00:00:00 2001 From: Thomas Fossati Date: Thu, 22 Aug 2024 22:31:30 +0200 Subject: [PATCH 3/3] the attestation result is encoded as an EAR --- api/challenge-response/schemas/components.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api/challenge-response/schemas/components.yaml b/api/challenge-response/schemas/components.yaml index 653e2ed..3feb978 100644 --- a/api/challenge-response/schemas/components.yaml +++ b/api/challenge-response/schemas/components.yaml @@ -48,8 +48,9 @@ components: result: type: string description: > - the computed Attestation Result wrapped as payload in an JWS. - The wrapped Attestation Result is of type '#/components/schemas/AttestationResult' + The computed Attestation Result encoded as an EAR + (https://datatracker.ietf.org/doc/draft-fv-rats-ear) using the JWT + serialization. EvidenceContentType: type: string