Re: [jose] Feedback request on jose tracker issue #15: Should at least on key indicator be mandatory
Richard Barnes <rlb@ipv.sx> Mon, 15 April 2013 17:31 UTC
Return-Path: <rlb@ipv.sx>
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 3AC2E21F95E9 for <jose@ietfa.amsl.com>; Mon, 15 Apr 2013 10:31:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.875
X-Spam-Level: *
X-Spam-Status: No, score=1.875 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FH_RELAY_NODNS=1.451, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MANGLED_SPICE=2.3, RDNS_NONE=0.1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AvcuH5RlV02E for <jose@ietfa.amsl.com>; Mon, 15 Apr 2013 10:31:26 -0700 (PDT)
Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com [IPv6:2607:f8b0:4003:c01::22b]) by ietfa.amsl.com (Postfix) with ESMTP id B53B321F95EC for <jose@ietf.org>; Mon, 15 Apr 2013 10:31:20 -0700 (PDT)
Received: by mail-ob0-f171.google.com with SMTP id wc20so1312167obb.16 for <jose@ietf.org>; Mon, 15 Apr 2013 10:31:20 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=Ink+8Lw5mX3IQHwerGzx41lTUpF4/Ri+9YWNWMkJqpU=; b=FzY59j0qnduW+p0xqCa2YmBW7DDLPpzAEVr6QWjupg8HaC6wNO7gB5uC6/NQhpq5Sp aWt5+Uq0I260S3WMcnBMQ9GWXcd01WXjt3foIR97dZqWlVFW1hP1fK91+RZZEq2/ZH/V QE6i4i1WlE4ZAS9IRMp6NAM/280W1+IBOXxgBDcr6EDCiHKWrFoAVYSHCs+B3vsELp4J 9R6NQdOEUIeNiOIzCZfyzWLc+vK2IT5X/lK0Vjw9W3jo6UCLEa1gqTsvEijar/DJGnPW 6q9yRD6AtsaKM4FVnu6v1Q+u5i+LeUwWsifB3VCs7IxoOM8HXrEcB3r21jMhc5IV1B+4 i+DQ==
MIME-Version: 1.0
X-Received: by 10.182.235.49 with SMTP id uj17mr3782869obc.18.1366047080093; Mon, 15 Apr 2013 10:31:20 -0700 (PDT)
Received: by 10.60.25.196 with HTTP; Mon, 15 Apr 2013 10:31:19 -0700 (PDT)
X-Originating-IP: [137.54.9.111]
In-Reply-To: <4E1F6AAD24975D4BA5B168042967394367641542@TK5EX14MBXC283.redmond.corp.microsoft.com>
References: <51674E63.3050809@isoc.org> <4E1F6AAD24975D4BA5B168042967394367615F37@TK5EX14MBXC283.redmond.corp.microsoft.com> <CAL02cgQ5OOwkTRNsSypq+y6+z3_cqAxDvkNo+HvC0m44oNf-fA@mail.gmail.com> <4E1F6AAD24975D4BA5B168042967394367641542@TK5EX14MBXC283.redmond.corp.microsoft.com>
Date: Mon, 15 Apr 2013 13:31:19 -0400
Message-ID: <CAL02cgT60WGzRxrYD8vsFn_aDd1P7yZ1MxKEYzePU_z25+yrGA@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary="bcaec5396952f4aa0104da699e3f"
X-Gm-Message-State: ALoCoQktAgsYpgVWiQCLPLJVVFHZgpjH5ouUdnDBRaV189I3XTn0Hfw3I9mNL+sxKaNdfOZs+Sxt
Cc: "jose@ietf.org" <jose@ietf.org>, "odonoghue@isoc.org" <odonoghue@isoc.org>
Subject: Re: [jose] Feedback request on jose tracker issue #15: Should at least on key indicator be mandatory
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: Mon, 15 Apr 2013 17:31:27 -0000
You're making the same false argument I just addressed. Covering use cases involving pre-negotiation does not imply that headers can't be mandatory. It implies that they can't be mandatory in all cases -- that is, that there needs to be a "pre-negotiated mode" in which headers are not mandatory in addition to the "stand-alone mode" where everything needs to be expressed in the headers (no pre-negotiation). I am completely fine with supporting both modes, but in order to do that, it needs to be clear to a recipient which mode is in use. So we need to: (1) Choose a default mode, (2) Have a switch that indicates when the non-default mode is being used, and (3) Define generation and processing rules for both modes. What I'm saying here is that: (1) The default mode should be "stand-alone" (2) The switch is SPI (3) The processing rules for the stand-alone mode should REQUIRE at least one key indicator What you're arguing is that there should not be a well-defined stand-alone mode, effectively that the recipient always does some pre-negotiation in order to know what fields it needs. So you're arguing that the following basic requirements from the use cases document aren't actually requirements: """ o The JOSE encrypted object format must support object encryption in the case where the sender and receiver share a symmetric key. o The JOSE encrypted object format must support object encryption in the case where the sender has only a public key for the receiver. o The JOSE signed object format must integrity protection using Message Authentication Codes (MACs), for the case where the sender and receiver share only a symmetric key. o The JOSE signed object format must integrity protection using digital signatures, for the case where the receiver has only a public key for the sender. """ The implication of all those "only"s is that everything else has to be defined by the protocol specification, including which fields are mandatory. --Richard On Mon, Apr 15, 2013 at 11:45 AM, Mike Jones <Michael.Jones@microsoft.com>wrote: > You could say “nice straw man, Jim”, as it was Jim Schaad who proposed > that the right question to ask was whether such use cases are important or > not. I agree with Jim that clearly if they are important/in scope, then > key indicators in the headers can’t be mandatory.**** > > ** ** > > -- Mike**** > > ** ** > > *From:* Richard Barnes [mailto:rlb@ipv.sx] > *Sent:* Monday, April 15, 2013 8:41 AM > *To:* Mike Jones > *Cc:* odonoghue@isoc.org; jose@ietf.org > *Subject:* Re: [jose] Feedback request on jose tracker issue #15: Should > at least on key indicator be mandatory**** > > ** ** > > Nice straw man, Mike :) **** > > ** ** > > Nobody is arguing that cases with out-of-band negotiation are not > important. The question is how they should be supported.**** > > ** ** > > What ISSUE-9 and ISSUE-15 are about is saying that the default assumption > should be that all communication is via JW* headers. Otherwise, we're not > designing a stand-alone protocol, we're designing an adjunct to something > else, and we should do it in that WG. That default assumption means that > you have to have certain contraints, like a key indicator being REQUIRED. > The SPI header is then the "get out of jail free card", releasing you from > those constraints.**** > > ** ** > > Let's design a real protocol first, then let people cheat.**** > > ** ** > > --Richard**** > > ** ** > > ** ** > > On Fri, Apr 12, 2013 at 1:25 AM, Mike Jones <Michael.Jones@microsoft.com> > wrote:**** > > Reading this question, I believe that there’s a possibility for the > question to be misinterpreted, since the sense of the question in the > subject is opposite of the sense of the question in the body. I believe > that the intent of 1 and 2 were as follows:**** > > **** > > 1. Yes – Use cases where key information is exchanged by means other than > the JWS and JWE headers ARE important.**** > > 2. No – Use cases where key information is exchanged by means other than > the JWS and JWE headers ARE NOT important.**** > > **** > > Maybe people could reply with 1 and 2 as above, so that their answers to > the question of whether these use cases are important are not are > unambiguous.**** > > **** > > -- Mike**** > > **** > > *From:* jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] *On Behalf > Of *Karen O'Donoghue > *Sent:* Thursday, April 11, 2013 5:00 PM**** > > > *To:* jose@ietf.org > *Subject:* [jose] Feedback request on jose tracker issue #15: Should at > least on key indicator be mandatory**** > > **** > > Issue #15 http://trac.tools.ietf.org/wg/jose/trac/ticket/15. suggests > requiring that a key indicator, such as a “kid” field, be required in all > JWS and JWE headers. Are use cases where key information is exchanged by > means other than the JWS or JWE headers important? ** ** > > Which of these best describes your preferences on this issue?**** > > 1. Yes.**** > > 2. No. **** > > 0. I need more information to decide.**** > > **** > > Your reply is requested by Friday, April 19th (or earlier). **** > > > _______________________________________________ > jose mailing list > jose@ietf.org > https://www.ietf.org/mailman/listinfo/jose**** > > ** ** >
- [jose] Feedback request on jose tracker issue #15… Karen O'Donoghue
- Re: [jose] Feedback request on jose tracker issue… Dick Hardt
- Re: [jose] Feedback request on jose tracker issue… Manger, James H
- Re: [jose] Feedback request on jose tracker issue… Mike Jones
- Re: [jose] Feedback request on jose tracker issue… Axel.Nennker
- Re: [jose] Feedback request on jose tracker issue… Roland Hedberg
- Re: [jose] Feedback request on jose tracker issue… hideki nara
- Re: [jose] Feedback request on jose tracker issue… Mike Jones
- Re: [jose] Feedback request on jose tracker issue… Richard Barnes
- Re: [jose] Feedback request on jose tracker issue… Richard Barnes
- Re: [jose] Feedback request on jose tracker issue… Mike Jones
- Re: [jose] Feedback request on jose tracker issue… nov matake
- Re: [jose] Feedback request on jose tracker issue… Anthony Nadalin
- Re: [jose] Feedback request on jose tracker issue… Matias Woloski
- Re: [jose] Feedback request on jose tracker issue… Breno de Medeiros
- Re: [jose] Feedback request on jose tracker issue… Richard Barnes
- Re: [jose] Feedback request on jose tracker issue… Mike Jones
- Re: [jose] Feedback request on jose tracker issue… Edmund Jay
- Re: [jose] Feedback request on jose tracker issue… Richard Barnes
- Re: [jose] Feedback request on jose tracker issue… charles.marais@orange.com
- Re: [jose] Feedback request on jose tracker issue… Sascha Preibisch
- Re: [jose] Feedback request on jose tracker issue… John Bradley
- Re: [jose] Feedback request on jose tracker issue… Javier Rojas Blum
- Re: [jose] Feedback request on jose tracker issue… Vladimir Dzhuvinov / NimbusDS
- Re: [jose] Feedback request on jose tracker issue… Matt Miller
- Re: [jose] Feedback request on jose tracker issue… Nat Sakimura
- Re: [jose] Feedback request on jose tracker issue… Russ Housley
- Re: [jose] Feedback request on jose tracker issue… Richard Barnes
- Re: [jose] Feedback request on jose tracker issue… Salvatore D'Agostino