Re: [jose] DISCUSS: Nonce/Timestamp parameter
Justin Richer <jricher@mitre.org> Tue, 28 August 2012 14:34 UTC
Return-Path: <jricher@mitre.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D5CAB21F84F6 for <jose@ietfa.amsl.com>; Tue, 28 Aug 2012 07:34:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.562
X-Spam-Level:
X-Spam-Status: No, score=-6.562 tagged_above=-999 required=5 tests=[AWL=0.036, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
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 ryaPnZWQ5rCD for <jose@ietfa.amsl.com>; Tue, 28 Aug 2012 07:34:23 -0700 (PDT)
Received: from smtpksrv1.mitre.org (smtpksrv1.mitre.org [198.49.146.77]) by ietfa.amsl.com (Postfix) with ESMTP id AF74D21F84F3 for <jose@ietf.org>; Tue, 28 Aug 2012 07:34:22 -0700 (PDT)
Received: from smtpksrv1.mitre.org (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id AE33C21B1A7A; Tue, 28 Aug 2012 10:34:21 -0400 (EDT)
Received: from IMCCAS01.MITRE.ORG (imccas01.mitre.org [129.83.29.78]) by smtpksrv1.mitre.org (Postfix) with ESMTP id 7BDCE21B0625; Tue, 28 Aug 2012 10:34:21 -0400 (EDT)
Received: from [10.146.15.29] (129.83.31.58) by IMCCAS01.MITRE.ORG (129.83.29.78) with Microsoft SMTP Server (TLS) id 14.2.309.2; Tue, 28 Aug 2012 10:34:21 -0400
Message-ID: <503CD692.4020007@mitre.org>
Date: Tue, 28 Aug 2012 10:32:50 -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: Axel Nennker <ignisvulpis@googlemail.com>
References: <4E1F6AAD24975D4BA5B1680429673943667A93F8@TK5EX14MBXC284.redmond.corp.microsoft.com> <CAHcDwFzh6HcgsJYFXq71RWSwKWkMADBNQH7_goAtTFNmz-wSwQ@mail.gmail.com>
In-Reply-To: <CAHcDwFzh6HcgsJYFXq71RWSwKWkMADBNQH7_goAtTFNmz-wSwQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------060902090801060207080300"
X-Originating-IP: [129.83.31.58]
Cc: Mike Jones <Michael.Jones@microsoft.com>, Jim Schaad <ietf@augustcellars.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] DISCUSS: Nonce/Timestamp parameter
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Aug 2012 14:34:24 -0000
On 08/25/2012 03:37 AM, Axel Nennker wrote: > To clarify: What is the base specification that Jim mentioned? > Is it: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-03 ? > > Would somebody please present a use-case for either nonce or timestamp? > If a jwt is used with oauth2 then what is the difference between nonce > and state? Nonce would be signed while state is not? > Nonce would generally be generated by the entity creating the token. State in OAuth is generated by the client, and would only be protected if the client had a means to make a signed request to the server, using either a MAC binding or a JWT-based OIDC-style RequestObject. -- Justin > I guess I am missing some information that those in the room who voted > "yes" had? > > Axel > > 2012/8/25 Mike Jones <Michael.Jones@microsoft.com > <mailto:Michael.Jones@microsoft.com>> > > I'll note for discussion purposes that a nonce and a timestamp are > not the same thing (although sometimes they are used to achieve > similar/related goals). A nonce tends to be an opaque value that > must be preserved across the communication. Whereas a timestamp > typically has defined semantics - sometimes simply a > non-decreasing integer value - and sometimes a representation of > time, and then, sometimes with a uniqueness requirement. > > For discussion purposes, I'll say that the simplest thing for us > to do (should we decide to do anything in this regard) would be to > define the nonce as an opaque string value that must be preserved. > > We could also define a timestamp parameter, but as I wrote above, > that would likely require us to specify additional semantics - > starting with whether it's a non-decreasing integer or a > representation of a time value. This seems much harder to define > and possibly to use than a nonce. > > Would it make sense to define a nonce parameter now and hold off > on defining a timestamp parameter until there's a clear > demonstrated use case for which a nonce is not sufficient? That > would be my personal recommendation. > > Best wishes, > -- Mike > > -----Original Message----- > From: jose-bounces@ietf.org <mailto:jose-bounces@ietf.org> > [mailto:jose-bounces@ietf.org <mailto:jose-bounces@ietf.org>] On > Behalf Of Jim Schaad > Sent: Friday, August 17, 2012 12:05 AM > To: jose@ietf.org <mailto:jose@ietf.org> > Subject: [jose] POLL: Nonce/Timestamp parameter > > <CHAIR> > > If you voted at the face-2-face please do not vote again. If you > want to provide comments please change the title from POLL to DISCUSS. > > Do we need to define a nonce/timestamp parameter in the base > specification? > > > > Room vote: 6 yes, 0 no, 1 discuss > > > _______________________________________________ > jose mailing list > jose@ietf.org <mailto:jose@ietf.org> > https://www.ietf.org/mailman/listinfo/jose > > > _______________________________________________ > jose mailing list > jose@ietf.org <mailto:jose@ietf.org> > https://www.ietf.org/mailman/listinfo/jose > > > > > _______________________________________________ > jose mailing list > jose@ietf.org > https://www.ietf.org/mailman/listinfo/jose
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Justin Richer
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Mike Jones
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Axel.Nennker
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Mike Jones
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Axel.Nennker
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Dick Hardt
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Brian Eaton
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Dick Hardt
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Anthony Nadalin
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Axel.Nennker
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Mike Jones
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Dick Hardt
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Axel Nennker
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Stephen Kent
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Stephen Kent
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Richard Barnes
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Axel.Nennker
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Justin Richer
- Re: [jose] DISCUSS: Nonce/Timestamp parameter John Bradley
- Re: [jose] DISCUSS: Nonce/Timestamp parameter John Bradley
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Breno de Medeiros
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Brian Campbell
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Justin Richer
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Jim Schaad
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Mike Jones
- Re: [jose] DISCUSS: Nonce/Timestamp parameter Daniel Holth