[secdir] Secdir last call review of draft-ietf-jmap-sharing-07

Yaron Sheffer via Datatracker <noreply@ietf.org> Sat, 06 April 2024 20:18 UTC

Return-Path: <noreply@ietf.org>
X-Original-To: secdir@ietf.org
Delivered-To: secdir@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 1DA2EC14F603; Sat, 6 Apr 2024 13:18:30 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Yaron Sheffer via Datatracker <noreply@ietf.org>
To: secdir@ietf.org
Cc: draft-ietf-jmap-sharing.all@ietf.org, jmap@ietf.org, last-call@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 12.9.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <171243471010.64783.13358878164780247522@ietfa.amsl.com>
Reply-To: Yaron Sheffer <yaronf.ietf@gmail.com>
Date: Sat, 06 Apr 2024 13:18:30 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/RJWI2E_uRwrUcp18hFZV-LZ7WEw>
Subject: [secdir] Secdir last call review of draft-ietf-jmap-sharing-07
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.39
List-Id: Security Area Directorate <secdir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/secdir>, <mailto:secdir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdir/>
List-Post: <mailto:secdir@ietf.org>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/secdir>, <mailto:secdir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Apr 2024 20:18:30 -0000

Reviewer: Yaron Sheffer
Review result: Has Issues

### What are groups?
In Sec. 2, a group is defined as a "group of people". Directories often support
groups of resources, too. Also, can groups be hierarchical, i.e. contain other
groups?

### Principal type
Why is the type not immutable? It is just as security-sensitive as the name,
maybe more so.

### Time zone ID
I think you mean time zone name, and please include an example such as
America/Los_Angeles.

### Filter definition
"Looks for the text" is very informal wording. Perhaps: the filter matches if
the filter string is a substring of the name (email, etc.) property. Also, I
assume (but you do not say) that all filter properties are optional.

### Spoofing
The type and email properties are also sensitive. And probably capabilities.

### ShareNotification Object Properties
Why is the changedBy property restricted to a Person? What about cases when
it's an application that makes the change?

### ShareNotifiction sent to a group principal
For some reason this is SHOULD NOT. IMO this is a security feature, and often
has a trade off vs. usability, so it should be left to the server's discretion.
There may be cases when an object is shared with a small group, and members of
that group would want to be updated if another sharer is added.

### Object Properties objectType
Where is the list of possible data types defined?

### ShareNotification Filtering
Again, please specify that each of the FilterCondition properties is optional.