Re: [regext] Review of draft-ietf-regext-rdap-redacted-09

Jody Kolker <jkolker@godaddy.com> Fri, 02 December 2022 19:27 UTC

Return-Path: <jkolker@godaddy.com>
X-Original-To: regext@ietfa.amsl.com
Delivered-To: regext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 31AC7C14E514; Fri, 2 Dec 2022 11:27:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.886
X-Spam-Level:
X-Spam-Status: No, score=-1.886 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=secureservernet.onmicrosoft.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HzofCAxEbFzw; Fri, 2 Dec 2022 11:27:40 -0800 (PST)
Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2072a.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e83::72a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E1E88C14F719; Fri, 2 Dec 2022 11:27:39 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mxIylApgaGL6G3ldELy/0+fuUdXIolvCG4tYGrX4LWVXArHEAD1GfP2cXhq2ZjWeyg+JN46yrmzQIrDS41SBmiktgAcwKGwZl/DfjOQYehml7cRvg4hprp6OBi17tvIXPmWTeQFhe+ScbLAqwlK+yOOZfbyU45dLf5V6igKiFdzxrMhiPUbyNsWRy8HoHk8MjLLYylGkbYPFqukAIR5MEesTNs+vQFYwHO08DjxJiyVZVaIPSFJWZruKnqvADudkQZKewX20wrRe1X+eiQ97Fsyr6AUPAGkk73sitwkD01tvu+lh7c2nad+kOEKLcswmUvOhTBTd8K4Gf4WI7i73AA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PKTJbo26JjhoZTcaYJ9bNJi9+DYI2Z/E0zhwjDDiEGo=; b=b44dQUt7/Ge26CUyZV4skwQizEnF4nfZX195XD6eLqs0JWnqrwt6hTWmOFq7URRq8GvpjvOP8kGApJpfoH8YtVmgsmRGmBrrH1aI+IJLycuNDwdAhxAUOc893szeWN617sX1hGS9+qyk6LqMoIXXO3Q9lWAk/lm7xiZm6NSCeRjCNyN39u2o7ifK/S+iB/6S1x2+w6FGA/y3i2KXe/FKO5n1c+/CoYJ42KmXmxFf0JIfffaxJKpS9mJBA2yO9QDyUBVQuDwVMp0sll5T5QEfQ/+LJ8oVwJ6V5BvFNrwjWEJRc1tb8W1BX8kIZiZYcqoY/dRXyjACoj2W2z0PeYjXqA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=godaddy.com; dmarc=pass action=none header.from=godaddy.com; dkim=pass header.d=godaddy.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secureservernet.onmicrosoft.com; s=selector1-secureservernet-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PKTJbo26JjhoZTcaYJ9bNJi9+DYI2Z/E0zhwjDDiEGo=; b=moCGxfVoxure36Rt3tdVTf98tYRYI1wzfFFc5TkX0ZqsSVxAh5c+Qg0nkRtPsEuv5iYPbFU5xujQxe6XymGnx0wxOeQuMgNZsongDV9YLDXd1zbp8/xxtBNPlNaAT9zKrOxI9WOc5YcnMSUFpbnfFHQx1X24Asn16KQcb5uT7PA=
Received: from CH2PR02MB6357.namprd02.prod.outlook.com (2603:10b6:610:7::16) by CY8PR02MB9058.namprd02.prod.outlook.com (2603:10b6:930:91::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.23; Fri, 2 Dec 2022 19:27:36 +0000
Received: from CH2PR02MB6357.namprd02.prod.outlook.com ([fe80::e730:5c9e:190a:a66d]) by CH2PR02MB6357.namprd02.prod.outlook.com ([fe80::e730:5c9e:190a:a66d%6]) with mapi id 15.20.5857.023; Fri, 2 Dec 2022 19:27:35 +0000
From: Jody Kolker <jkolker@godaddy.com>
To: Pawel Kowalik <kowalik@denic.de>, "Gould, James" <jgould@verisign.com>, "draft-ietf-regext-rdap-redacted@ietf.org" <draft-ietf-regext-rdap-redacted@ietf.org>
CC: "regext@ietf.org" <regext@ietf.org>
Thread-Topic: Review of draft-ietf-regext-rdap-redacted-09
Thread-Index: AQHZAKKTitvySrY2QEO4ew/e4Bv0Aq5bBWLg
Date: Fri, 02 Dec 2022 19:27:35 +0000
Message-ID: <CH2PR02MB6357E098C38E2F882AB1C336BF179@CH2PR02MB6357.namprd02.prod.outlook.com>
References: <43919685-F588-4B05-AC6B-7AD0BD263FAB@verisign.com> <210384dc-7a4f-84c3-0990-c50486e598f5@denic.de>
In-Reply-To: <210384dc-7a4f-84c3-0990-c50486e598f5@denic.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=godaddy.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: CH2PR02MB6357:EE_|CY8PR02MB9058:EE_
x-ms-office365-filtering-correlation-id: 871411cb-2bc6-4e08-3707-08dad49b4465
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: vyWSt4yuo3todvc8yNVWzlVg8WAS/pbGh3aSZlCFRgCD6C/335Nq2qrqoNITXAHnxKN2gHoXDKGDaIhizFBqq/xOihZE76gU+8LPLlaVGDsQgB8rodQyu5Do9wiEfroC5KQ8iU/fCA4p9o5GgF22EldacsTrwYA3yKhMICIti/6zrTxS14MjfQTxC/EhO5iu4FbBn5aDu6eR/fbRacFPN733rSltd9mM4aXbf6JyOcLMPRTXR1FLRMGINTpBIQcr2+OhamOkfK4YcnqMoGFuyEmIWhtbd9OkO3CWdwnrJJVHvTRAC8flQ2S38hYYndRX7gC8zBhyoCjD3oUsqaOpKT+8Pk+Z31FjDPcRJyNJtp6tUOf6orKUdeX/QcOoK8+qxL8dF80SvqaR0nuovwfqbpmt9QQjlv2sANRPhRn3HeMM/BFhfEHN43BEMQyJyIbWBe3dTMyjtRyxNMCKprvfXqeVumIsIhXRCOAbWZDtkSp+SM5wklYTe/mV0fK1pJuqZGa7pkKi5pvzFvkFlz+/N8tShH9Ish9b+ZajwGmFjQ685WUpTN8O5QRAxbqiintrwdc1lOMNBDTXkuSipuzsUvXp9Aqwj26uEq4FMK9+xaawt71bt/2aHey0ntlHCM6LlIw6O1qXfsHCZUgaLzHZiqDJYeFetqVNywCAmY+2bZFw388JRSoSn376d/JV2VPgBbrvFLcYGtnwvVbjBu4ipye51TbjZQwhdhXqqUSCpuo=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR02MB6357.namprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(376002)(346002)(396003)(136003)(39860400002)(366004)(451199015)(41300700001)(2906002)(83380400001)(66556008)(4326008)(30864003)(5660300002)(52536014)(6506007)(186003)(66446008)(33656002)(38070700005)(86362001)(99936003)(55016003)(40140700001)(38100700002)(8936002)(66476007)(122000001)(64756008)(53546011)(26005)(55236004)(7696005)(316002)(110136005)(478600001)(8676002)(66899015)(9686003)(66946007)(71200400001)(166002)(76116006); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: dUhAGUiJ9QiwcPDEwhbqFTwPr+Iszymo8lz3Y+2Hni5TP75WYjhZ8Hf6jQvfCLYZmFgirgIJxN5D3GaYLgoKKb0m9P32Ij0eZSPTL/N02TdG5/Lsz7Ab8NNQTzZdlVbDnwGi+vh9N2Xkps9ITaCy2QJwTKapJ4Q+cV7I6J8JCkfNNfHmqHBdYlt4diRQg0Wx5K8RJIYVQVHID815CUSrvurIh3KcDGfTfW3gYs3FnE1Ekt7+a3mWtkOnE4SUVVwnabjnoeriz2mNQanz945dqvj8A9aoIcYSynqnfTMFYOzO4uAG5at5D3p1I3ZdNR6cr46jYYjPRqE4cSu7TG8wE7uyO2eI8pmCM1NYNd2FrEwYXtfCTE7UYgt6s680ZB3gW8Vbq2lyED6P7iiJAwo6piTdkIDjFUBHM8Z5YIECS2KKVQxDTsu5MsZi0AjzB+n9SmJQN4Zxug7Z1k8QkZEfil1as+seVm1ircBZr4mAt1GYSt7yQTUrSqJZYXrcZucRZrr8nQpQvC5797Z4x59J9/RoEFh4ygdwnCB2sC06fS3LI/acqoPgrrpLAg/RlNwN/45eeMwcpSc2Qun52vrdmZhshBtZMmCRDEsygI66iohKXW8Q/fycNnIrJCqeWGaYJJ8opLQZXUxru1AEbwfhU6gxJsCLF7VzMrDObZx5ufR+wAmdxHRWFYL8/uW8EjmDcyhXjJqdm1Qggzu/kI4KtFen9vAb8JVglNkflp9zWDIochopixo/Lf839jtpz3oVNG/kBzCPyHDXMvLbdstvLlVjZGxNNOcWyvo9BiE4lr9QbcV18nv+2ON4zrfZleWXarPWlKFEurX0e6RV0XMSyZBwOEbpwIfJ7SBRH84ZvBr32BYgawIwibZqdZdcgw+651E7asIZO4yvNRIPy39rxrH7Aanoj3/W1OFiz7mu12Fx250oloE3m+90T+9KXObtI19VtRv6ndewwkZcWfr7N2LXTx4OAhdP+aZSivjOQrYxeHN8YJIwui6eaP5wJfnK7YVrqbybKD/9ycMM97RJWXuTJUc3lFxwBcESpHKuq7kMvjT/0oKhzFL/+sEsnNdH4HqhURCGn0kJFyGbfBRwgkieoLXjjLENNHKqbZsYwbO6rJ9WA2ZjhfeFUDLxVN5U7Gw4EIEbXTg3PWWD5bqKkR4FD/39ptfQhQVKhEMvZpHiO0lhSZZoIgMF2YFYZhJONjjuQNN9sxtgY9Ha2Mz6q+xDpwMzx/NEVXZDDP4F5j0wJyvC5zDzbXNiTcgSR5tMzPim161me7WRgO3sbcTKP7GHe7Wc1prIrWuyda9dylq7V+KdsTuqi9u6Xey5F0i6qV16sa3i3Py+gRjilTyIJxyRwMNlsfxwZnr31X96ZOLZD31EUPr/c91ryAdqM6sXW7kuTEBgvu45zu7ntu5yQbII0txmS8rWOPKDgfLhpAcWaZM8FjW88fUo5BQi/m+ROziLKpzFeWFMp3aZ46hGh/+Rpd1EEsjsjht14+kxg1/OSB9/SXiiKmZbaycP2QR+VMwQUE1hEvbGW8rNif+/scvAOcxl0MvnNPBNmjiyUF0FWxo/iBzN66IwptWXhCX6
Content-Type: multipart/related; boundary="_004_CH2PR02MB6357E098C38E2F882AB1C336BF179CH2PR02MB6357namp_"; type="multipart/alternative"
MIME-Version: 1.0
X-OriginatorOrg: godaddy.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CH2PR02MB6357.namprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 871411cb-2bc6-4e08-3707-08dad49b4465
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Dec 2022 19:27:35.8224 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: d5f1622b-14a3-45a6-b069-003f8dc4851f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: pBPLc0Ny1U3QzEShgaf3mynPNqVYtwkEzksJE2cfSp9j7froi4hAWcT0ZvYznoLuPVofhNB6EtDwixW6JjeEiw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR02MB9058
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/cD4bLnKCvd5S9g3Lug0-KiVLXCg>
Subject: Re: [regext] Review of draft-ietf-regext-rdap-redacted-09
X-BeenThere: regext@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Registration Protocols Extensions <regext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/regext>, <mailto:regext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/regext/>
List-Post: <mailto:regext@ietf.org>
List-Help: <mailto:regext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/regext>, <mailto:regext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Dec 2022 19:27:44 -0000

My preference would be that if the server is supporting this draft that placeholder text is not allowed to be returned for any redacted field.  I'm not sure what a transition period would look like.  It seems to me that a server is either supporting the draft with an "rdapConformance" value of "redacted" or it's not supporting the draft and does not return the "redacted" value in the "rdapConformance" value.  If "redacted" is returned, placeholder text should not be used.

I would support option #1 without a transition period.  Servers are free to continue with the responses used today that do not include the "redacted"  "rdapConformance" value if the server is returning placeholder text.  One the draft is supported without placeholder text, the "redacted" "rdapConformance" value can be returned in the responses.

However, I can live with Option #3 where the RFC acknowledges that placeholder text has been used in the past.

Thanks,
Jody Kolker.

From: Pawel Kowalik <kowalik@denic.de>
Sent: Friday, November 25, 2022 1:50 AM
To: Gould, James <jgould@verisign.com>; draft-ietf-regext-rdap-redacted@ietf.org
Cc: regext@ietf.org
Subject: Re: Review of draft-ietf-regext-rdap-redacted-09

Caution: This email is from an external sender. Please do not click links or open attachments unless you recognize the sender and know the content is safe. Forward suspicious emails to isitbad@.



Hi James,



Thanks for that.

My preference would be 3 or 4, to focus the draft on signaling, allowing the clients to recognize redacted fields.



Kind Regards,

Pawel


Am 23.11.22 um 16:57 schrieb Gould, James:
Pawel,

I add responses embedded below with "JG4 - ".

For the WG, I'm including one discussion topic at the top for consideration:


Section 3 currently states "The use of placeholder text for the values of the RDAP fields, such as the placeholder text "XXXX", MUST NOT be used for redaction."  Pawel raised an issue with the MUST NOT language and proposed to use SHOULD NOT.  I view the use of placeholder text redaction as an anti-pattern that should be disallowed when implementing draft-ietf-regext-rdap-redacted, but I do recognize the potential need for a transition period.  I summarize the options below:



1.  Keep MJST NOT with Transition Period - Formally define the transition period that is based on server policy in a new Transition Considerations section.

2.  Change MUST NOT to SHOULD NOT - This enables the draft to recommend that placeholder text not be used for redaction, but still enable the server to support it in parallel with the redaction methods defined in the extension.

3.  Remove the normative language - Change "The use of placeholder text for the values of the RDAP fields, such as the placeholder text "XXXX", MUST NOT be used for redaction."  To "The use of placeholder text for the values of the RDAP fields, such as the placeholder text "XXXX", has been used for redaction.  ...".

4.  Remove reference to placeholder text use for redaction - Just lead section 3 with the sentence "This section covers the redaction methods that can be used with the redaction signaling defined in Section 4.2<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-regext-rdap-redacted%23section-4.2&data=05%7C01%7Cjkolker%40godaddy.com%7C03bdff32aeb64d19ef4308daceb9b1ca%7Cd5f1622b14a345a6b069003f8dc4851f%7C0%7C0%7C638049594251190871%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=V%2BP67JW8FHgh2fmp3u3peTK27KTc%2BMeOMQ6zIQcI8j8%3D&reserved=0>.".



Please respond to the mailing list with your thoughts on the options or if you have any additional options.   My preferred option is option 1 "Keep MJST NOT with Transition Period".



Thanks,

--

JG

[cid:image001.png@01D90651.D5D7D630]

James Gould
Fellow Engineer
jgould@Verisign.com<applewebdata://13890C55-AAE8-4BF3-A6CE-B4BA42740803/jgould@Verisign.com>

703-948-3271
12061 Bluemont Way
Reston, VA 20190

Verisign.com<https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fverisigninc.com%2F&data=05%7C01%7Cjkolker%40godaddy.com%7C03bdff32aeb64d19ef4308daceb9b1ca%7Cd5f1622b14a345a6b069003f8dc4851f%7C0%7C0%7C638049594251190871%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=fP1nLiTs%2FEs8%2FG5T0nuXDr7B15JQ0%2BykFbmrJd4rMYY%3D&reserved=0>

From: Pawel Kowalik <kowalik@denic.de><mailto:kowalik@denic.de>
Date: Wednesday, November 23, 2022 at 9:23 AM
To: James Gould <jgould@verisign.com><mailto:jgould@verisign.com>, "draft-ietf-regext-rdap-redacted@ietf.org"<mailto:draft-ietf-regext-rdap-redacted@ietf.org> <draft-ietf-regext-rdap-redacted@ietf.org><mailto:draft-ietf-regext-rdap-redacted@ietf.org>
Cc: "regext@ietf.org"<mailto:regext@ietf.org> <regext@ietf.org><mailto:regext@ietf.org>
Subject: [EXTERNAL] Re: Review of draft-ietf-regext-rdap-redacted-09


Hi James,

My comments below.
Am 23.11.22 um 14:17 schrieb Gould, James:
[...]

JG3 - What triggered the creation of this extension was a proposal to use placeholder text for redaction, which in my opinion is an anti-pattern that needs to be directly addressed.  I believe that you see the need to support a transition period that would be up to server policy.  See my comment below related to creating a Transition Considerations section to make this explicit.  The draft can define the methods for redaction, disallow the use of placeholder text for redaction outside of a transition period, and add explicit support for a transition period with a set of considerations.  Does this meet your needs?

[PK3] OK, please include also this part in the Abstract and Introduction, that the draft also defines certain rules for redaction to mitigate the anti-patterns, if there is a consensus in WG to mandate how redaction is done.



JG4 - I'm raising the options for discussion in the WG to hopefully find a consensus option.

Populating the existing value with a static placeholder value as a signal for redaction is different from what is defined for the "Redaction by Replacement Value Method", which changes the value to a non-static value or moves the location of the value.
[PK2] I believe it should be perfectly valid to replace one email with another email (for example privacy proxy email) without moving it, shouldn't it? For me it would be "Redaction by Replacement Value Method" where both paths are same.



JG3 - Yes, use of a privacy proxy email is a form of "Redaction by Replacement Value Method", since the real value is not being provided but a replacement value is being used instead.  In this case the "method" value is "replacementValue" and the "replacementPath" is not used.  Does this need to be clarified in the draft, since the intent is to support replacing the value in place or replacing the value using an alternate field, such as the replacement with the "contact-uri" property?
[PK3] Now I see it from examples that replacementPath might be omitted. It would be good to have some normative text defining that.


JG4 - Ok, I'll look to add clarification text.

[...]

JG3 - Ok, that helps.  I believe the biggest issue from a client perspective is when they expect a non-empty value, and the server implements the Redaction by Empty Value Method and then returns an empty value.  The use of the placeholder redaction text can be used in parallel with draft-ietf-regext-rdap-redacted during a transition period.  The duration of the transition period would be up to server policy.  What I don't want to introduce is parallel forms of redaction for beyond a transition period.  How about including the definition of a transition period in a Transition Considerations section and updating the MUST NOT language to "The use of placeholder text ... MUST NOT be used for redaction outside of a transition period defined in Section X . In the Transition Considerations section, it can define that placeholder redaction text may exist and may overlap with this extension during a transition period that is up to server policy.  Then there can be a set of considerations for the server and client in making the transition.  I believe this would address the transition more explicitly and leave the timing of the transition up to server policy.  Do you agree?

[PK3] If the WG is in consensus to keep "MUST NOT" then Transition Considerations is a good way to cover the smooth transition.

JG4 - I'm raising the options for discussion in the WG to hopefully find a consensus option.



[...]

    Another approach would be to define a way of interpreting the JSONPath

    so that it is reversible or even defining a subset of JSONPath which is

    reversible in the narrower RDAP context.



JG2 - I'm not sure what is meant by JSONPath that is reversable.  I believe that JSONPath needs to be used as defined.
[PK2] Reversable means that you can unambiguously re-create the original object structure based on the path. Normalized JSONPath have this property (see 2.8 of JSONPath draft) but may not be the best in case of array members identified by a property value of array member, like in jCard. The expressions like $.entities[?(@.roles[0]=='registrant')] can be also reversible, but this is not true for just any JSONPath expression. If we would define a narrowed down definition of JSONPath expressions which are allowed, we could achieve the property of reversibility and maybe even that one kind of object or property would have exactly one and only possible JSONPath describing it. Again - it's just an idea how to deal with removed paths. It may be also not worth following if we assume "redacted name" would be the leading property (see below).

JG3 - Thanks for the reference, I'll review it and see whether something can be used.  My initial thought is that it's going to be too complex and won't cover the broad set of use cases in RDAP.  Right now, we'll assume that it can't be used in draft-ietf-regext-rdap-redacted, but it's being reviewed.





    In the end, implementing a client, I would rather want to rely on the

    "redacted name" from the "JSON Values Registry" for paths which have

    been deleted, and treating the path member as only informative.



    If you agree for such processing by the client I suggest to put it down

    in the chapter 5 (maybe splitting it into server and client side).



JG2 - From a client perspective, I believe I would first key off the "redacted name" to route my display logic and then I would utilize a template RDAP response overlaid with the actual response and the JSONPath to indicate the redacted values.  It would be nice to hear from some clients on this to identify useful client JSONPath considerations.
[PK2] If I would be implementing the client likely I will do exactly this.



JG3 - Ok, the "JSONPath Considerations" section will have two subsections of "JSONPath Client Considerations" and "JSONPath Server Considerations", where the above will be the starting JSONPath client consideration.  How about the JSONPath Client Consideration:

When the server is using the Redaction By Removal Method<file:///Users/jgould/projects/github/rdap-redaction/draft-ietf-regext-rdap-redacted.html#redaction-removal> (Section 3.1<file:///Users/jgould/projects/github/rdap-redaction/draft-ietf-regext-rdap-redacted.html#redaction-removal>) or the Redaction by Replacement Value Method<file:///Users/jgould/projects/github/rdap-redaction/draft-ietf-regext-rdap-redacted.html#redaction-replacement-value> (Section 3.3<file:///Users/jgould/projects/github/rdap-redaction/draft-ietf-regext-rdap-redacted.html#redaction-replacement-value>) with an alternate field value, the JSONPath expression of the "path" member will not resolve successfully with the redacted response. The client can first key off the "name" member for display logic and utilize a template RDAP response overlaid with the redacted response to successfully resolve the JSONPath expression.
[PK3] OK





[...]



JG2 - Your reference to $.entities[0] is an example of an element in an array, but its' not referring to a fixed field position of a fixed length array, such as the case for redacting the "fn" jCard property.  There is no intent to block all cases of redacting objects via the use of an array position.  Is there better language than "using the fixed field position of a fixed length array" to provide the proper scope?

OK, now I get it. My proposal would be: "The Redaction by Removal Method MUST NOT be used to remove an element of an array where position of the elements in the array determines semantic meaning of the element."

JG3 - Just a tweak, how about "The Redaction by Removal Method MUST NOT be used to remove an element of an array where the position of the element in the array determines semantic meaning."?

[PK3] Thanks.

Kind Regards,

Pawel