Re: [regext] RDAP queries based on redacted properties

"Gould, James" <jgould@verisign.com> Mon, 09 January 2023 17:08 UTC

Return-Path: <jgould@verisign.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 EC2ABC1524CC for <regext@ietfa.amsl.com>; Mon, 9 Jan 2023 09:08:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.396
X-Spam-Level:
X-Spam-Status: No, score=-4.396 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 (2048-bit key) header.d=verisign.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 89vBnZhcQpkp for <regext@ietfa.amsl.com>; Mon, 9 Jan 2023 09:08:06 -0800 (PST)
Received: from mail1.verisign.com (mail1.verisign.com [72.13.63.30]) (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 1ECD3C1524BA for <regext@ietf.org>; Mon, 9 Jan 2023 09:08:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verisign.com; l=11228; q=dns/txt; s=VRSN; t=1673284086; h=from:to:cc:subject:date:message-id:content-id: content-transfer-encoding:mime-version; bh=jB/KUZkXGqd35fAgyj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6A2rb84guFCC4DVDEpVTA9nMUsQ2U10 FKZx4qsHiJ19riUUjeX8fGetzXrfzYPNmlEbigBJecY3+TeTEgIpkqnZr5e/GSd17UZxRmYL +i2kRUD
IronPort-HdrOrdr: A9a23:+II6CKr6o4Ze+oIgiBW59wYaV5r2eYIsimQD101hICG9Ffbo8v xG/c5rtyMc5wxwZJhNo7690cq7Lk80nKQdibX5Vo3SPzUO1lHIEKhSqaXvxDH6EzDz+6p3xc 5bH5RWOZnVAUJhhcj3pCu1A78bquWvweSNif3Fx3lgCTt2bbpthj0VNi+AHlZoSBJ9CZ01KZ qZ6qN8zAadRQ==
X-IronPort-AV: E=Sophos;i="5.96,311,1665446400"; d="scan'208";a="23395456"
Received: from BRN1WNEX01.vcorp.ad.vrsn.com (10.173.153.48) by BRN1WNEX01.vcorp.ad.vrsn.com (10.173.153.48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Mon, 9 Jan 2023 12:08:04 -0500
Received: from BRN1WNEX01.vcorp.ad.vrsn.com ([10.173.153.48]) by BRN1WNEX01.vcorp.ad.vrsn.com ([10.173.153.48]) with mapi id 15.01.2507.016; Mon, 9 Jan 2023 12:08:04 -0500
From: "Gould, James" <jgould@verisign.com>
To: "andy@hxr.us" <andy@hxr.us>
CC: "mario.loffredo@iit.cnr.it" <mario.loffredo@iit.cnr.it>, "regext@ietf.org" <regext@ietf.org>
Thread-Topic: Re: [regext] RDAP queries based on redacted properties
Thread-Index: AQHZJEzvcTAQ1KdNBkyZTpUupQVN5Q==
Date: Mon, 09 Jan 2023 17:08:04 +0000
Message-ID: <B0B78859-8304-40FA-931E-05FFFF80BFCC@verisign.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.66.22101101
x-originating-ip: [10.170.148.18]
Content-Type: text/plain; charset="utf-8"
Content-ID: <AEEF037FC90A9545A65E0FF06124A79A@verisign.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/5jTjk7CuzA8Qsvr6VS8eyH8MkI8>
Subject: Re: [regext] RDAP queries based on redacted properties
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: Mon, 09 Jan 2023 17:08:11 -0000

I'm getting a little confused, where the ability to redact a field like the mandatory "uid" field in draft-ietf-calext-jscontact and indirectly in draft-ietf-regext-rdap-jscontact is needed for privacy reasons.  It is up to server policy related to whether to include the "uid" field in the domain response, entity query, and entity response, which should not be dictated by the protocol.  The base specification or specifications need to be less strict on the definition of a field such as the "uid" field to support the use of those specifications downstream.  In this case, RDAP is the downstream protocol that needs to support redaction of the "uid" field, since it's defined as being the same as the "handle" field of jCard.  My recommendation is to make the "uid" a SHOULD or MAY in draft-ietf-calext-jscontact that doesn't seem desired by CALEXT or have draft-ietf-regext-rdap-jscontact override it to make it optional in RDAP to support the known redaction use case.

-- 
 
JG



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 <http://verisigninc.com/>

On 1/9/23, 11:56 AM, "Andrew Newton" <andy@hxr.us> wrote:

    IMHO, James is right. Redaction of handles and correlations to them
    need to be supported. The fact that they are optional in the base spec
    is very deliberate. And entities show up in the results of other
    queries, not just entity lookups.

    The privacy issue, as I understand it, is that if an entity from one
    response can be cross-reference through a handle or UUID to an entity
    on another response, that is a privacy leak.

    My sense is that JSContact needs the "uid" property for some sort of
    contact correlation by a user agent, which in some contexts is
    something an RDAP policy might want to prevent. Maybe a compromise is
    to invent a known ephemeral identifier for the "uid" property, which
    would allow RDAP policy to meet whatever privacy context is needed but
    also signal to the user agent that the "uid" is not very useful.
    (maybe use the data: URI).

    -andy


    On Mon, Jan 9, 2023 at 7:29 AM Gould, James
    <jgould=40verisign.com@dmarc.ietf.org> wrote:
    >
    > Mario,
    >
    >
    >
    > My responses are embedded below.
    >
    >
    >
    > --
    >
    >
    >
    > JG
    >
    >
    >
    >
    > James Gould
    > Fellow Engineer
    > jgould@Verisign.com
    >
    > 703-948-3271
    > 12061 Bluemont Way
    > Reston, VA 20190
    >
    > Verisign.com
    >
    >
    >
    > From: Mario Loffredo <mario.loffredo@iit.cnr.it>
    > Date: Sunday, January 8, 2023 at 8:38 AM
    > To: James Gould <jgould@verisign.com>, "regext@ietf.org" <regext@ietf.org>
    > Subject: [EXTERNAL] Re: [regext] RDAP queries based on redacted properties
    >
    >
    >
    > Hi James,
    >
    > please find my comments below.
    >
    > Il 06/01/2023 14:54, Gould, James ha scritto:
    >
    > Mario,
    >
    >
    >
    > The JSContact "uid" and the jCard "handle" may be redacted in the entities member of a domain query response, where the entity is returned as a sub-object.  Redaction of the JSContact "uid" and the jCard "handle" in the domain query response doesn't impact the query at all.  I don't believe it makes much sense to redact the lookup key (JSContact "uid" and the jCard "handle") for an object in the case of an entity query.
    >
    > Think that, at least in theory, such a policy may result in a privacy bug.
    >
    > Given that the entity handle must be the same when the entity is included in both a domain query response and an entity query response, if one was able to discover the method used to assign handle values to entities, he would also be able to desume a possible redacted value by submitting a an entity lookup and receiving a valid response.
    >
    > Obviously, in practice, the RDAP server can implement some stategies to operate consistently such as making the entity lookup to return an error when the handle is redacted somewhere in an RDAP response as well as allowing the entity lookup only to those users who can access the entity handle.
    >
    > But, without a clarification in that sense, redacting the entity handle depending on the entity role in domain query responses and, at the same time, allowing the entity lookup to everyone appear to me two inconsistent statements.
    >
    > JG – I’m not advocating for redaction of the entity handle in the domain response or the entity response but bringing up the possibility that it may be redacted in the domain response per the draft RDAP Profile.  Considering that there is a known use case that the “uid” will be redacted, it’s important for draft-ietf-regext-rdap-jscontact directly or indirectly via the use of draft-ietf-calext-jscontact to make it required.
    >
    >
    >
    > This is one reason that the draft-ietf-regext-rdap-jscontact "uid" member should not be mandatory due to the need for redaction at the sub-object level.  Can draft-ietf-regext-rdap-jscontact override the draft-ietf-calext-jscontact mandatory "uid" member to be optional to support redaction in RDAP?  The draft-ietf-regext-rdap-redacted is strictly focused on the redaction methods of the responses and I don't believe it needs to mandate or recommend policy on what quires a server needs to support or not support.
    >
    > As already said, I'll propose to calext to make uid optional when JSContact is used as a contact representation within protocols supporting other contact identifiers.
    >
    > Therefore, my proposal for the uid field in RDAP will be the following:
    >
    > Option 1) uid is optional - uid can be redacted or not depending on its format and server policy
    >
    >    The JSCard "uid" property SHOULD be a URN in the UUID namespace [RFC4122], MAY
    >
    >    be a URI where the URI is the URL of the lookup query for the entity
    >
    >    related to the contact card.  The entity lookup URL MUST always be
    >
    >    used regardless of the query generating the response including the
    >
    >    contact card.
    >
    > Option 2) uid is required - uid must be inherently opaque and undecipherable
    >
    >    The JSCard "uid" property MUST be a URN in the UUID namespace [RFC4122]. If the
    >
    >    uid value is generated starting from a redacted value (i.e. name-based UUID),
    >
    >    SHA-1 MUST be used as hashing algorithm.
    >
    >
    >
    > JG – Either draft-ietf-calext-jscontact needs to remove the “(mandatory)” marking or draft-ietf-regext-rdap-jscontact needs to override the mandatory marking to make it optional in RDAP.
    >
    > Best,
    >
    > Mario
    >
    >
    >
    >
    >
    > Thanks,
    >
    >
    >
    > --
    >
    > Dott. Mario Loffredo
    >
    > Technological Unit “Digital Innovation”
    >
    > Institute of Informatics and Telematics (IIT)
    >
    > National Research Council (CNR)
    >
    > via G. Moruzzi 1, I-56124 PISA, Italy
    >
    > Phone: +39.0503153497
    >
    > Web: http://secure-web.cisco.com/1xvsGS-PC71_K7224GLBnNR10A9otbtVEnSwKszREsecQz95Zl1pIWaybzOtQHis6LzxhuYV07B8LJJOvXmwdIalSxwJb72Ct0LLTDUuzpCLRqRY7dMYcjlMIc_Dlb4k5EWmEK2JAfgZvU3PwTAMl4C7KRoX-UkEorpqZUvLeOncuMfGc7pEt5j760QusMXK9-eXJAnx8YEmWUxyqv9LvlEO1ffIuMfZAwYh0xMmbYMWGB81afiKuPNxCtPGqdoFllRV518w0H6jX2iYZaE_cAJsXSAVXus8-sEaaPUza4XY/http%3A%2F%2Fwww.iit.cnr.it%2Fmario.loffredo
    >
    > _______________________________________________
    > regext mailing list
    > regext@ietf.org
    > https://secure-web.cisco.com/1bLl493cdg_9iiyfwCe0LD-h0L5WxiPZUBSYTnuFupBWcbHfP5qCiom__w6un9VrnSHuVp7Icx_dzwTUfzq6Ync1ibTYAn9O8-nWZtJWequGgJrTxezJunJflmFxHAdkQk-i-K-zcENP3ojzgMkWKbdHNS_QbzG1sDSxoaK1zA1dZN80XPpPK6PvVl1LIX20UVWIhGQWfGmv24BFKeLSE_wEjKEG_HA_ILup1YixfLRr4vVhFRTZ-lGT6_oyj54WnFTniT22I3FG9bixObK5LSxN-53rjSEb6T3DI2bGQOj0/https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fregext