Re: [OAUTH-WG] Signature crypto
Stephen Farrell <stephen.farrell@cs.tcd.ie> Fri, 04 December 2009 18:55 UTC
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: oauth@core3.amsl.com
Delivered-To: oauth@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0EDD13A684F for <oauth@core3.amsl.com>; Fri, 4 Dec 2009 10:55:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.909
X-Spam-Level:
X-Spam-Status: No, score=-0.909 tagged_above=-999 required=5 tests=[AWL=-0.617, BAYES_00=-2.599, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_COM=0.553, HTML_MESSAGE=0.001, RDNS_DYNAMIC=0.1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yfns-q+y-ZJo for <oauth@core3.amsl.com>; Fri, 4 Dec 2009 10:55:09 -0800 (PST)
Received: from mail.newbay.com (87-198-172-198.ptr.magnet.ie [87.198.172.198]) by core3.amsl.com (Postfix) with ESMTP id 7A6713A67D8 for <oauth@ietf.org>; Fri, 4 Dec 2009 10:55:06 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mail.newbay.com (Postfix) with ESMTP id 7C9F536006D; Fri, 4 Dec 2009 18:54:56 +0000 (GMT)
X-Virus-Scanned: amavisd-new at newbay.com
Received: from mail.newbay.com ([127.0.0.1]) by localhost (mail.newbay.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oHRFYaKIEJ3d; Fri, 4 Dec 2009 18:54:52 +0000 (GMT)
Received: from mail01.newbay.com (mail01.newbay.com [192.168.12.25]) by mail.newbay.com (Postfix) with ESMTP id 0165536006C; Fri, 4 Dec 2009 18:54:52 +0000 (GMT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by mail01.newbay.com (Postfix) with ESMTP id E71437C353; Fri, 4 Dec 2009 18:54:51 +0000 (GMT)
X-Virus-Scanned: amavisd-new at newbay.com
Received: from mail01.newbay.com ([127.0.0.1]) by localhost (mail01.newbay.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LjxSvPB9t7HV; Fri, 4 Dec 2009 18:54:42 +0000 (GMT)
Received: from [10.87.48.3] (dsl-102-234.cust.imagine.ie [87.232.102.234]) by mail01.newbay.com (Postfix) with ESMTP id F2DEE7C340; Fri, 4 Dec 2009 18:54:41 +0000 (GMT)
References: <90C41DD21FB7C64BB94121FBBC2E72343785183009@P3PW5EX1MB01.EX1.SECURESERVER.NET> <4B0D5EE1.9000309@cs.tcd.ie> <90C41DD21FB7C64BB94121FBBC2E723437852097FC@P3PW5EX1MB01.EX1.SECURESERVER.NET> <255B9BB34FB7D647A506DC292726F6E1124A7241F7@WSMSG3153V.srv.dir.telstra.com> <90C41DD21FB7C64BB94121FBBC2E72343785293671@P3PW5EX1MB01.EX1.SECURESERVER.NET> <f98165700912041016k10366b88tb001f7700405083f@mail.gmail.com> <90C41DD21FB7C64BB94121FBBC2E72343785293683@P3PW5EX1MB01.EX1.SECURESERVER.NET> <f98165700912041023y3207d801r42f01c7a0c4352bb@mail.gmail.com> <90C41DD21FB7C64BB94121FBBC2E7234378529368A@P3PW5EX1MB01.EX1.SECURESERVER.NET> <daf5b9570912041037t199cc9d3rbd4d31d327f8988b@mail.gmail.com> <f98165700912041046m2863c8d9s1114ed7ecc087f23@mail.gmail.com>
Message-Id: <5D75A64A-798D-4BDA-8ECD-10B3DA0AF78B@cs.tcd.ie>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
To: Breno <breno.demedeiros@gmail.com>
In-Reply-To: <f98165700912041046m2863c8d9s1114ed7ecc087f23@mail.gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail-2-325317196"
Content-Transfer-Encoding: 7bit
X-Mailer: iPhone Mail (7D11)
Mime-Version: 1.0 (iPhone Mail 7D11)
Date: Fri, 04 Dec 2009 18:54:31 +0000
Cc: "OAuth WG (oauth@ietf.org)" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Signature crypto
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/oauth>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Dec 2009 18:55:11 -0000
On 4 Dec 2009, at 18:46, Breno <breno.demedeiros@gmail.com> wrote: > +1 Me too. S. > > On Fri, Dec 4, 2009 at 10:37 AM, Brian Eaton <beaton@google.com> > wrote: > I think OAuth 1.0 got this right. Just specify the signature > algorithm. That can cover HMAC-SHA1, HMAC-SHA256, ECC, RSA-SHA1, > RSA-SHA256, and whatever other fancy magic someone comes up with next > year. > > Cheers, > Brian > > On Fri, Dec 4, 2009 at 10:28 AM, Eran Hammer-Lahav <eran@hueniverse.com > > wrote: > > It’s not really. > > > > > > > > We are talking about: > > > > > > > > 1. HMAC-specific: > > > > > > > > The server sends: > > > > > > > > methods=”HMAC:sha-1,sha-256” > > > > > > > > The client replies: > > > > > > > > method=”HMAC:sha-256” > > > > > > > > 2. MAC-generic: > > > > > > > > The server sends: > > > > > > > > methods=”MAC:hmac-sha1,hmac-sha256” > > > > > > > > The client replies: > > > > > > > > method=”MAC:hmac-sha256” > > > > > > > > Pick! > > > > > > > > EHL > > > > > > > > From: Breno [mailto:breno.demedeiros@gmail.com] > > Sent: Friday, December 04, 2009 10:23 AM > > > > To: Eran Hammer-Lahav > > Cc: Manger, James H; Stephen Farrell; OAuth WG (oauth@ietf.org) > > Subject: Re: [OAUTH-WG] Signature crypto > > > > > > > > There is no reason to make HMAC + hash a separate thing. > > > > > > > > It would make sense to define a way to specify a MAC, and to > specify HMAC > > with SHA-1 you need only say HMAC-SHA1 as the algorithm name. > > > > > > > > This is pretty conventional. > > > > On Fri, Dec 4, 2009 at 10:21 AM, Eran Hammer-Lahav <eran@hueniverse.com > > > > wrote: > > > > I was not suggesting to explicitly mention them, just allow them. > > > > > > > > Currently, I am proposing a HMAC option with the hash algorithm as a > > parameter. This would mean changing it to a MAC option with the > MAC type and > > hash algorithm as parameters. > > > > > > > > It adds a bit more complexity but nothing significant. However, if > there are > > no compelling reasons to do so (no actual use cases or > requirements), I am > > more inclined to stick with HMAC and allow others to extend it by > adding a > > new CMAC (etc.) method. > > > > > > > > EHL > > > > > > > > From: Breno [mailto:breno.demedeiros@gmail.com] > > Sent: Friday, December 04, 2009 10:17 AM > > To: Eran Hammer-Lahav > > Cc: Manger, James H; Stephen Farrell; OAuth WG (oauth@ietf.org) > > > > Subject: Re: [OAUTH-WG] Signature crypto > > > > > > > > While there are technical merits, both from security and performance > > standpoints, to the alternative MAC proposals, there is not > extensive > > library support for those, and AFAIK they have little usage in the > Internet. > > I am not sure if it makes sense for OAuth to be on the leading > edge in terms > > of MAC algorithm adoption. > > > > On Fri, Dec 4, 2009 at 10:07 AM, Eran Hammer-Lahav <eran@hueniverse.com > > > > wrote: > > > > Is there actual demand to make the HMAC method more generic to > allow other > > kinds of MAC? > > > > EHL > > > >> -----Original Message----- > >> From: Manger, James H [mailto:James.H.Manger@team.telstra.com] > >> Sent: Thursday, November 26, 2009 7:43 PM > >> To: Eran Hammer-Lahav; Stephen Farrell > >> Cc: OAuth WG (oauth@ietf.org) > > > >> Subject: RE: [OAUTH-WG] Signature crypto > >> > >> >> Sounds reasonable if all you need to negotiate are hash > algorithm > >> >> names. > >> >> Is that the case? > >> > >> > Yes. > >> > >> Not quite. > >> OAuth (at least the authentication part) mainly needs a MAC > algorithm, not > >> a > >> hash algorithm. > >> HMAC is one popular MAC algorithm that is build from a hash > algorithm. > >> However, there are other MAC algorithms — based on block ciphers > for > >> instance (eg CMAC-AES). > >> The hash registry http://www.iana.org/assignments/hash-function-text- > >> names/ is not really going to help. > >> > >> P.S. The body-signing OAuth extension is the one place that uses > a hash > >> (not > >> a MAC) directly. > >> > >> James Manger > > _______________________________________________ > > OAuth mailing list > > OAuth@ietf.org > > https://www.ietf.org/mailman/listinfo/oauth > > > > > > -- > > Breno de Medeiros > > > > > > -- > > Breno de Medeiros > > > > _______________________________________________ > > OAuth mailing list > > OAuth@ietf.org > > https://www.ietf.org/mailman/listinfo/oauth > > > > > > > > -- > Breno de Medeiros > > _______________________________________________ > OAuth mailing list > OAuth@ietf.org > https://www.ietf.org/mailman/listinfo/oauth
- [OAUTH-WG] Signature crypto Eran Hammer-Lahav
- Re: [OAUTH-WG] Signature crypto Peter Saint-Andre
- Re: [OAUTH-WG] Signature crypto Stephen Farrell
- Re: [OAUTH-WG] Signature crypto Infinity Linden (Meadhbh Hamrick)
- Re: [OAUTH-WG] Signature crypto Hubert Le Van Gong
- Re: [OAUTH-WG] Signature crypto Vrancken Bart bv
- Re: [OAUTH-WG] Signature crypto Tschofenig, Hannes (NSN - FI/Espoo)
- Re: [OAUTH-WG] Signature crypto Eran Hammer-Lahav
- Re: [OAUTH-WG] Signature crypto Stephen Farrell
- Re: [OAUTH-WG] Signature crypto Stephen Farrell
- Re: [OAUTH-WG] Signature crypto Eran Hammer-Lahav
- Re: [OAUTH-WG] Signature crypto Infinity Linden (Meadhbh Hamrick)
- Re: [OAUTH-WG] Signature crypto John Kemp
- Re: [OAUTH-WG] Signature crypto Brian Eaton
- Re: [OAUTH-WG] Signature crypto Ben Laurie
- Re: [OAUTH-WG] Signature crypto Breno
- Re: [OAUTH-WG] Signature crypto Breno
- Re: [OAUTH-WG] Signature crypto Manger, James H
- Re: [OAUTH-WG] Signature crypto Eran Hammer-Lahav
- Re: [OAUTH-WG] Signature crypto Breno
- Re: [OAUTH-WG] Signature crypto Eran Hammer-Lahav
- Re: [OAUTH-WG] Signature crypto Breno
- Re: [OAUTH-WG] Signature crypto Eran Hammer-Lahav
- Re: [OAUTH-WG] Signature crypto Breno
- Re: [OAUTH-WG] Signature crypto Eran Hammer-Lahav
- Re: [OAUTH-WG] Signature crypto Brian Eaton
- Re: [OAUTH-WG] Signature crypto Breno
- Re: [OAUTH-WG] Signature crypto Eran Hammer-Lahav
- Re: [OAUTH-WG] Signature crypto Breno
- Re: [OAUTH-WG] Signature crypto Breno
- Re: [OAUTH-WG] Signature crypto Stephen Farrell
- Re: [OAUTH-WG] Signature crypto Eran Hammer-Lahav
- Re: [OAUTH-WG] Signature crypto Brian Eaton
- Re: [OAUTH-WG] Signature crypto Breno
- Re: [OAUTH-WG] Signature crypto Eran Hammer-Lahav
- Re: [OAUTH-WG] Signature crypto Eran Hammer-Lahav
- Re: [OAUTH-WG] Signature crypto Paul C. Bryan
- Re: [OAUTH-WG] Signature crypto stephen.farrell
- Re: [OAUTH-WG] Signature crypto Breno
- Re: [OAUTH-WG] Signature crypto Eran Hammer-Lahav
- Re: [OAUTH-WG] Signature crypto Eran Hammer-Lahav
- Re: [OAUTH-WG] Signature crypto Richard Barnes
- Re: [OAUTH-WG] Signature crypto Breno
- Re: [OAUTH-WG] Signature crypto Richard L. Barnes