Return-Path: <dholth@gmail.com>
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 6A1C61F0C44 for <jose@ietfa.amsl.com>;
 Thu,  4 Oct 2012 18:01:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.901
X-Spam-Level: 
X-Spam-Status: No, score=-2.901 tagged_above=-999 required=5 tests=[AWL=-0.699,
 BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396,
 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 euzoecsWyZ5v for
 <jose@ietfa.amsl.com>; Thu,  4 Oct 2012 18:00:59 -0700 (PDT)
Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com
 [209.85.214.172]) by ietfa.amsl.com (Postfix) with ESMTP id 590141F041F for
 <jose@ietf.org>; Thu,  4 Oct 2012 18:00:59 -0700 (PDT)
Received: by mail-ob0-f172.google.com with SMTP id v19so1417766obq.31 for
 <jose@ietf.org>; Thu, 04 Oct 2012 18:00:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=references:mime-version:in-reply-to:content-type
 :content-transfer-encoding:message-id:cc:x-mailer:from:subject:date :to;
 bh=uUjhpREkotqc8fZYXA+R3J/PdJ6Bnbaw+jF5aWi9U8s=;
 b=MPkLDJe2keYdzkGtmQHdzcciZ8/zCKvxJObwXo2B4IJyhBqdt+LLMIJVmYvClJavPB
 TQYcQ3qZGz2vVx3ao345ZGrLphjYe6vXG1WYjXq71Nb1a/RGptYbMgDD2FSS/1riGqE+
 hOMRA4DVN3TApgb1pkc6IQcfE6iWxlkkSyf3i6o+oD8nN1RzKWHbJUsXdd4Ni+PaBEaW
 AKswz6LdVEyL2BDusF4yCM+iwNv+ukReJJFdO2CZ/DvNOqszdJCPGzbZD8XTw7uFfWeZ
 02g8mxAXg42xxH7ZSoEacKHYgaAkR59SJs3Xnpq1eJVWQlwyIJhTBPRJV6RPUPVjrOf1 HIqQ==
Received: by 10.60.11.1 with SMTP id m1mr5784476oeb.47.1349398858896;
 Thu, 04 Oct 2012 18:00:58 -0700 (PDT)
Received: from ?IPv6:2001:470:8:e7c:908a:6c87:73c6:e647?
 ([2001:470:8:e7c:908a:6c87:73c6:e647]) by mx.google.com with ESMTPS id
 hz6sm8116891obb.1.2012.10.04.18.00.56 (version=SSLv3 cipher=OTHER);
 Thu, 04 Oct 2012 18:00:57 -0700 (PDT)
References: <CE8995AB5D178F44A2154F5C9A97CAF402517E00B8B5@HE111541.emea1.cds.t-internal.com>
 <CE8995AB5D178F44A2154F5C9A97CAF402517E00C0E7@HE111541.emea1.cds.t-internal.com>
 <8777DAED-4ADA-4691-B5CD-0E5CF308BC1C@gmail.com>
 <CALT9B_Tnz+9=a-NPuUTeSb31fFMi1cJMB-SeM7QJmSh=XrhHTA@mail.gmail.com>
 <6C5B4E61-C18F-470A-955C-B099A2208788@gmail.com>
 <CE8995AB5D178F44A2154F5C9A97CAF402517E00C107@HE111541.emea1.cds.t-internal.com>
 <97A7AE3F-E3AE-4F8A-9A34-8DCD780B3C05@gmail.com>
 <05f101cd8597$cff358c0$6fda0a40$@augustcellars.com>
 <4E1F6AAD24975D4BA5B1680429673943668025FD@TK5EX14MBXC284.redmond.corp.microsoft.com>
Mime-Version: 1.0 (1.0)
In-Reply-To: <4E1F6AAD24975D4BA5B1680429673943668025FD@TK5EX14MBXC284.redmond.corp.microsoft.com>
Content-Type: multipart/alternative;
 boundary=Apple-Mail-1DED3AF9-CCE8-466B-9B16-FAAA575CF88C
Content-Transfer-Encoding: 7bit
Message-Id: <FCC99C9A-6650-4A60-AA50-30ADE106637B@gmail.com>
X-Mailer: iPad Mail (10A403)
From: Daniel Holth <dholth@gmail.com>
Date: Thu, 4 Oct 2012 21:00:53 -0400
To: Mike Jones <Michael.Jones@microsoft.com>
Cc: Karen O'Donoghue <odonoghue@isoc.org>, "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: Fri, 05 Oct 2012 01:01:00 -0000

