Re: [Rum] Roman Danyliw's Discuss on draft-ietf-rum-rue-09: (with DISCUSS and COMMENT)

Brian Rosen <br@brianrosen.net> Thu, 23 December 2021 21:56 UTC

Return-Path: <br@brianrosen.net>
X-Original-To: rum@ietfa.amsl.com
Delivered-To: rum@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 890B43A0B32 for <rum@ietfa.amsl.com>; Thu, 23 Dec 2021 13:56:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.888
X-Spam-Level:
X-Spam-Status: No, score=-1.888 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=brianrosen-net.20210112.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VDLtrJnq5m54 for <rum@ietfa.amsl.com>; Thu, 23 Dec 2021 13:56:04 -0800 (PST)
Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B7C183A0B31 for <rum@ietf.org>; Thu, 23 Dec 2021 13:56:04 -0800 (PST)
Received: by mail-io1-xd33.google.com with SMTP id y70so8829992iof.2 for <rum@ietf.org>; Thu, 23 Dec 2021 13:56:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brianrosen-net.20210112.gappssmtp.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Lu9jMlFTtkm7fFnlKe/jWDMRx9vmSwhiHZ9l2rm4lGM=; b=g/gISEM9//bIsYagegCDb1nA4fvplnREGNXS4nFKgSX8OSQHVuFOXiKXH7lXOovAQi +pByvXNlDLMIp+gnU3kLd3smb9UVcNiaBz3AjwsHUG3PcpJoJFxOvQObl9gl2KNzxVKe 7pSUd7lACg+BtJM9mfP3w/I+jv0hY0vm2TNf2Clg8rxWx88kjwGejUZ0x2/JNL1Wz45L VdrFeUknnr8ArJlVgoDB/W0gDhPGSYice7RaVPXjkjlEe5IwmaiHcQiPJT7BI/JcQLCT S66tRUxgdTB3gZdfllxr5tsYlmnq9AXfv2/1xD9uhazIvOCzBqqICMo/2u5cv8ds4OUS s3dg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Lu9jMlFTtkm7fFnlKe/jWDMRx9vmSwhiHZ9l2rm4lGM=; b=XjBoGe9fMSHdVMr2Z76yKjfs2i9J0dTl0xTnxhrsvuZUuyj4hSCwucbpOJ38sfCepi 30veMgc2ZseznDc66BalzFkZG50xs5gXJCWRyQkiyozkN1OU1E1sQ5uZRCxRUDDUB+7M iBtrF1fo6qruVJug9djOvHosuh3ic2uQmTrk2QbKfaFj7OJxq4uAj7yKZYMb8GtaO8Mx auOd25K7kedrtBi+Dnu/GK2azz/CbiN56e1HMGqHBidIb0RGmz/q215FNb+SwfQe9NDU zy5aL5AapMc6BpQKfEtYB0GfNhhgBrlI+1A9dYLAdjj2Hp67A0cKwaCZ2PDJs8wLmeXn xGvQ==
X-Gm-Message-State: AOAM533taPqCEGEeVMT+5BKhzS6kLv3Hja9uR+5qJ/+gQt5JpItlULmm ERsIcNcYXSSkxqAbWH7+Jx9B5Q==
X-Google-Smtp-Source: ABdhPJxpp7GVqkiM51wiu4aEHiHIXP8NNa0FOqv9hwKhqGZcztgjD66Hr4/M0z+9TbQlLe6BqBlOPg==
X-Received: by 2002:a05:6602:2f11:: with SMTP id q17mr2131336iow.75.1640296563107; Thu, 23 Dec 2021 13:56:03 -0800 (PST)
Received: from smtpclient.apple (dynamic-acs-24-154-121-237.zoominternet.net. [24.154.121.237]) by smtp.gmail.com with ESMTPSA id l3sm3380681ilh.12.2021.12.23.13.56.01 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Dec 2021 13:56:02 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\))
From: Brian Rosen <br@brianrosen.net>
In-Reply-To: <163960605716.22037.6925953082119136922@ietfa.amsl.com>
Date: Thu, 23 Dec 2021 16:56:00 -0500
Cc: The IESG <iesg@ietf.org>, draft-ietf-rum-rue@ietf.org, rum-chairs@ietf.org, rum@ietf.org, Paul Kyzivat <pkyzivat@alum.mit.edu>
Content-Transfer-Encoding: quoted-printable
Message-Id: <64AD6B8B-9D35-4269-AD74-FD8755F21F2D@brianrosen.net>
References: <163960605716.22037.6925953082119136922@ietfa.amsl.com>
To: Roman Danyliw <rdd@cert.org>
X-Mailer: Apple Mail (2.3693.20.0.1.32)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rum/4wisb1xzGCh1jd2llNm2ap6b09c>
Subject: Re: [Rum] Roman Danyliw's Discuss on draft-ietf-rum-rue-09: (with DISCUSS and COMMENT)
X-BeenThere: rum@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Relay User Machine <rum.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rum>, <mailto:rum-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rum/>
List-Post: <mailto:rum@ietf.org>
List-Help: <mailto:rum-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rum>, <mailto:rum-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Dec 2021 21:56:11 -0000

Thank you for your comments.  Responses inline

> On Dec 15, 2021, at 5:07 PM, Roman Danyliw via Datatracker <noreply@ietf.org> wrote:
> 
> Roman Danyliw has entered the following ballot position for
> draft-ietf-rum-rue-09: Discuss
> 
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
> 
> 
> Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
> for more information about how to handle DISCUSS and COMMENT positions.
> 
> 
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-rum-rue/
> 
> 
> 
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
> 
> ** Is there a reason that credential re-use is being suggested as a fall back. 
> It seems risky to reuse the credentials across services.
This is really how sip services commonly work and I’m reluctant to disallow what is widely implemented

> This fall-back also
> appears to contradict the guidance in Section 5.1. which says “This
> username/password combination SHOULD NOT be the same as that used for other
> purposes, such as retrieving the RUE configuration”.
I will change this to add "except as expressly described below”
The configuration service is new, and thus we can say don’t reuse credentials for that.


>  See:
> 
> -- Section 7.1.  Per access to the CardDAV server, “[i]f no matching
> credentials are configured, the RUE MUST use the SIP credentials from the
> configuration.”
> 
> -- Section 9.2.2.  sip-password says “If it was never supplied, the password
> used to authenticate to the configuration service is used for SIP, STUN and
> TURN.”
> 
> -- Section 9.2.2.  carddav field says that “If username or password are not
> supplied, the main account credentials are used. “
> 
> ** Is there a reason that a minimum transport requirements of using HTTPS is
> not defined for accessing the SIP-supporting elements of this architecture.
I’m confused by this.  HTTPS and SIP are mutually exclusive.  Did you mean TLS instead of HTTPS?
But you said “minimum transport” and not “security” so I’m even more confused.  Sorry.

We specify RFC7525 and 8446 in General Requirements for TLS.

> 
> -- Section 7.1.  Access to the CardDAV service?  Does the guidance in Section
> 7.2 (The RUE stores/retrieves the contact list (address book) by issuing an
> HTTPS POST or GET request.) imply that?
There are two services: a contact list import and a CardDAV service, which is a contact sync.  Both are subject to the TLS requirements
> 
> -- Section 9.  Using the overall API? Does the guidance in Section 9.2 (A RUE
> device may retrieve a provider configuration the using a simple HTTPs web
> service) imply that?
Again it’s an HTTPS service, so subject to the General Requirements TLS specs
> 
> -- Section 9.2.1.  For the URI configuration options noted in this section
> (e.g., the uri in signup)?
Same
> 
> ** Section 11.  There are more than 10 20 normative SIP protocol references in
> this document.  Which of their security considerations apply?
All of them.  That’s pretty normal sip stuff.
> 
> 
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> Thank you to Russ Mundy for the SECDIR review.
> 
> ** Section 2.  Thanks for defining all of this terminology up front.  As many
> of these are components in the architecture, I would have benefit from a
> diagram early in the document showing how these components integrate. **
I am diagram challenged, but I will see what I can do.

> Section 5.1.  The paragraph starting with “The registrar MAY authenticate using
> SIP digest authentication …”, should likely say that the technique for
> provisioning the credentials is out of scope for this profile.
Actually, they come in the configuration service.

> 
> ** Section 8.  Typo. s/mechansism/mechanism/
Fixed

> ** Section 9.1
> IANA has established a registry that contains
>   a two letter country code and an entry point string.
> 
> Recommend adding a forward reference to Section 10.1.
Added

> 
> ** Section 9.1.
>   For example,
>   if the entryPoint is "example.com", the provider list would be
>   obtained from https://example.com/rum/V1/Providers.
> 
> This example doesn’t match the syntax of Section 9.3.  “V1” here and “v1” in
> Section 9.3.
Fixed
> 
> ** Section 9.2.  It would be helpful in this narrative text for the input
> values names to match the actual field names used in the API in Section 9.3. 
> Specifically, “API Key” is “apiKey”, and “instance identifier” is “instanceId”
Fixed. 

> 
> ** Section 9.2.1.  Per the language value in the signup configuration option,
> please provide a reference to the IAN language subtag registry
> (https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry).
I put it inline as a link.  Should it be an actual reference?

> 
> ** Section 9.2.2.  sendLocationWithRegistation is listed as a stand-alone field
> here, but in Section 9.3, it is shown to be part of the carddav object.  Which
> is correct?
Ho, that’s an actual error.  It should be a separate field.  Fixed
> 
> ** Section 9.2.3.  Figure 4.  This example is not conformance to the previously
> described syntax.  All of the values of the “uri” fields should be a URI, but
> all of them are missing a scheme.
Fixed

> 
> ** Section 9.3.  [OpenAPI] needs to be a normative reference as its syntax is
> needed to understand this section.
Reluctantly fixed.  We have too many normative references :)
> 
> 
>