Re: [VIPR] Identity certificate segregation for VIPR
Eric Rescorla <ekr@rtfm.com> Tue, 07 February 2012 18:53 UTC
Return-Path: <ekr@rtfm.com>
X-Original-To: vipr@ietfa.amsl.com
Delivered-To: vipr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1D8F021F8880 for <vipr@ietfa.amsl.com>; Tue, 7 Feb 2012 10:53:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.913
X-Spam-Level:
X-Spam-Status: No, score=-102.913 tagged_above=-999 required=5 tests=[AWL=0.064, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aaaHyDtxIu3f for <vipr@ietfa.amsl.com>; Tue, 7 Feb 2012 10:53:54 -0800 (PST)
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) by ietfa.amsl.com (Postfix) with ESMTP id A59BA21F86CB for <vipr@ietf.org>; Tue, 7 Feb 2012 10:53:51 -0800 (PST)
Received: by vcbfk14 with SMTP id fk14so5347920vcb.31 for <vipr@ietf.org>; Tue, 07 Feb 2012 10:53:51 -0800 (PST)
Received: by 10.220.153.201 with SMTP id l9mr13157456vcw.1.1328640831190; Tue, 07 Feb 2012 10:53:51 -0800 (PST)
MIME-Version: 1.0
Received: by 10.52.71.19 with HTTP; Tue, 7 Feb 2012 10:53:11 -0800 (PST)
X-Originating-IP: [74.95.2.173]
In-Reply-To: <4F317157.9040303@acm.org>
References: <4F315AA1.9030703@acm.org> <CABcZeBPqqo9WoFfT7N8GrwWDyE20_Jk=rNSFwuBaZLgny4skNg@mail.gmail.com> <4F316B6F.7020308@acm.org> <CABcZeBMmFrcmF6sZp+F+93=v9k=1Mis7xHR3pdQfrB8_NtWNGQ@mail.gmail.com> <4F317157.9040303@acm.org>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 07 Feb 2012 10:53:11 -0800
Message-ID: <CABcZeBNLDmqJjhQsuwMW_BLYaTJA1vohCQYJBZ+VooDikyXPJw@mail.gmail.com>
To: Marc Petit-Huguenin <petithug@acm.org>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: "vipr@ietf.org" <vipr@ietf.org>
Subject: Re: [VIPR] Identity certificate segregation for VIPR
X-BeenThere: vipr@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Verification Involving PSTN Reachability working group <vipr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/vipr>, <mailto:vipr-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/vipr>
List-Post: <mailto:vipr@ietf.org>
List-Help: <mailto:vipr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/vipr>, <mailto:vipr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Feb 2012 18:53:56 -0000
On Tue, Feb 7, 2012 at 10:45 AM, Marc Petit-Huguenin <petithug@acm.org> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 02/07/2012 10:33 AM, Eric Rescorla wrote: >> On Tue, Feb 7, 2012 at 10:20 AM, Marc Petit-Huguenin <petithug@acm.org> >> wrote: On 02/07/2012 09:51 AM, Eric Rescorla wrote: >>>>> On Tue, Feb 7, 2012 at 9:08 AM, Marc Petit-Huguenin >>>>> <petithug@acm.org> wrote: >>>>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 >>>>>> >>>>>> The current version of RELOAD requires that the certificates used >>>>>> contain one or more Node-IDs and one username. This username plays >>>>>> no role in VIPR, so it is not only useless, but can also be a >>>>>> source of privacy leak. >>>>>> >>>>>> A proposal was made in the p2psip WG some time ago for Identity >>>>>> certificate segregation[1] (see also [2]), but the author is >>>>>> waiting for the final version of RELOAD to publish a draft about >>>>>> this. >>>>>> >>>>>> My proposal is to say in the RELOAD usage document that VIPR must >>>>>> not use certificates with username, and to put a placeholder for >>>>>> the reference to the upcoming draft about Identity certificate >>>>>> segregation. >>>>> >>>>> Or, you could just use a dummy (random) username, e.g., a hash of >>>>> the node-id. >>>>> >> >> Yes, although that would still require an enrollment server that slightly >> deviates from what is described in section 10.3 of RELOAD... >> >> ...or more precisely from what I understand from section 10.3, which is >> that the user name stored in the certificate returned is the concatenation >> of 1) the username passed as parameter of the HTTP POST, 2) the '@' >> character and 3) the overlay name (there is at least one implementation I >> know of that assumes that the username parameter is already in RCF822 form, >> thus permitting a domain name different from the overlay name). >> >>> I don't read 10.3 as restricting the user name to be what is in the POST. >>> The requirement is: >> >>> o A single name this user is allowed to use in the overlay, using type >>> rfc822Name. Enrollment servers SHOULD take care to only allow legal >>> characters in the name (e.g., no embedded NULs), rather than simply >>> accepting any name provided by the user. >> >>> As authentication may not be required at all, I don't see how there can >>> be a requirement that these two usernames be the same. >> >>> o If authentication is required, there is an form parameter of >>> "password" and "username" containing the user's name and password in the >>> clear (hence the need for HTTPS) >> > > Hmmm. So I guess that this means that the following is in fact a conditional > MUST: > > "The enrollment server MUST authenticate the request using the > provided user name and password." > > Anyway, in the same paragraph we have this: > > "If the authentication succeeds and the requested > user name is acceptable, the server generates..." > > I understand "requested user name" as the one that must be used as rfc822Name > in the returned certificate. At best it is ambiguous. Regardless, I don't see a problem from the VIPR perspective. The VIPR client can simply request a username that doesn't leak private information. -Ekr
- [VIPR] Identity certificate segregation for VIPR Marc Petit-Huguenin
- Re: [VIPR] Identity certificate segregation for V… Eric Rescorla
- Re: [VIPR] Identity certificate segregation for V… Marc Petit-Huguenin
- Re: [VIPR] Identity certificate segregation for V… Eric Rescorla
- Re: [VIPR] Identity certificate segregation for V… Marc Petit-Huguenin
- Re: [VIPR] Identity certificate segregation for V… Eric Rescorla
- Re: [VIPR] Identity certificate segregation for V… Marc Petit-Huguenin