--Apple-Mail-1DED3AF9-CCE8-466B-9B16-FAAA575CF88C
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

Would it be too confusing to ask for a sat "signed at" field for the header?=
 In my application this makes more sense (with the multiple signatures seria=
lization specification jws-js) than a payload time stamp.

Daniel Holth

On Oct 4, 2012, at 8:15 PM, Mike Jones <Michael.Jones@microsoft.com> wrote:

> As editor, I=E2=80=99m going to make the observation this is the one poll q=
uestion where the results are not clear enough for it to be obvious what I s=
hould do.  There were many people who made comments about the question being=
 unclear and the intended use and meaning of the potential field or fields u=
nclear.
> =20
> Unless you feel differently, Karen and Jim, I believe that the best course=
 at this point is for me to add nothing to the specs as a result of this pol=
l question, but for the working group to try to make decisions on much less a=
mbiguous proposals (should any be made) than the one in the poll question.
> =20
>                                                             -- Mike
> =20
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Ji=
m Schaad
> Sent: Tuesday, August 28, 2012 8:38 PM
> To: 'Dick Hardt'; Axel.Nennker@telekom.de
> Cc: beaton@google.com; jose@ietf.org
> Subject: Re: [jose] DISCUSS: Nonce/Timestamp parameter
> =20
> The question from my point of view is that common fields from many structu=
res should potentially be supported in the base specification so that they c=
an be common rather than having each structure define them separately.  This=
 is only an issue if one wishes them to be placed in the header structure an=
d not in the data structure.=20
> =20
> If one is looking at signing an unstructured data object =E2=80=93 such as=
 a file =E2=80=93 then it becomes difficult to have the fields such as a tim=
e that it was signed be part of the file itself, especially if one is applyi=
ng multiple signatures at different times.  This is not an issue for the tok=
en specification but could be for other uses of the signature or encryption s=
pecifications.
> =20
> I would agree that =E2=80=9Ciat=E2=80=9D is a timestamp for the purposes o=
f this conversation.  If one wanted a formalized timestamp from a third part=
y authority then a totally different way of going about it would be required=
.  I chose the term nonce or timestamp because both had been discussed in th=
e past without any specific resolution about what is needed.
> =20
> Jim
> =20
> =20
> From: Dick Hardt [mailto:dick.hardt@gmail.com]=20
> Sent: Monday, August 27, 2012 2:55 PM
> To: Axel.Nennker@telekom.de
> Cc: dick.hardt@gmail.com; beaton@google.com; ietf@augustcellars.com; jose@=
ietf.org
> Subject: Re: [jose] DISCUSS: Nonce/Timestamp parameter
> =20
> I was considering "iat" to be the timestamp. I was not thinking there woul=
d be an additional timestamp.
> =20
> On Aug 27, 2012, at 2:13 PM, <Axel.Nennker@telekom.de> wrote:
> =20
>=20
> We have exp
>                 https://tools.ietf.org/html/draft-ietf-oauth-json-web-toke=
n-03#section-4.1.1
> and iat
>                 https://tools.ietf.org/html/draft-ietf-oauth-json-web-toke=
n-03#section-4.1.3
> in JWT. Why do we need a timestamp?
> =20
> Replay attacks of the same jwt can be mitigated through the jti claim
> https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-03#section-4.1=
.7
> =20
> What do timestamp and nonce add to these?
> =20
> Axel
> =20
> =20
> =20
> From: Dick Hardt [mailto:dick.hardt@gmail.com]=20
> Sent: Monday, August 27, 2012 10:23 PM
> To: Brian Eaton
> Cc: Nennker, Axel; Jim Schaad; jose@ietf.org
> Subject: Re: [jose] DISCUSS: Nonce/Timestamp parameter
> =20
> =20
> On Aug 27, 2012, at 1:06 PM, Brian Eaton wrote:
>=20
>=20
>=20
> On Mon, Aug 27, 2012 at 12:11 PM, Dick Hardt <dick.hardt@gmail.com> wrote:=

> I have an application for JWT that is not OAuth2.
> =20
> Should nonce and timestamp logic go in the application level protocol?
> =20
> I prefer to NOT have the application level deal with token validity.
>=20
>=20
>=20
> =20
> Having said that, nonce's are difficult to implement at scale and I have h=
eard of many sites that don't implement them fully.
> =20
> Nonce alone can't be implemented efficiently.  You have to have time stamp=
s as well, otherwise you are stuck storing ever nonce you've ever seen, fore=
ver.
> =20
> Even nonce + time stamp is challenging in distributed systems.  It adds a l=
ot of complexity.  That complexity is sometimes merited, but not always.
> =20
> Thanks for confirming my statement.
> =20
> I have stopped using nonce and only use time stamps lately and have made t=
he system relatively stateless so that a second submission of the token is o=
k. That may not work for everyone, but I have found that architecture to be e=
asier to implement and scale.
> =20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose

--Apple-Mail-1DED3AF9-CCE8-466B-9B16-FAAA575CF88C
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div>Would it be too confusing to ask for a=
 sat "signed at" field for the header? In my application this makes more sen=
se (with the multiple signatures serialization specification jws-js) than a p=
ayload time stamp.<br><br>Daniel Holth</div><div><br>On Oct 4, 2012, at 8:15=
 PM, Mike Jones &lt;<a href=3D"mailto:Michael.Jones@microsoft.com">Michael.J=
ones@microsoft.com</a>&gt; wrote:<br><br></div><blockquote type=3D"cite"><di=
v>

<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii">=

<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<base href=3D"x-msg://4133/"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.apple-style-span
	{mso-style-name:apple-style-span;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.EmailStyle21
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle22
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->


<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">As editor, I=E2=80=99m goin=
g to make the observation this is the one poll question where the results ar=
e not clear enough for it to be obvious what I should do.&nbsp; There
 were many people who made comments about the question being unclear and the=
 intended use and meaning of the potential field or fields unclear.<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Unless you feel differently=
, Karen and Jim, I believe that the best course at this point is for me to a=
dd nothing to the specs as a result of this poll question,
 but for the working group to try to make decisions on much less ambiguous p=
roposals (should any be made) than the one in the poll question.<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0=
in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot;=
Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-siz=
e:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href=3D"=
mailto:jose-bounces@ietf.org">jose-bounces@ietf.org</a> [<a href=3D"mailto:j=
ose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>]
<b>On Behalf Of </b>Jim Schaad<br>
<b>Sent:</b> Tuesday, August 28, 2012 8:38 PM<br>
<b>To:</b> 'Dick Hardt'; <a href=3D"mailto:Axel.Nennker@telekom.de">Axel.Nen=
nker@telekom.de</a><br>
<b>Cc:</b> <a href=3D"mailto:beaton@google.com">beaton@google.com</a>; <a hr=
ef=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b> Re: [jose] DISCUSS: Nonce/Timestamp parameter<o:p></o:p></sp=
an></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">The question from my point o=
f view is that common fields from many structures should potentially be supp=
orted in the base specification so that they can be
 common rather than having each structure define them separately.&nbsp; This=
 is only an issue if one wishes them to be placed in the header structure an=
d not in the data structure.&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">If one is looking at signin=
g an unstructured data object =E2=80=93 such as a file =E2=80=93 then it bec=
omes difficult to have the fields such as a time that it was signed be
 part of the file itself, especially if one is applying multiple signatures a=
t different times.&nbsp; This is not an issue for the token specification bu=
t could be for other uses of the signature or encryption specifications.<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I would agree that =E2=80=9C=
iat=E2=80=9D is a timestamp for the purposes of this conversation.&nbsp; If o=
ne wanted a formalized timestamp from a third party authority then a totally=

 different way of going about it would be required.&nbsp; I chose the term n=
once or timestamp because both had been discussed in the past without any sp=
ecific resolution about what is needed.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Jim<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4=
.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0=
in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot;=
Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-siz=
e:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Dick Hardt
<a href=3D"mailto:[mailto:dick.hardt@gmail.com]">[mailto:dick.hardt@gmail.co=
m]</a> <br>
<b>Sent:</b> Monday, August 27, 2012 2:55 PM<br>
<b>To:</b> <a href=3D"mailto:Axel.Nennker@telekom.de">Axel.Nennker@telekom.d=
e</a><br>
<b>Cc:</b> <a href=3D"mailto:dick.hardt@gmail.com">dick.hardt@gmail.com</a>;=
 <a href=3D"mailto:beaton@google.com">
beaton@google.com</a>; <a href=3D"mailto:ietf@augustcellars.com">ietf@august=
cellars.com</a>;
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b> Re: [jose] DISCUSS: Nonce/Timestamp parameter<o:p></o:p></sp=
an></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I was considering "iat" to be the timestamp. I was no=
t thinking there would be an additional timestamp.<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Aug 27, 2012, at 2:13 PM, &lt;<a href=3D"mailto:Ax=
el.Nennker@telekom.de">Axel.Nennker@telekom.de</a>&gt; wrote:<o:p></o:p></p>=

