Re: [Jmap] Secdir last call review of draft-ietf-jmap-contacts-06

"Murray S. Kucherawy" <superuser@gmail.com> Fri, 05 April 2024 22:39 UTC

Return-Path: <superuser@gmail.com>
X-Original-To: jmap@ietfa.amsl.com
Delivered-To: jmap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0A62CC169435 for <jmap@ietfa.amsl.com>; Fri, 5 Apr 2024 15:39:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.094
X-Spam-Level:
X-Spam-Status: No, score=-2.094 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=gmail.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 6EgdFamD4KIj for <jmap@ietfa.amsl.com>; Fri, 5 Apr 2024 15:39:46 -0700 (PDT)
Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2E014C169432 for <jmap@ietf.org>; Fri, 5 Apr 2024 15:39:46 -0700 (PDT)
Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-565c4d0fa48so1008881a12.1 for <jmap@ietf.org>; Fri, 05 Apr 2024 15:39:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712356784; x=1712961584; darn=ietf.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=rxg/xEn82IjjZY8aKT99lV8vX8IMqtrp3mk8JlWDOX4=; b=D9+U/+v1o4ad2iWXytXFxj5dTG+cgijfkTgYQ6XcQc0MpNQdAdIUnXGPfLcFBpx7gs 9vQPK3+CkAZ9z8tLZFkTrDOBI4UzN9syLSeymvIYKwzF5OdWFhxh15VB0ju8Jtq/IE/M k4ZhTbnfJwOeLFBl4lk6rgEniboP6wQWMxPw81W0CZC3UvFhytz64FAdOFeA+X4w7xWZ z/SsbrNMnaKasxHQWnBJFJMPRBFHQcXhN1IqJdlRstDu24q8WFOK0mV3cOszeXEXRQ8o HyqmkJbMzMFaH+fsP31p/ZTSPSsvcT4Bjpw3KKyrFUF/qQJmHqkgvJNsrzKzjD0zS6gS EOLQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712356784; x=1712961584; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rxg/xEn82IjjZY8aKT99lV8vX8IMqtrp3mk8JlWDOX4=; b=B20nD2Uvri9uEKNWlo3BkBViBfm7PC0nbTvqy6HPM42P8bn/xMKLA4GG9Jjirj24M5 VNWRTK3h3mneLlifWUiaWvV1BOyp5GdN5zpukPh2utpEmyrrCrsHCrPR7QKFy6h5D3/w orcoTriLGFNs4sp/0w7UuQeBOfr8EKs7H1bTFIGGPaqWUq8EAjYxlNV8006aYlregIuB Vhk0GmJfrWk1X6nYJlenEKf6DNZTCSOmqeAhmywZE04gC/tmCj8KN918XnCzv0Lf3tv1 V7mRfTcsw89FEEW7kJhN2/mKJ3JG383w7kiRXoMeGnZhIoYUzr5A2Z/ks2TlxAxXoKmI ngMQ==
X-Gm-Message-State: AOJu0YyZnfxwvHCPb3P5AyRSH5HDwRnjSl2gUtgCLu4+Q5ZYmMII6C2S Ah1eS/OG+bExCfM9KqFS8X0R3BIPEJ5dbb14guf+UaKn5LiByt9hSlN8aPRGdivwIb39FXerwe5 e7X/Dn6g56QMTdnmXWbKvYPzIEHVzcRIXotg=
X-Google-Smtp-Source: AGHT+IG8LYUTwKFepIdH6fQ8n44PmlpjqCS4EpAfnYmBzMR0mlj2ao2Uq3degzVb2YSpdcYZX2EYVj9tmiMzdyNO9YY=
X-Received: by 2002:a17:906:c2c7:b0:a51:969d:f5d4 with SMTP id ch7-20020a170906c2c700b00a51969df5d4mr1662689ejb.2.1712356783719; Fri, 05 Apr 2024 15:39:43 -0700 (PDT)
MIME-Version: 1.0
References: <171221155095.47781.827957534903822489@ietfa.amsl.com> <CAL0qLwapTZucbgr7NzeF_Uwtmo1p=NR=tJz_HAUOmsF7Wa0Mjw@mail.gmail.com>
In-Reply-To: <CAL0qLwapTZucbgr7NzeF_Uwtmo1p=NR=tJz_HAUOmsF7Wa0Mjw@mail.gmail.com>
From: "Murray S. Kucherawy" <superuser@gmail.com>
Date: Fri, 05 Apr 2024 15:39:30 -0700
Message-ID: <CAL0qLwZRMnEfWnfW05_2cOyaDihE7xxwxNmusQKhiRH07kXfdA@mail.gmail.com>
To: jmap@ietf.org
Content-Type: multipart/alternative; boundary="000000000000d2910f061561219f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/ZkVTM0_bPpbsOYcxG0KGqDHqhvI>
Subject: Re: [Jmap] Secdir last call review of draft-ietf-jmap-contacts-06
X-BeenThere: jmap@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: JSON Message Access Protocol <jmap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jmap>, <mailto:jmap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jmap/>
List-Post: <mailto:jmap@ietf.org>
List-Help: <mailto:jmap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jmap>, <mailto:jmap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Apr 2024 22:39:50 -0000

On Thu, Apr 4, 2024 at 12:21 PM Murray S. Kucherawy <superuser@gmail.com>
wrote:

> On Wed, Apr 3, 2024 at 11:19 PM Shivan Sahib via Datatracker <
> noreply@ietf.org> wrote:
>
>> Reviewer: Shivan Sahib
>> Review result: Has Issues
>>
>> Section 1.4
>> This section says "This document defines two additional capability URIs."
>> but
>> AFAICT it's only one i.e. urn:ietf:params:jmap:contacts
>>
>> Section 2
>> Why does description property not have any restrictions unlike the name
>> property?
>>
>> In general, it's a bit confusing which properties are mandatory and which
>> are
>> optional: sometimes it's pretty obvious (id and name), and sometimes it's
>> not
>> (sortOrder). I would highly recommend explicitly labelling all properties
>> as
>> either mandatory (and then defining what the possible values are), or
>> optional
>> (similar, but also with a sensible default).
>>
>> Looks like Principal is missing a reference to
>> https://datatracker.ietf.org/doc/html/draft-ietf-jmap-sharing-06.
>>
>> mayDelete property in AddressBookRights is confusing, since I first
>> thought it
>> means the ability to delete ContactCards since that's what mayRead and
>> mayWrite
>> mention.
>>
>> Section 5
>> The Security Considerations section needs to address the fact that a user
>> query
>> which uses filtering/sorting is basically untrusted input and recommend
>> how to
>> sanitize and treat the input. It should at the very least point to RFC
>> 8620
>> security guidance around parsing JSON input.
>>
>
> Any revision needed, or some other response to this?
>

This document completed IETF Last Call, but I don't know if the feedback it
received warrants a new version before scheduling it for an IESG telechat.

I'm going to be on vacation until the 15th, so I'll check in on this when I
get back, but for now it stays where it is.

-MSK