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

William Mills <wmills_92105@yahoo.com> Thu, 09 August 2012 16:53 UTC

Return-Path: <wmills_92105@yahoo.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 9256221F875D for <oauth@ietfa.amsl.com>; Thu, 9 Aug 2012 09:53:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.884
X-Spam-Level:
X-Spam-Status: No, score=-2.884 tagged_above=-999 required=5 tests=[AWL=-0.286, BAYES_00=-2.599, HTML_MESSAGE=0.001]
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 tdYzQjxtlUYp for <oauth@ietfa.amsl.com>; Thu, 9 Aug 2012 09:52:59 -0700 (PDT)
Received: from nm17-vm0.bullet.mail.ne1.yahoo.com (nm17-vm0.bullet.mail.ne1.yahoo.com [98.138.91.58]) by ietfa.amsl.com (Postfix) with SMTP id 3A94C21F875B for <oauth@ietf.org>; Thu, 9 Aug 2012 09:52:59 -0700 (PDT)
Received: from [98.138.90.49] by nm17.bullet.mail.ne1.yahoo.com with NNFMP; 09 Aug 2012 16:52:55 -0000
Received: from [98.138.87.9] by tm2.bullet.mail.ne1.yahoo.com with NNFMP; 09 Aug 2012 16:52:55 -0000
Received: from [127.0.0.1] by omp1009.mail.ne1.yahoo.com with NNFMP; 09 Aug 2012 16:52:55 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 870643.41305.bm@omp1009.mail.ne1.yahoo.com
Received: (qmail 5378 invoked by uid 60001); 9 Aug 2012 16:52:55 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1344531175; bh=8n4XI8Y3XgYlaKq8+L01lERz+K8R/MhqCSXPdS1+FUQ=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ZTD9JyPNzxsB+C3VtvOGsAofVyfuoKOL2PjL9KjKcwUr2W+rVvNMrDHw5jnxm5Y9GmNVfAQQgaS9viipkTuALdtwF2bJPB3uQYUwsGBJEACkLBAOknCaJc1CLctwIXohP9piw2mHOOhHE5EnlAP81yAi/JLiNLS/oVN2Ejn9h08=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=mMdXrN8KbdpBSN69sJ/2mZI3PM2zQLM9zLb8rUyMrKu/bk0J/vIEAkjN8yrVR8RzQmIKxgtYBy+paVOHySKrPPm6axjDhdGimicV7MPAk3eIw+7u3bxvtx5JTxuD0WvLt92VpK/DTzseaLaMH2HGviEFM3vTNmBQLqgoKCqXc/4=;
X-YMail-OSG: 1r2.rSAVM1mkiLe.GBUz34LaYIKrfA8lNhO4C46CJ4T6oxV HbQSwfWDtuYU6foIeHFn8BQQVBAHEPAQktIitHT_WpoX_W9byiOqpXX8w0oz tNT_goTKpdixHrnA8rV_x79DLPVJco03nSKou65NQmlYpha4FNcf.vP2R0a4 HzQgQbqXJV_9cw36R3KHNFKjWAir2halNnaYWlHiWgS1_n6nKiVsLZ.YRsTH qIDQTvx2dSf2hjLq.h8MeuaD4cF5EaGvFV0df94IAac7g.f6oXfr50vzfIjE aQv9v2t_OAcjpu7sU9.eDL3cpCyAJsgOFTWjkUVxCiILuErRI7iOzhwa.618 5nDj1Rz3U1RzRdfqNZZFEonDc0Wvz98uYyf8DKngHn6CetTw1gILXAXIFtOP Eh_5pcHfJECyNQcHJc_MgiaAVNJvdCgrXzjU_WTjsnl051m_i8rFw.nIxIrM hhJPmtCXJ9pzioL1ZUssn7AtqIe9p3RQ3IaMwmG_QRRcy8mN6n8c7oKnSVam Fu.akgxgSzedep7ds7RbokgTHiHRmLOaAofm86_xByAA3rhQrjqBaDjCosJL g8MS6phltpyaj3Vc-
Received: from [209.131.62.115] by web31812.mail.mud.yahoo.com via HTTP; Thu, 09 Aug 2012 09:52:55 PDT
X-Mailer: YahooMailWebService/0.8.121.416
References: <CAOKdZ1dzVcKBDt6CSLuHwc4NzUVd_hUMWdpJVS6=ncdJo05=UQ@mail.gmail.com> <502280D8.40708@mitre.org> <9AD4EEF7-6187-4A4F-A855-32819BCB8321@gmx.net> <5022D344.40600@mitre.org> <EEBC9705-16C0-4697-8F38-28660C3CB553@ve7jtb.com> <5023CC18.9090809@mitre.org>
Message-ID: <1344531175.4871.YahooMailNeo@web31812.mail.mud.yahoo.com>
Date: Thu, 09 Aug 2012 09:52:55 -0700
From: William Mills <wmills_92105@yahoo.com>
To: "oauth@ietf.org" <oauth@ietf.org>
In-Reply-To: <5023CC18.9090809@mitre.org>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="1458549034-726678046-1344531175=:4871"
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
Reply-To: William Mills <wmills_92105@yahoo.com>
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: Thu, 09 Aug 2012 16:53:00 -0000

I find the idea of starting from scratch frustrating.  MAC solves a set of specific problems and has a well defined use case.  It's symmetric key based which doesn't work for some folks, and the question is do we try to develop something that supports both PK and SK, or finish the SK use case and then work on a PK based draft.

I think it's better to leave them separate and finish out MAC which is *VERY CLOSE* to being done.

-bill

On 08/08/2012 05:21 PM, John Bradley wrote:

> 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

_______________________________________________
OAuth mailing list
OAuth@ietf.org
https://www.ietf.org/mailman/listinfo/oauth