</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;">We have exp<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class=3D"apple-conver=
ted-space">&nbsp;</span><a href=3D"https://tools.ietf.org/html/draft-ietf-oa=
uth-json-web-token-03#section-4.1.1">https://tools.ietf.org/html/draft-ietf-=
oauth-json-web-token-03#section-4.1.1</a><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;">and iat<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class=3D"apple-conver=
ted-space">&nbsp;</span><a href=3D"https://tools.ietf.org/html/draft-ietf-oa=
uth-json-web-token-03#section-4.1.3">https://tools.ietf.org/html/draft-ietf-=
oauth-json-web-token-03#section-4.1.3</a><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;">in JWT. Why do we need a timestamp?<o:p><=
/o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;">Replay attacks of the same jwt can be mit=
igated through the jti claim<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;"><a href=3D"https://tools.ietf.org/html/dr=
aft-ietf-oauth-json-web-token-03#section-4.1.7">https://tools.ietf.org/html/=
draft-ietf-oauth-json-web-token-03#section-4.1.7</a><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;">What do timestamp and nonce add to these?=
<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;">Axel<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p=
>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p=
>
</div>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0=
in 0in;border-width:initial;border-color:initial">
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot;=
Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span class=3D"apple-co=
nverted-space"><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot=
;,&quot;sans-serif&quot;">&nbsp;</span></span><span style=3D"font-size:10.0p=
t;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Dick
 Hardt <a href=3D"mailto:[mailto:dick.hardt@gmail.com]">[mailto:dick.hardt@g=
mail.com]</a><span class=3D"apple-converted-space">&nbsp;</span><br>
<b>Sent:</b><span class=3D"apple-converted-space">&nbsp;</span>Monday, Augus=
t 27, 2012 10:23 PM<br>
<b>To:</b><span class=3D"apple-converted-space">&nbsp;</span>Brian Eaton<br>=

<b>Cc:</b><span class=3D"apple-converted-space">&nbsp;</span>Nennker, Axel; J=
im Schaad; <a href=3D"mailto:jose@ietf.org">
jose@ietf.org</a><br>
<b>Subject:</b><span class=3D"apple-converted-space">&nbsp;</span>Re: [jose]=
 DISCUSS: Nonce/Timestamp parameter</span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<div>
<div>
<p class=3D"MsoNormal">On Aug 27, 2012, at 1:06 PM, Brian Eaton wrote:<o:p><=
/o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><br>
<br>
<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">On Mon, Aug 27, 2012 at 12:11 PM, Dick Hardt &lt;<a h=
ref=3D"mailto:dick.hardt@gmail.com" target=3D"_blank">dick.hardt@gmail.com</=
a>&gt; wrote:<o:p></o:p></p>
</div>
<div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0in=
 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bo=
ttom:5.0pt;border-width:initial;border-color:initial">
<div>
<p class=3D"MsoNormal">I have an application for JWT that is not OAuth2.<o:p=
></o:p></p>
</div>
</blockquote>
<div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">Should nonce and timestamp logic go in the applicatio=
n level protocol?<o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">I prefer to NOT have the application level deal with t=
oken validity.<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><br>
<br>
<o:p></o:p></p>
</div>
<div>
<div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0in=
 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bo=
ttom:5.0pt;border-width:initial;border-color:initial">
<div>
<p class=3D"MsoNormal">Having said that, nonce's are difficult to implement a=
t scale and I have heard of many sites that don't implement them fully.<o:p>=
</o:p></p>
</div>
</blockquote>
<div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">Nonce alone can't be implemented efficiently. &nbsp;Y=
ou have to have time stamps as well, otherwise you are stuck storing ever no=
nce you've ever seen, forever.<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">Even nonce + time stamp is challenging in distributed=
 systems. &nbsp;It adds a lot of complexity. &nbsp;That complexity is someti=
mes merited, but not always.<o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">Thanks for confirming my statement.<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">I have stopped using nonce and only use time stamps l=
ately and have made the system relatively stateless so that a second submiss=
ion of the token is ok. That may not work for everyone, but I have found tha=
t architecture to be easier to
 implement and scale.<o:p></o:p></p>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>


</div></blockquote><blockquote type=3D"cite"><div><span>____________________=
___________________________</span><br><span>jose mailing list</span><br><spa=
n><a href=3D"mailto:jose@ietf.org">jose@ietf.org</a></span><br><span><a href=
=3D"https://www.ietf.org/mailman/listinfo/jose">https://www.ietf.org/mailman=
/listinfo/jose</a></span><br></div></blockquote></body></html>=

--Apple-Mail-1DED3AF9-CCE8-466B-9B16-FAAA575CF88C--
