Re: [stir] Comments on draft-ietf-stir-certificates-09

Eric Rescorla <ekr@rtfm.com> Thu, 23 March 2017 23:21 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: stir@ietfa.amsl.com
Delivered-To: stir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 77D9A1292FD for <stir@ietfa.amsl.com>; Thu, 23 Mar 2017 16:21:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20150623.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 BAJqWsMgVaXW for <stir@ietfa.amsl.com>; Thu, 23 Mar 2017 16:21:10 -0700 (PDT)
Received: from mail-yw0-x235.google.com (mail-yw0-x235.google.com [IPv6:2607:f8b0:4002:c05::235]) (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 C9CF3129516 for <stir@ietf.org>; Thu, 23 Mar 2017 16:21:09 -0700 (PDT)
Received: by mail-yw0-x235.google.com with SMTP id i203so43441210ywc.3 for <stir@ietf.org>; Thu, 23 Mar 2017 16:21:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=z7zXLHotKbpjBMhbBVhwNCrDBSRTLgWvk82DixcTKR0=; b=04k3A6XmClAyTxPQH8eD3sTuN8RQFYDoEcO0QpFyUgxqkNF4rU0ofb+ZzuvTNoyJLx IO9e1smvo3q8FhrHWKMXWxbXArqEET4NNY65cKWbpSgEJkZ6Hfc8STM+6jdsReyHb/vr PXXz/PU3TIoebZ6DwbvRbb7PpcYz9TaaF3poGofOnTTHswbHEUzbZGctdEkKJbv9RNDe ZKjYot2C6lbvyLjahS2fZPC+M/5inpC5TQ4WRHUzPvsXuq7VZWyzyOWes0HKX/MOsgyg SXUDiDmRq3ZueJ3xv/Z3MOumaWCNcJcnfqgmmOd6QFuu6e1N+TWmSkSY5pZ/O4sNNKFc SN+A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=z7zXLHotKbpjBMhbBVhwNCrDBSRTLgWvk82DixcTKR0=; b=lSHqXCCUZoNuPlUBxA/7iCc2rEEuLdYRqWNLijFkSXQ+Teha5vhY5VMxsV7vErWin0 DHgUpIWpYZy1+Y9aKN61WXf/Qzs3idsKeE8C8ECuImRVngHNep9AflrKHyXMcx2OFRc/ X+1IM62ztJMUjENR+zudS7486i5SLj7c31rJark+VUFc6oV1DXHsfqLRjc+szrv6bWDb BV2KFidN2r2uOalyZ+ahYUqG1FBoz8spmGcGFhhzGJel+rq0zngzV92BEWh0bMgqaqOL g9TNLO9qBSZMADgIexdhuIW3gzQSwbBJShsY3jX0AglyVQvgecgETK2IzCDwVFAu/39M X+/g==
X-Gm-Message-State: AFeK/H3Bouf7CCDYTNbVZETb7mY4Wt6SPmjoFB85q6VB0591/Br6xYwXlBYrl3KCBIoTusazQsujvHydgqgSFw==
X-Received: by 10.37.53.138 with SMTP id c132mr3685088yba.105.1490311268682; Thu, 23 Mar 2017 16:21:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.154.210 with HTTP; Thu, 23 Mar 2017 16:20:28 -0700 (PDT)
In-Reply-To: <CABcZeBOZskcOXD9ObFarcyy14G_Kfh7YoarESHE7GFxdvwtbpw@mail.gmail.com>
References: <CABcZeBOZskcOXD9ObFarcyy14G_Kfh7YoarESHE7GFxdvwtbpw@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 23 Mar 2017 16:20:28 -0700
Message-ID: <CABcZeBPVviaoaW-28RsPuxx+6V+JpW2dt8mBdgRgyNbJqUyKtQ@mail.gmail.com>
To: "stir@ietf.org" <stir@ietf.org>
Content-Type: multipart/alternative; boundary="001a114bbb32c66688054b6e2194"
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/B6wGfvW1HvCETskJLWbCRj5Cdhw>
Subject: Re: [stir] Comments on draft-ietf-stir-certificates-09
X-BeenThere: stir@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Secure Telephone Identity Revisited <stir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/stir>, <mailto:stir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/stir/>
List-Post: <mailto:stir@ietf.org>
List-Help: <mailto:stir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/stir>, <mailto:stir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Mar 2017 23:21:12 -0000

>
> You don't define the semantics of TelephoneNumberRange. This seems
> like it's potentially subtle. The natural design seems like you
> would interpret start as if it were an integer and then allow
> everything in the range [start, start + count ). However, aren't
> there edge cases here. Consider the field that contains:
>
>   { +1.999.999.9999, 2 }  // punctuation added for clarity.
>
> Clearly, +1.999.999.9999 is permitted, but are there any other
> numbers permitted? My algorithm above would include
> +2.000.000.0000, but that's clearly not right. Does it wrap
> so that it includes +1.000.000.0000? Seems like some text
> is required here.
>

In reading -12, this does not seem to be adjusted :)

-Ekr


>
> S 10.
>    The tradeoff between short lived certificates and using status
>    information is that the former’s burden is on the front end (i.e.,
>    enrollment) and the latter’s burden is on the back end (i.e.,
>    verification).  Both impact call setup time, but it is assumed that
>    generating a short-lived certificate for each call, and consequently
>    performing enrollment for each call, is more of an impact than
>    acquiring status information.
>
> This seems to confuse enrollment with certificate issuance. However,
> at least in protocols like ACME, that's not correct: you enroll
> once and then you can get as many certs issued as you want within
> a time window. It's not clear why this would be a bigger issue
> than OCSP, and there are obvious latency advantages because you
> can get a new cert at the start of dialing (i.e., before the
> destination number is known).
>
> You are also ignoring the possibility of OCSP stapling, which
> would seem to resolve both concerns. It seems like it would
> be good to specify this mode.
>
>
> S 10.2.
>    The requirement to consult OCSP in real time results in a network
>    round-trip time of day,
>
> Should this say "delay"?
>
>
> S 10.2.1.
> Am I supposed to be getting here that you are importing a bunch of
> the HVE requirements, but you don't want to directly refer to HVE
> because of the requirement to not use per-request extensions. Is
> that right? If so, maybe it would be better to normatively reference
> the spec and then override it.
>
>
> S 10.3.
> How does the mechanism described in this section interact with TN
> lists that are in the cert? Or do you only use it if you have the
> spid form?
>
>