Re: [jose] Choice for WG: Use a KDF with AES CBC or use a longer key

John Bradley <ve7jtb@ve7jtb.com> Mon, 12 November 2012 00:27 UTC

Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1933421F84DA for <jose@ietfa.amsl.com>; Sun, 11 Nov 2012 16:27:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[AWL=0.001, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XsmgAaV+zRY1 for <jose@ietfa.amsl.com>; Sun, 11 Nov 2012 16:27:27 -0800 (PST)
Received: from mail-yh0-f44.google.com (mail-yh0-f44.google.com [209.85.213.44]) by ietfa.amsl.com (Postfix) with ESMTP id 9304021F84D8 for <jose@ietf.org>; Sun, 11 Nov 2012 16:27:27 -0800 (PST)
Received: by mail-yh0-f44.google.com with SMTP id 56so1150919yhq.31 for <jose@ietf.org>; Sun, 11 Nov 2012 16:27:27 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=cN+i9twGhQT8d7Tv+xqCjnU13rjSh9vThMyFbpBygsw=; b=Umx+cPBKHXb5c84kiM5dIo9kL5QMRqOYnl00QFerLcHx33sgTVRYJ1ufoy8s57c2FQ xU5mZBnBgbqimuiedOryBj1i/iRNSUNzlrag6YI6vT0hnTbCeteCe7wNlb06tHy5a0iF zWBJNBAisMCgnYsCkJrkR7Wst4vm5QSt5tpK8T3MNjhjTFDnip2m4vY1XmsTFlj8IztD dat/jPQ8xCnR8hM0QmqUpFQqUbftrAK93Kmy0Mh197RgNfNiMCT0TBB08rzQaaD7ZMDt HVjpB33eEULPGcy4EZxWbl+ilgDaId5xTwKHjpojh8XBKMph1QrCxoGWU1iXtncUAYPJ yYTA==
Received: by 10.236.128.141 with SMTP id f13mr18222524yhi.52.1352680047181; Sun, 11 Nov 2012 16:27:27 -0800 (PST)
Received: from [192.168.1.211] (190-20-39-87.baf.movistar.cl. [190.20.39.87]) by mx.google.com with ESMTPS id n20sm4682655anl.19.2012.11.11.16.27.23 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 11 Nov 2012 16:27:26 -0800 (PST)
Content-Type: text/plain; charset="windows-1252"
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E11500331CA9@WSMSG3153V.srv.dir.telstra.com>
Date: Sun, 11 Nov 2012 21:27:16 -0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <8D4A85A2-07DD-4E34-89D9-1640F5ED9BEA@ve7jtb.com>
References: <BAY171-W32DD53461B3DF4235F053DB7680@phx.gbl> <255B9BB34FB7D647A506DC292726F6E11500331CA9@WSMSG3153V.srv.dir.telstra.com>
To: "Manger, James H" <James.H.Manger@team.telstra.com>
X-Mailer: Apple Mail (2.1499)
X-Gm-Message-State: ALoCoQnT3cib58HFEam7HRvDagTOW0pmX96FyfN+r7sDSCgiQFSfAqIUaTM7fm7XxgFXogCiclSU
Cc: Michael Jones <michael_b_jones@hotmail.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Choice for WG: Use a KDF with AES CBC or use a longer key
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Nov 2012 00:27:28 -0000

I think that is largely the effect of making the proposed change.  The remaining question if we do it is if we want to take a dependency on draft-mcgrew-aead-aes-cbc-hmac-sha2 or incorporate it.

If it is a ID taking a dependency on it is problematic proceduraly.

I am personally in favour of sending the concatenation of the two values rather than use a KDF.  I think it will reduce interoperability issues.

What we call it needs to be determined.

John B.

On 2012-11-11, at 7:23 PM, "Manger, James H" <James.H.Manger@team.telstra.com> wrote:

>> So I’d like to explicitly ask the working group.  Do you want us to:
>> 
>> (1) Use the concatenation of random CEK and CIK values as the CMK for AES CBC, resulting in a longer CMK?
>> (2) Continue to use a KDF to generate the CEK and CIK from a shorter CMK?
> 
> 
> 1. Use draft-mcgrew-aead-aes-cbc-hmac-sha2
> 
> --
> James Manger
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose