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

John Bradley <ve7jtb@ve7jtb.com> Wed, 08 August 2012 21:21 UTC

Return-Path: <ve7jtb@ve7jtb.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 7C1EE21F85AA for <oauth@ietfa.amsl.com>; Wed, 8 Aug 2012 14:21:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.485
X-Spam-Level:
X-Spam-Status: No, score=-3.485 tagged_above=-999 required=5 tests=[AWL=0.114, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 OkJZGzn2xi1o for <oauth@ietfa.amsl.com>; Wed, 8 Aug 2012 14:21:13 -0700 (PDT)
Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by ietfa.amsl.com (Postfix) with ESMTP id 5E75021F85A8 for <oauth@ietf.org>; Wed, 8 Aug 2012 14:21:13 -0700 (PDT)
Received: by yenm5 with SMTP id m5so1422847yen.31 for <oauth@ietf.org>; Wed, 08 Aug 2012 14:21:12 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=Dgj4Aws42nHAHx4eTuwdwAHUBrBn0R7/0s4FsrI06Uo=; b=LLNemwnaKamCOYbv0P86kTfTWn92vSo2Tk4XaMJ65t2s5ot9Q2jrDFnvZfjPDyIl6/ bA8ZdXFnF5ABVOlzn2MR03aKZTeAZPQyRuZ91lHF1j+lXhP055f8dMd3cqBzxZddYovt M9cXzZnpTpu95bPAes+tmAzNCQKGIIVBF/4011b8kFT/EQ5rak5IWbTg3IuaNvwUa78E lFxmV15ZeMt1xbJzLdMmXKCXUzSqI+oVii2Xs+EBDkUKb89f7s2u1OclSAsV9bfn6mK4 PHKl5/tdYbymlftfxTZaHgL1wbYIKAaNn1pAXXaX4UFvF0bAFAmOSXj5IbheBA8aKjda hIdA==
Received: by 10.100.244.25 with SMTP id r25mr4915944anh.30.1344460872667; Wed, 08 Aug 2012 14:21:12 -0700 (PDT)
Received: from [192.168.1.211] (190-20-28-180.baf.movistar.cl. [190.20.28.180]) by mx.google.com with ESMTPS id s12sm14833659anh.2.2012.08.08.14.21.06 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Aug 2012 14:21:09 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: multipart/signed; boundary="Apple-Mail=_3004E9BF-240F-4580-A046-6378BA1F2D65"; protocol="application/pkcs7-signature"; micalg="sha1"
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <5022D344.40600@mitre.org>
Date: Wed, 08 Aug 2012 17:21:52 -0400
Message-Id: <EEBC9705-16C0-4697-8F38-28660C3CB553@ve7jtb.com>
References: <CAOKdZ1dzVcKBDt6CSLuHwc4NzUVd_hUMWdpJVS6=ncdJo05=UQ@mail.gmail.com> <502280D8.40708@mitre.org> <9AD4EEF7-6187-4A4F-A855-32819BCB8321@gmx.net> <5022D344.40600@mitre.org>
To: Justin Richer <jricher@mitre.org>
X-Mailer: Apple Mail (2.1278)
X-Gm-Message-State: ALoCoQmlHiFOeFIOkJ33Y4dRrpFlz93dipw4z7qv5GJL+ks67J25hIrty6AmpISW0SY8+66gD+Gs
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:21:14 -0000

We did discuss per message signing in Vancouver.

The idea is to get agreement on the threats we are trying to mitigate, then decide on the mechanisms.

Per message signing will likely still be one of the mechanisms. 

The chair will need to decide if we start fresh and copy the parts of MAC that are needed or try and continue the existing MAC draft.

John B.

On 2012-08-08, at 4:59 PM, Justin Richer wrote:

> 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
> 
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth