Re: [OAUTH-WG] mistake in draft-ietf-oauth-v2-http-mac-01

Justin Richer <jricher@mitre.org> Wed, 08 August 2012 21:01 UTC

Return-Path: <jricher@mitre.org>
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 D5E2E21F8527 for <oauth@ietfa.amsl.com>; Wed, 8 Aug 2012 14:01:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.559
X-Spam-Level:
X-Spam-Status: No, score=-6.559 tagged_above=-999 required=5 tests=[AWL=0.040, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 dpDX1CZABk9o for <oauth@ietfa.amsl.com>; Wed, 8 Aug 2012 14:01:05 -0700 (PDT)
Received: from smtpksrv1.mitre.org (smtpksrv1.mitre.org [198.49.146.77]) by ietfa.amsl.com (Postfix) with ESMTP id 02B3021F851E for <oauth@ietf.org>; Wed, 8 Aug 2012 14:01:05 -0700 (PDT)
Received: from smtpksrv1.mitre.org (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 521FB21B1AF1; Wed, 8 Aug 2012 17:01:04 -0400 (EDT)
Received: from IMCCAS02.MITRE.ORG (imccas02.mitre.org [129.83.29.79]) by smtpksrv1.mitre.org (Postfix) with ESMTP id 4307621B1036; Wed, 8 Aug 2012 17:01:04 -0400 (EDT)
Received: from [129.83.50.26] (129.83.31.51) by IMCCAS02.MITRE.ORG (129.83.29.79) with Microsoft SMTP Server (TLS) id 14.2.309.2; Wed, 8 Aug 2012 17:01:04 -0400
Message-ID: <5022D344.40600@mitre.org>
Date: Wed, 08 Aug 2012 16:59:48 -0400
From: Justin Richer <jricher@mitre.org>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version: 1.0
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>
References: <CAOKdZ1dzVcKBDt6CSLuHwc4NzUVd_hUMWdpJVS6=ncdJo05=UQ@mail.gmail.com> <502280D8.40708@mitre.org> <9AD4EEF7-6187-4A4F-A855-32819BCB8321@gmx.net>
In-Reply-To: <9AD4EEF7-6187-4A4F-A855-32819BCB8321@gmx.net>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [129.83.31.51]
Cc: oauth@ietf.org, Justas Janauskas <jjanauskas@gmail.com>
Subject: Re: [OAUTH-WG] mistake in draft-ietf-oauth-v2-http-mac-01
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: Wed, 08 Aug 2012 21:01:06 -0000

I believe that there's value in per-message signing completely apart 
from the channel level encryption. MAC tokens let us do this with a 
per-token secret using a pattern very well established in OAuth1. I'm 
sorry that I wasn't at the Vancouver meeting to voice this opinion, for 
what it's worth.

  -- Justin

On 08/08/2012 12:24 PM, Hannes Tschofenig wrote:
> Hi Justas,
>
> thanks for sending your feedback to the list.
>
> There is indeed currently no editor for the document. That is, however, not the problem.
> The problem, as discussed on the list and also at the last IETF meeting, is that we do not yet know what type of security properties we want. The MAC draft may or may not provide the type of protection we want.
>
> For that reason we first have to figure out what problem we want to solve before we jump into the details of fixing some minor errors.
>
> Ciao
> Hannes
>
> On Aug 8, 2012, at 6:08 PM, Justin Richer wrote:
>
>> Thanks Justas. The MAC document is currently without an editor within the WG, so this is the best place to record the error.
>>
>> A wider note to the WG: I wouldn't mind taking over editorship of the MAC token document so long as I could get a co-editor with enough cryptographic expertise to make sure all the magical crypto bits work like they should. I've sent an email to the chairs saying as much, as well.
>>
>> -- Justin
>>
>> On 08/05/2012 06:30 AM, Justas Janauskas wrote:
>>> Hello,
>>>
>>> Sorry if this is not the right group to send this message; I am new here.
>>>
>>> I believe there is mistake in calculated request MAC presented in
>>> "draft-ietf-oauth-v2-http-mac-01" example, section 1.1.
>>>
>>> I made a small program to test correctness of an example and it shows
>>> that it is incorrectly calculated in the document:
>>> https://gist.github.com/3263677
>>>
>>> I have also implemented an example from previous draft 00, section 1.2
>>> which shows that request MAC is calculated correctly there:
>>> https://gist.github.com/3263765
>>>
>>> Thank you,
>>> Justas Janauskas
>>> _______________________________________________
>>> 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