From f9e3193cc843e1349e26769a462fa0e146cd3446 Mon Sep 17 00:00:00 2001 From: Giuseppe Lo Presti Date: Mon, 31 Aug 2026 17:24:33 +0200 Subject: [PATCH 1/2] Fixed example and tags --- IETF-OCM-IP.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/IETF-OCM-IP.md b/IETF-OCM-IP.md index a0233e6..fa4c067 100644 --- a/IETF-OCM-IP.md +++ b/IETF-OCM-IP.md @@ -1393,16 +1393,16 @@ the Receiving Server. The body is the Share Creation Notification with every `sharedSecret` removed (line breaks in the signature headers for display purposes only): -~~~ + POST /services/ocm/shares HTTP/1.1 Host: hub.example.org Date: Wed, 10 Jun 2026 14:00:00 GMT Content-Type: application/json Content-Digest: sha-256=:hj3LWOIuryd4XbzFhoHa6YMUbhtzMdMT3e9Bxpu2Lm0=: Content-Length: 542 -Signature-Input: ocm=("@method" "@target-uri" "content-digest" -"content-length" "date"); created=1781186400; -keyid="cloud.example.org#key1"; alg="ed25519" +"@signature-params": ("@method" "@target-uri" "content-digest" \ + "content-length");created=1781186400;\ + keyid="cloud.example.org#key1";alg="ed25519";tag="ocm" Signature: ocm=:[signature-value]: { @@ -1428,8 +1428,7 @@ Signature: ocm=:[signature-value]: } } } -~~~ -{: type="http"} + The Protocol Server stores the Share Record under (`cloud.example.org`, `7c084226-d9a1-11e6-bf26-cec0c932ce01`) and responds: From b45eb0611af7f3d07f137c8d164924ede6765ac5 Mon Sep 17 00:00:00 2001 From: Giuseppe Lo Presti Date: Mon, 31 Aug 2026 18:26:54 +0200 Subject: [PATCH 2/2] Fixed JSON commas --- IETF-OCM-MLS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IETF-OCM-MLS.md b/IETF-OCM-MLS.md index 00be728..7e4ab68 100644 --- a/IETF-OCM-MLS.md +++ b/IETF-OCM-MLS.md @@ -1586,10 +1586,10 @@ Each notification MAY include the optional `encryption` field: } }, "encryption": { - "resourceId": "3a02538b-aa54-42f2-8853-a38996e211b1" + "resourceId": "3a02538b-aa54-42f2-8853-a38996e211b1", "scheme": "ocm-mls", "ocm-mls": { - "cipher": "AES-256-GCM", + "cipher": "AES-256-GCM" } } }