Re: [jose] POLL(s): header criticality

"Manger, James H" <James.H.Manger@team.telstra.com> Thu, 07 February 2013 11:04 UTC

Return-Path: <James.H.Manger@team.telstra.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 3D4B321F85CB for <jose@ietfa.amsl.com>; Thu, 7 Feb 2013 03:04:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.901
X-Spam-Level:
X-Spam-Status: No, score=-0.901 tagged_above=-999 required=5 tests=[AWL=-0.001, BAYES_00=-2.599, HELO_EQ_AU=0.377, HOST_EQ_AU=0.327, HTML_MESSAGE=0.001, RELAY_IS_203=0.994]
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 X5eD+1IooccO for <jose@ietfa.amsl.com>; Thu, 7 Feb 2013 03:04:23 -0800 (PST)
Received: from ipxavo.tcif.telstra.com.au (ipxavo.tcif.telstra.com.au [203.35.135.200]) by ietfa.amsl.com (Postfix) with ESMTP id 0390621F8596 for <jose@ietf.org>; Thu, 7 Feb 2013 03:04:21 -0800 (PST)
X-IronPort-AV: E=Sophos; i="4.84,621,1355058000"; d="scan'208,217"; a="116774408"
Received: from unknown (HELO ipccvi.tcif.telstra.com.au) ([10.97.217.208]) by ipoavi.tcif.telstra.com.au with ESMTP; 07 Feb 2013 22:04:20 +1100
X-IronPort-AV: E=McAfee;i="5400,1158,6978"; a="111666672"
Received: from wsmsg3751.srv.dir.telstra.com ([172.49.40.172]) by ipccvi.tcif.telstra.com.au with ESMTP; 07 Feb 2013 22:04:20 +1100
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by WSMSG3751.srv.dir.telstra.com ([172.49.40.172]) with mapi; Thu, 7 Feb 2013 22:04:20 +1100
From: "Manger, James H" <James.H.Manger@team.telstra.com>
To: "jose@ietf.org" <jose@ietf.org>
Date: Thu, 07 Feb 2013 22:04:18 +1100
Thread-Topic: [jose] POLL(s): header criticality
Thread-Index: Ac4EnIUH3eTXKcmtT+G1M9YxGZQXagAhK1FQ
Message-ID: <255B9BB34FB7D647A506DC292726F6E11506FD2258@WSMSG3153V.srv.dir.telstra.com>
References: <510FCA42.5000704@isoc.org> <CABzCy2BjRfCFum7fiALTkTMN2aHA3Enq6CNKn8BnsH4XQh28Ug@mail.gmail.com> <CAL02cgQPT8qz2s3w+weWCvWVSSJ==DtVBHGpE=tqhs9LJWxymQ@mail.gmail.com>
In-Reply-To: <CAL02cgQPT8qz2s3w+weWCvWVSSJ==DtVBHGpE=tqhs9LJWxymQ@mail.gmail.com>
Accept-Language: en-US, en-AU
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US, en-AU
Content-Type: multipart/alternative; boundary="_000_255B9BB34FB7D647A506DC292726F6E11506FD2258WSMSG3153Vsrv_"
MIME-Version: 1.0
Subject: Re: [jose] POLL(s): header criticality
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: Thu, 07 Feb 2013 11:04:24 -0000

1. NO

2. NO

3. C -- one critical field; the definition of each value for this field implies what else you need to understand; if you want to add a new field that MUST be understood, just use a new value for the one critical field.





I second Richard's comment about YES to 2.

What would a JOSE library API look like if all fields MUST be understood by “the system”? Does the “top” layer tell the library what it understands; does the library return a list of unrecognized fields?

--
James Manger

From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Richard Barnes
Sent: Thursday, 7 February 2013 6:02 AM
To: odonoghue@isoc.org; jose@ietf.org
Subject: Re: [jose] POLL(s): header criticality

tl;dr:
FIRST POLL:   NO
SECOND POLL:  NO
THIRD POLL:   B

Further notes:

On SECOND POLL: Voting "Yes" on the SECOND POLL is equivalent to voting "NO" on the FIRST POLL.  If the requirement isn't placed on any particular element of the system, then nobody will implement it, and there will be no control.

On THIRD POLL: I don't care all that much about the specific syntax, but I have a strong preference that these non-critical fields be excluded from the integrity check that is applied to the header.  So I would prefer something like what Dick suggested, but encoded as a separate element of a JW* object.  As Breno notes, this can be done in a backwards compatible way.  (I voted "B" because I understood "A" to imply something like Mike's earlier proposal, which would have just had a list of field names.)

In any case, I would encourage the chairs to focus on the first poll, and view any results in the second and third as informative for further discussion of wording or syntax.


On Wed, Feb 6, 2013 at 1:47 PM, Nat Sakimura <sakimura@gmail.com<mailto:sakimura@gmail.com>> wrote:
FIRST POLL:  NO
SECOND POLL:  YES
THIRD POLL:  A

2013/2/4 Karen O'Donoghue <odonoghue@isoc.org<mailto:odonoghue@isoc.org>>
Folks,

I am wrestling with how to help drive consensus on the topic of criticality of headers. For background, please review the current specification text, the minutes to the Atlanta meeting (IETF85), and the mailing list (especially the discussion in December with (Subj: Whether implementations must understand all JOSE header fields)). We need to come to closure on this issue in order to progress the specifications.

As a tool to gather further information on determining a way forward, the following polls have been created. Please respond before 11 February 2013.

Thanks,
Karen

*******************
FIRST POLL: Should all header fields be critical for implementations to understand?

YES – All header fields must continue to be understood by implementations or the input must be rejected.

NO – A means of listing that specific header fields may be safely ignored should be defined.

********************
SECOND POLL: Should the result of the first poll be "YES", should text like the following be added? “Implementation Note: The requirement to understand all header fields is a requirement on the system as a whole – not on any particular level of library software. For instance, a JOSE library could process the headers that it understands and then leave the processing of the rest of them up to the application. For those headers that the JOSE library didn’t understand, the responsibility for fulfilling the ‘MUST understand’ requirement for the remaining headers would then fall to the application.”

YES – Add the text clarifying that the “MUST understand” requirement is a requirement on the system as a whole – not specifically on JOSE libraries.

NO – Don’t add the clarifying text.

************************
THIRD POLL: Should the result of the first poll be "NO", which syntax would you prefer for designating the header fields that may be ignored if not understood?

A – Define a header field that explicitly lists the fields that may be safely ignored if not understood.

B – Introduce a second header, where implementations must understand all fields in the first but they may ignore not-understood fields in the second.

C - Other??? (Please specify in detail.)
_______________________________________________
jose mailing list
jose@ietf.org<mailto:jose@ietf.org>
https://www.ietf.org/mailman/listinfo/jose



--
Nat Sakimura (=nat)
Chairman, OpenID Foundation
http://nat.sakimura.org/
@_nat_en

_______________________________________________
jose mailing list
jose@ietf.org<mailto:jose@ietf.org>
https://www.ietf.org/mailman/listinfo/jose