From 70ed90e9ccbeb2f1a2cbc991147a32b09b2e3632 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Wed, 29 Nov 2023 12:24:09 -0800 Subject: [PATCH] =?UTF-8?q?Add=20informative=20text=20about=20raising=20an?= =?UTF-8?q?=20exception=E2=80=A6=20(#189)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add informative text about raising an exception and terminating early if a poison dataset is detected. Fixes #186. --------- Co-authored-by: Ted Thibodeau Jr Co-authored-by: Jeffrey Yasskin --- spec/index.html | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/spec/index.html b/spec/index.html index 5521141..8fc6f24 100644 --- a/spec/index.html +++ b/spec/index.html @@ -658,7 +658,9 @@

Blank Node Identifier Issuer State

Canonicalization Algorithm

The canonicalization algorithm converts an input dataset - into a canonicalized dataset. This algorithm will assign + into a canonicalized dataset or raises an error if + the input dataset is determined to be overly complex. + This algorithm will assign deterministic identifiers to any blank nodes in the input dataset.

@@ -1055,7 +1057,8 @@

Algorithm

The following algorithm will run with a minimal number of iterations in each step for typical input datasets. In some extreme cases, the algorithm can behave poorly, particularly in Step 5. - Implementations MUST prevent against potential denial-of-service attacks. + Implementations MUST defend against potential denial-of-service attacks + by raising suitable exceptions and terminating early. See for further information.

Implementations can consider placing limits on the number of @@ -3718,6 +3721,16 @@

Changes since the First Public Working Draft of 24 November 2022

+
+

Changes since the Candidate Recommentation Snapshot of 31 October 2023

+
    +
  • + Clarified that detecting a poison dataset will result in an exception and early + termination of the Canonicalization Algorithm. +
  • +
+
+

Acknowledgements