Re: [dhcwg] on use case discussion for draft-ietf-dhc-sedhcpv6

神明達哉 <jinmei@wide.ad.jp> Wed, 04 March 2015 23:05 UTC

Return-Path: <jinmei.tatuya@gmail.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EECC61A0015 for <dhcwg@ietfa.amsl.com>; Wed, 4 Mar 2015 15:05:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.978
X-Spam-Level:
X-Spam-Status: No, score=-0.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001] autolearn=no
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 OxcnVoi3ydMM for <dhcwg@ietfa.amsl.com>; Wed, 4 Mar 2015 15:05:05 -0800 (PST)
Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::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 DBAFF1A0013 for <dhcwg@ietf.org>; Wed, 4 Mar 2015 15:05:04 -0800 (PST)
Received: by iecrl12 with SMTP id rl12so71629417iec.2 for <dhcwg@ietf.org>; Wed, 04 Mar 2015 15:05:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=/xrqc5hoYdVshFLeEe9N9T9LBP8/s7AjMwEzZPp9O84=; b=H4Kim58eae7K5pHglyqUGJFhsID8sLRwH638YYgxEY3YTUvZDvJWCpId8tNDawUfMH XMYWm7/gcW8uvRH9XBNvRPGmeSFcHN6b3xPSeUUM3r3NKlrEMHVDtxtohcdojaizCQKc 85K6pz3fvB/KUH2fguE0e/5y0csJsJAfcGbBmtYvJ6zQhc3zUD2xHrXPxJUiZ5cujASF m6Lny7NJb89aKsAbrB/EXqr4zGanWj1SBtAd1ksL6fHgOK/Fsl3uYAyge83z2QTja3KU GFZtnFqZaFcYVyrcPLwVeBgs37Eiuign65PEJpaLfx4/VMGGD/1bAf2mLFm/tCH6Ltq8 /aIg==
MIME-Version: 1.0
X-Received: by 10.50.143.44 with SMTP id sb12mr42356248igb.3.1425510304305; Wed, 04 Mar 2015 15:05:04 -0800 (PST)
Sender: jinmei.tatuya@gmail.com
Received: by 10.107.11.154 with HTTP; Wed, 4 Mar 2015 15:05:04 -0800 (PST)
In-Reply-To: <201503042036.t24KaOlr045529@givry.fdupont.fr>
References: <CAJE_bqcgDFWAgnNx6m-HRsYf_68HEQ+uBAKTmA7rDD1CbJ2cFA@mail.gmail.com> <201503042036.t24KaOlr045529@givry.fdupont.fr>
Date: Wed, 04 Mar 2015 15:05:04 -0800
X-Google-Sender-Auth: N3XkYZbp4NT7ys-OtB6rPsOMS2I
Message-ID: <CAJE_bqepXE=471now_oJN4-5ztKBLekko3ixvoZoC+jEvqzvbQ@mail.gmail.com>
From: 神明達哉 <jinmei@wide.ad.jp>
To: Francis Dupont <Francis.Dupont@fdupont.fr>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/dhcwg/tupVJnBUE_NS1ElNBTPn81aoCKE>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>, Ted Lemon <Ted.Lemon@nominum.com>
Subject: Re: [dhcwg] on use case discussion for draft-ietf-dhc-sedhcpv6
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dhcwg/>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Mar 2015 23:05:06 -0000

At Wed, 04 Mar 2015 21:36:24 +0100,
Francis Dupont <Francis.Dupont@fdupont.fr> wrote:

> >  It's still vague to me...specifically what kind of attack should we
> >  worry about in the case of client->server authentication when we use
> >  the shared secret mechanism, and in which sense is it more serious
> >  than with the public/private key mechanism?
>
> => (forgot this one) in the client->server case with shared secrets
> you can attack the client or the server (and for the server get all
> the secrets), with public/private key pairs only an attack against
> the client can reveal the secret/private key.

True, but if the purpose of the authentication is to determine whether
the DHCP server should provide specific clients with DHCP server
(assigning an address, etc), compromising the server can defeat it
anyway; the attacker doesn't have to know clients' private keys.

> So public/private key mechanisms are intrinsically more secure than
> shared secret mechanisms.

As a general principle of public key-based vs shared secret-based,
yes.  But the important part of my question is "in the case of
client->server authentication".

> BTW public/private key mechanisms have some operational advantages
> too because they don't require a way to communicate the shared secret
> between the two parties before use.

Right, and if it's used in cases where TOFU is effective, I already
agreed on that.  But in cases where public keys needed to be shared
securely, I don't see the clear operational advantages for public
key-based mechanisms.

--
JINMEI, Tatuya