Re: [OAUTH-WG] MAC Discussion

Phil Hunt <phil.hunt@oracle.com> Fri, 10 August 2012 17:03 UTC

Return-Path: <phil.hunt@oracle.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 24C1C21F8809 for <oauth@ietfa.amsl.com>; Fri, 10 Aug 2012 10:03:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.31
X-Spam-Level:
X-Spam-Status: No, score=-10.31 tagged_above=-999 required=5 tests=[AWL=0.289, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 1DHkc9BMoKX9 for <oauth@ietfa.amsl.com>; Fri, 10 Aug 2012 10:03:30 -0700 (PDT)
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by ietfa.amsl.com (Postfix) with ESMTP id E59B521F8808 for <oauth@ietf.org>; Fri, 10 Aug 2012 10:03:27 -0700 (PDT)
Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q7AH3Oqc026893 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 10 Aug 2012 17:03:25 GMT
Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q7AH3Oaq003839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Aug 2012 17:03:24 GMT
Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q7AH3N4a028346; Fri, 10 Aug 2012 12:03:23 -0500
Received: from [192.168.1.8] (/24.85.226.208) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 10 Aug 2012 10:03:23 -0700
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset="us-ascii"
From: Phil Hunt <phil.hunt@oracle.com>
In-Reply-To: <B33BFB58CCC8BE4998958016839DE27E067DF3E7@IMCMBX01.MITRE.ORG>
Date: Fri, 10 Aug 2012 10:03:22 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <6C75E137-2C30-4D74-AABE-EB4D97C5B56F@oracle.com>
References: <D1D2FF69-B27F-40DB-A774-64772B4BC4B2@gmx.net> <B33BFB58CCC8BE4998958016839DE27E067DF3E7@IMCMBX01.MITRE.ORG>
To: "Richer, Justin P." <jricher@mitre.org>
X-Mailer: Apple Mail (2.1278)
X-Source-IP: acsinet22.oracle.com [141.146.126.238]
Cc: "oauth@ietf.org WG" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] MAC Discussion
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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, 10 Aug 2012 17:03:31 -0000

There's no reason why the spec, or key elements of it can't be re-used.

But to assume it should be "THE" spec, goes against previous formal consensus (can't remember if it was Quebec or Paris meeting) and jumps the gun on defining what the problem is. If we jump into a spec without defining the problem, we're guessing.  What I saw of the previous email discussion was a lot of circular debate indicating no clear problem definition.

I agree, it would be nice to re-use code from previous implementations.  But that strikes me as an issue to raise when we discuss the implementation based upon future consensus of the problem.

Phil

@independentid
www.independentid.com
phil.hunt@oracle.com





On 2012-08-10, at 7:49 AM, Richer, Justin P. wrote:

> 
> On Aug 10, 2012, at 3:00 AM, Hannes Tschofenig wrote:
> 
>> Justin wrote: 
>> "
>> I believe that there's value in per-message signing completely apart from the channel level encryption. 
>> "
>> 
>> May well be. But we have to figure out what exactly the reasons are why there is value. 
> 
> Yes, there is value in this, and that's why we're collecting a handful of use cases to support this. Otherwise, people wouldn't keep reinventing this. See SAML and OpenID Connect's signed request object for other examples.
> 
>> 
>> Bill wrote:
>> "
>> I find the idea of starting from scratch frustrating. MAC solves a set of specific problems and has a well defined use case.
>> "
>> 
>> This would be a very quick process if we had ever done our home work properly. 
> 
> It's not done, but it's not empty. Why throw it out? Whether or not we continue the draft itself or import its best ideas into a new draft is beside the point.
> 
>> 
>> So, what are the problems it tries to solve? Yesterday I found an old presentation about MAC and the basic argument was that it has better performance than TLS. While that's true it is not a good argument per se. However, performance is not the only factor to look at and the negative performance impact caused by TLS is overrated.  
> 
> This is a red herring, as pointed out by other use cases.
> 
>> 
>> Here is the slide set I am talking about: 
>> http://www.tschofenig.priv.at/Why_are_we_Signing.pdf
>> 
>> In many cases I had noticed that more time was spent with the pictures (in slides and blog post) than with the content. That's not good IMHO. 
>> 
>> Bill, we can hardly call a specification "complete" if many of us don't know what problem it solves. John phrases it nicely as "Part of the problem with MAC has been that people could never agree on what it was protecting against." I am also interested in hearing about deployment constraints that people have. Blaine always said that many developers cannot get TLS to work. I am sure that's true but OAuth 2.0 requires TLS to be used anyway to secure the interaction with the authorization server. 
> 
> It solves this problem: How can I use the framework of OAuth to get a temporary signing key that I can use to protect HTTP messages with signing (without stuffing my parameters into a structured document like a SAML or JWT assertion)? There are many justifications for that problem and use cases that expand on this, but that's the core thing that the MAC does.
> 
>> 
>> Note: I am not saying that we are not going to standardize something like the MAC token (maybe with different details) but let us spend a little bit of time to figure out what threats we want to deal with. 
> 
> It's not just about threats, it's about capabilities and features. 
> 
> -- Justin
> 
>> 
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
> 
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth