Re: [OAUTH-WG] draft-ietf-oauth-v2-http-mac and draft-tschofenig-oauth-hotk re-submitted
Sergey Beryozkin <sberyozkin@gmail.com> Tue, 26 February 2013 12:36 UTC
Return-Path: <sberyozkin@gmail.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 5609121F8921 for <oauth@ietfa.amsl.com>; Tue, 26 Feb 2013 04:36:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.883
X-Spam-Level:
X-Spam-Status: No, score=-2.883 tagged_above=-999 required=5 tests=[AWL=-0.484, BAYES_00=-2.599, J_CHICKENPOX_33=0.6, J_CHICKENPOX_63=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KdMkO6HyFTA3 for <oauth@ietfa.amsl.com>; Tue, 26 Feb 2013 04:36:28 -0800 (PST)
Received: from mail-ee0-f48.google.com (mail-ee0-f48.google.com [74.125.83.48]) by ietfa.amsl.com (Postfix) with ESMTP id E421C21F8821 for <oauth@ietf.org>; Tue, 26 Feb 2013 04:36:27 -0800 (PST)
Received: by mail-ee0-f48.google.com with SMTP id t10so2322209eei.21 for <oauth@ietf.org>; Tue, 26 Feb 2013 04:36:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=2N+sUPYNTjrofbOg4L4q5DZLIb4kXuJPbCLH8QQ7jIA=; b=IHPEkg0MPu3de+hhFey94iOsclDxUHFaxR0g6jEQ22xl9Xfoqj/9SkX8UaMKA+6k1F sX953R46aldL2G34XOUC1U404kTzlBOckx0q6mRM/MdOWsshr0ifOg4Xpvrkvw8EG/Ps uoy/+SdVGn4/nCp6+1Y0MaHfWuxfLPaQQWlB649hSZQD6s3eF4thejM1FNdwy7HhpwhU N//JwkSuQ2uq5drjn4CyQxm+B8bhrj8KoXQqxWhQe+v1lA5kPNkZpq9UHZkafkaE0nmy kTxXncd5HoZyDZBmhqmK5EWQQYOouC22jlq1c35aEcvl2eQ0eoQA72+mI2y1xE0+W7NL YdKg==
X-Received: by 10.14.194.198 with SMTP id m46mr49404552een.8.1361882184709; Tue, 26 Feb 2013 04:36:24 -0800 (PST)
Received: from [10.36.226.5] ([217.173.99.61]) by mx.google.com with ESMTPS id o3sm1252248eem.15.2013.02.26.04.36.23 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Feb 2013 04:36:23 -0800 (PST)
Message-ID: <512CAC45.9070501@gmail.com>
Date: Tue, 26 Feb 2013 12:36:21 +0000
From: Sergey Beryozkin <sberyozkin@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1
MIME-Version: 1.0
To: oauth@ietf.org
References: <AECF561A-BD17-4FF0-B60A-FB8594159EA9@gmx.net>
In-Reply-To: <AECF561A-BD17-4FF0-B60A-FB8594159EA9@gmx.net>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: Re: [OAUTH-WG] draft-ietf-oauth-v2-http-mac and draft-tschofenig-oauth-hotk re-submitted
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: Tue, 26 Feb 2013 12:36:29 -0000
Hi Hannes On 25/02/13 12:46, Hannes Tschofenig wrote: > Hi all, > > I just submitted an updated version of the draft-ietf-oauth-v2-http-mac-03.txt. > It definitely has more interesting content (about architecture, session keys, etc) - this is really useful IMHO. What I'm not really understanding is why a 2-way TLS transport for the session key is not even considered. Instead this uber-complex (in the context of this spec, IMHO) JWT thing is there once again. I appreciate why it may be the case, primarily to do with reusing the work done around JWT and having some common/recommended access token representation, but disallowing a basic bearer token be 'enhanced' with MAC over two-way TLS seems like not ideal at all IMHO. To be honest, I'm not sure why would anyone use JWT+MAC instead of just JWE, in cases when people are really comfortable with doing JWT. I guess we may be talking now about better security characteristics, but this will help a very limited audience as compared to a wider one which can use Bearer+MAC over 2-way TLS, straightforward, very cheap effort to get started. just my 2c Thanks, Sergey > I would like to point out that this is **discussion input** -- not agreed content. Anything in the document is subject to change! > You also may notice that there are a few questions in the writeup. > > I was trying to more specific about some of the design aspects that folks had proposed during the last few months. > I have also re-submitted the draft-tschofenig-oauth-hotk, which includes a TLS and a JSON-based solution approach. > > In general, the open questions still seem to be related to > * Key distribution: What should be described in a document? What is mandatory to implement? > * Selective header field protection: This is something that was brought forward in discussions and I have included a proposal of how this could look like. > * Channel Binding: Functionality is also included to deal with man-in-the-middle attacks against TLS. There are, however, two types of channel bindings defined in RFC 5929. Are both needed? If not, which one should be selected? > * Integrity protection and data origin authentication in both directions: The current writeup allows the protection to be extended to messages beyond the initial request. This also offers key confirmation by the server and protection of any responses. > > Writing the text I also noticed that I do not quite understand how nested JWT documents are supposed to look like. For example, how do I encrypt the mac_key carried inside the JWT plus add a signature of all other fields? Currently, I have just encrypted the entire payload. > > I hope to have some discussions prior to the IETF meeting so that we have a more fruitful discussion at the face-to-face meeting. > > Ciao > Hannes > > _______________________________________________ > OAuth mailing list > OAuth@ietf.org > https://www.ietf.org/mailman/listinfo/oauth
- [OAUTH-WG] draft-ietf-oauth-v2-http-mac and draft… Hannes Tschofenig
- Re: [OAUTH-WG] draft-ietf-oauth-v2-http-mac and d… Sergey Beryozkin
- Re: [OAUTH-WG] draft-ietf-oauth-v2-http-mac and d… Sergey Beryozkin
- Re: [OAUTH-WG] draft-ietf-oauth-v2-http-mac and d… Hannes Tschofenig
- Re: [OAUTH-WG] draft-ietf-oauth-v2-http-mac and d… Sergey Beryozkin
- Re: [OAUTH-WG] draft-ietf-oauth-v2-http-mac and d… Hannes Tschofenig
- Re: [OAUTH-WG] draft-ietf-oauth-v2-http-mac and d… Sergey Beryozkin
- [OAUTH-WG] Using access token in draft-ietf-oauth… Sergey Beryozkin