Re: [TSP] some considerations about ordering

Denis Pinkas <Denis.Pinkas@bull.net> Thu, 19 December 2002 08:29 UTC

Received: from above.proper.com (mail.proper.com [208.184.76.45]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA11568 for <pkix-archive@lists.ietf.org>; Thu, 19 Dec 2002 03:29:32 -0500 (EST)
Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBJ83Tb01130 for ietf-pkix-bks; Thu, 19 Dec 2002 00:03:29 -0800 (PST)
Received: from odin2.bull.net (odin2.bull.net [192.90.70.84]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBJ83Qo01126 for <ietf-pkix@imc.org>; Thu, 19 Dec 2002 00:03:27 -0800 (PST)
Received: from clbull.frcl.bull.fr (clbull.frcl.bull.fr [129.182.8.31]) by odin2.bull.net (8.9.3/8.9.3) with ESMTP id JAA08286; Thu, 19 Dec 2002 09:04:37 +0100
Received: from bull.net (frcls4013.frcl.bull.fr [129.182.108.120]) by clbull.frcl.bull.fr (8.9.2/8.9.1) with ESMTP id JAA18416; Thu, 19 Dec 2002 09:03:34 +0100
Message-ID: <3E017D48.40300@bull.net>
Date: Thu, 19 Dec 2002 09:03:20 +0100
From: Denis Pinkas <Denis.Pinkas@bull.net>
Organization: Bull SA.
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en, fr
MIME-Version: 1.0
To: tho <thomas.fossati@tin.it>
CC: ietf-pkix <ietf-pkix@imc.org>
Subject: Re: [TSP] some considerations about ordering
References: <20021218213514.A1569@congo.homeunix.net>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-pkix@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-pkix/mail-archive/>
List-ID: <ietf-pkix.imc.org>
List-Unsubscribe: <mailto:ietf-pkix-request@imc.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Thomas,

At this stage I would like you to focuss on interoperability testing rather 
a re-reading of the document.

Have you started an interoperability test ?
How many tests have you already done ?

The question you raise has already been addressed. See below.

> rfc3161 says:
>  
> "If the ordering field is present and set to true, every time-stamp
>  token from the same TSA can always be ordered based on the genTime
>  field, regardless of the genTime accuracy."
>  
> The fact that ordering is only possible through genTime field
> comparison seems too restrictive and adds complexity to the whole
> matter; furthermore ordering is a crucial/indispensable property
> in many application contextes so it should come easy and direct with
> TSP, not as a misterious option.

Most applications do not care about the ordering of time-stamps within the 
same second (genTime accuracy). The fact that such an ordering is not 
mandated allows for one TSU to use several crypto-accelerators each one with 
its own clock. This places less constraints on the implementation.

Denis

> The simple and straight solution, which for some unknown - at least to me -
> reason we forgot when moving from draft version 7 to 8) is to stick a
> monotonically increasing number to each produced token, either restoring
> the serialNumber field semantics as until draft-ietf-pkix-time-stamp-07
> (so making the ordering field useless), or alternatively through an
> equivalent extension field , e.g.
>  
> id-te-seqNumber OBJECT IDENTIFIER ::=  { <<TBD>> }
> seqNumber ::= INTEGER
>  
> [revamped draft v.7 text]
> -- The seqNumber field shall include a strictly monotonically increasing
> -- integer from one TimeStampToken to the next (e.g. 45, 236, 245, 1023, ...).
> -- This allows to compare the ordering of two time stamps from the same TSA.
> -- This is useful in particular when two time stamps from the same TSA bear the
> -- same time. The monotonic property must remain valid even after a possible
> -- interruption (e.g. crash) of the service.
>  
> in the latter case the ordering field is still meaningful, but in a different
> and broader sense than in rfc3161, i.e. (example replacement text):
> 
>   "If the ordering field is missing, or if the ordering field is present
>    and set to false, then two time-stamp tokens issued by the same TSA can be
>    ordered iff the two genTime differ, provided that the TSA accesses one only
>    reference clock.  Instead, the ordering of time-stamp tokens from different
>    TSAs is only possible when the difference between the genTime of the first
>    time-stamp token and the genTime of the second time-stamp token is greater
>    than the sum of the accuracies of the genTime for each time-stamp token.
> 
>    If the ordering field is present and set to true, every time-stamp
>    token from the same TSA can always be ordered based on the genTime
>    field, and/or the seqNumber extension value, regardless of the genTime
>    accuracy."
> 
> 
> Thomas
>