From 83b398008a51cc93152723db25c9f19da3cf1ede Mon Sep 17 00:00:00 2001 From: Michael Richardson Date: Wed, 3 Jul 2024 16:55:45 -0400 Subject: [PATCH 1/2] updated agent-signed data. close #55 --- ietf-voucher-request.yang | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/ietf-voucher-request.yang b/ietf-voucher-request.yang index 38d4e6e..87c18a4 100644 --- a/ietf-voucher-request.yang +++ b/ietf-voucher-request.yang @@ -195,11 +195,16 @@ module ietf-voucher-request { leaf agent-signed-data { type binary; description - "The agent-signed-data field contains a JOSE [RFC7515] - object provided by the Registrar-Agent to the Pledge. + "The agent-signed-data field contains a data artifact provided + by the Registrar-Agent to the Pledge for inclusion into the + voucher request. - This artifact is signed by the Registrar-Agent - and contains a copy of the pledge's serial-number."; + This artifact is signed by the Registrar-Agent and should contains + data, which can be verified by the pledge and the registrar like a + copy of the pledge's serial-number. + + The format is intentionally defined as binary to allow + the document using this leaf to determine the encoding."; } leaf agent-provided-proximity-registrar-cert { From c390e4a9fb2527498ef29bcec27cfaea4bf0e41b Mon Sep 17 00:00:00 2001 From: Michael Richardson Date: Wed, 3 Jul 2024 16:57:51 -0400 Subject: [PATCH 2/2] revised according discussion --- ietf-voucher-request.yang | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/ietf-voucher-request.yang b/ietf-voucher-request.yang index 87c18a4..f3a0bfa 100644 --- a/ietf-voucher-request.yang +++ b/ietf-voucher-request.yang @@ -196,15 +196,16 @@ module ietf-voucher-request { type binary; description "The agent-signed-data field contains a data artifact provided - by the Registrar-Agent to the Pledge for inclusion into the - voucher request. + by the Registrar-Agent to the Pledge for inclusion into the + voucher request. - This artifact is signed by the Registrar-Agent and should contains - data, which can be verified by the pledge and the registrar like a - copy of the pledge's serial-number. + This artifact is signed by the Registrar-Agent and contains + data, which can be verified by the pledge and the registrar. + This data contains the pledge's serial-number and a created-on + information of the agent-signed-data. - The format is intentionally defined as binary to allow - the document using this leaf to determine the encoding."; + The format is intentionally defined as binary to allow + the document using this leaf to determine the encoding."; } leaf agent-provided-proximity-registrar-cert {