Re: [kitten] Input on Paul's concerns about aes-cbc
Nico Williams <nico@cryptonector.com> Fri, 04 October 2013 21:10 UTC
Return-Path: <nico@cryptonector.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 02B9121F9E88 for <kitten@ietfa.amsl.com>; Fri, 4 Oct 2013 14:10:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.677
X-Spam-Level:
X-Spam-Status: No, score=-1.677 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, J_CHICKENPOX_15=0.6]
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 O4PuMAJ-QveP for <kitten@ietfa.amsl.com>; Fri, 4 Oct 2013 14:09:59 -0700 (PDT)
Received: from homiemail-a36.g.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by ietfa.amsl.com (Postfix) with ESMTP id 81B0921F9E6C for <kitten@ietf.org>; Fri, 4 Oct 2013 14:09:49 -0700 (PDT)
Received: from homiemail-a36.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a36.g.dreamhost.com (Postfix) with ESMTP id D78C6778071 for <kitten@ietf.org>; Fri, 4 Oct 2013 14:09:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=E6UNmsA/tGpuL5IcSoSI lktEHeA=; b=MKXkSwlRanBI8Bo+mWSNe9AXC3L7vFwRUoF4wFI7Ownfhn0b6EeL zh6sXilVKfeRflmiPtqpwyBjRQ5DWyAGMlOB+BRYgPAOSstb7pjXtYM+83iKRzgP 1NOtCJw4AyeSysr8o0k9O/uWt3jmG36zoNjxXxGQG7t0P/8jHLkNS3o=
Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a36.g.dreamhost.com (Postfix) with ESMTPSA id 870B6778070 for <kitten@ietf.org>; Fri, 4 Oct 2013 14:09:48 -0700 (PDT)
Received: by mail-we0-f169.google.com with SMTP id t60so5351579wes.0 for <kitten@ietf.org>; Fri, 04 Oct 2013 14:09:46 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZjdopGzdoMlnCgl+FyxJf8UAcNUJdHjaCoFqc+1NRck=; b=GVupzf+6F+tPiIPi0t0OJaFGF6hrR4VWfiSdzU3pmbOYKQ5D8rUaUvGfBWThAth628 6DfStzz/Euj3xegV1uCQbM9Dkhu3yg/0XGndCP+/AZ85SAJyKCAidcU7BmZhD8DokrC7 R2k2b7ZlOy5/y/5SSjLaIAu4rxe2uJSZv3CCTLX38/7hgnGQ+pkTOS27XJeKJQ34anlc lcr3A4ZgyfQ2olpfqkwud1eKeNynmLnrnb43CLPYgocnydfOiYEqB7X2KWH+acS/ikbJ JTP7vYkRuqGfGAA1hE3rP8CS5BSoMpHX6KMl0DOwl5SOH/CO2eI9nhGP6JzIxiTgh3jr vXPQ==
MIME-Version: 1.0
X-Received: by 10.194.250.6 with SMTP id yy6mr14221169wjc.13.1380920986842; Fri, 04 Oct 2013 14:09:46 -0700 (PDT)
Received: by 10.216.165.5 with HTTP; Fri, 4 Oct 2013 14:09:46 -0700 (PDT)
In-Reply-To: <524ECE01.3060401@mit.edu>
References: <tslob752llm.fsf@mit.edu> <524ECE01.3060401@mit.edu>
Date: Fri, 04 Oct 2013 16:09:46 -0500
Message-ID: <CAK3OfOger4OxBoBc=jCVBRZeXO2OeJa5mRoONij98gnRFPGMyw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Greg Hudson <ghudson@mit.edu>
Content-Type: text/plain; charset="UTF-8"
Cc: "kitten@ietf.org" <kitten@ietf.org>, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [kitten] Input on Paul's concerns about aes-cbc
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/kitten>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Oct 2013 21:10:04 -0000
On Fri, Oct 4, 2013 at 9:17 AM, Greg Hudson <ghudson@mit.edu> wrote: > On 10/04/2013 09:48 AM, Sam Hartman wrote: >> >> 1) Do you need any additional information to evaluate Paul's message? > > I don't think so. We are still curious about the details of legacy > application risk (i.e. what kinds of things might a legacy SSPI application > do wrong such that it works now but fails with a padded enctype), but the > conclusion is pretty clear. I can't tell if Paul is acting out of [quite reasonable] conservatism, or if he's really identified actual failure modes of existing applications (or likely ones), nor has he indicated whether there's any way to work around such failures (by, e.g., downgrading to CTS enctypes), nor whether any such workarounds are acceptable. I'm not going to insist on -say- proprietary evidence. Indeed, I like the random IV CTS mode we cooked up. I just think we need to understand the *actual* constraints, in so far as they can be published, so that we can a) not have this conversation again later, b) understand how those constraints might apply to future proposals, c) document how developers should write code so as not to impose these constraints on us. > I have also spent some more time thinking about CTR mode as you suggested > earlier (where we pick a random 128-bit nonce and use some function f(nonce, > blocknum) to produce the counter for each block), and whether a nonce or > block counter collision is any worse than a CBC cipher-block collision. I > noted that a CTR nonce collision would leak the XOR of the entire plaintexts > of two multi-block messages, while a CBC cipher-block collision or only > leaks the XOR of the plaintexts of the two colliding blocks, and a CBC > IV/confounder collision only leaks information about how many blocks of two > messages are identical. I'm now convinced that what we need in order to make certain cipher modes usable in Kerberos is a change to RFC3961 so that the API knows whether a given key is a sub-session key or not. I don't feel comfortable with CTR modes applied to long-term keys (or even Ticket session keys) without taking steps that would effectively kill performance for the GSS mechanism's per-msg tokens. I don't think we should have *this* discussion in the context of CTS vs. CBC: we should first decide that we don't want either CTS nor CBC. Nico --
- [kitten] Input on Paul's concerns about aes-cbc Sam Hartman
- Re: [kitten] Input on Paul's concerns about aes-c… Greg Hudson
- Re: [kitten] Input on Paul's concerns about aes-c… Nico Williams
- Re: [kitten] Input on Paul's concerns about aes-c… Paul Miller (NT)
- Re: [kitten] Input on Paul's concerns about aes-c… Nico Williams
- Re: [kitten] Input on Paul's concerns about aes-c… Luke Howard
- Re: [kitten] Input on Paul's concerns about aes-c… Martin Rex
- Re: [kitten] Input on Paul's concerns about aes-c… Luke Howard
- [kitten] DES enctypes are not PKCS#7 padded (Re: … Tom Yu
- Re: [kitten] DES enctypes are not PKCS#7 padded (… Luke Howard
- Re: [kitten] DES enctypes are not PKCS#7 padded (… Tom Yu
- Re: [kitten] Input on Paul's concerns about aes-c… Luke Howard
- Re: [kitten] Input on Paul's concerns about aes-c… Tom Yu
- Re: [kitten] Input on Paul's concerns about aes-c… Benjamin Kaduk