Re: [jose] Text about applications and "alg":"none"

Richard Barnes <rlb@ipv.sx> Wed, 04 September 2013 22:51 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 1217911E8137 for <jose@ietfa.amsl.com>; Wed, 4 Sep 2013 15:51:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level:
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-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 a0pgtVyFOTCD for <jose@ietfa.amsl.com>; Wed, 4 Sep 2013 15:51:22 -0700 (PDT)
Received: from mail-oa0-f52.google.com (mail-oa0-f52.google.com [209.85.219.52]) by ietfa.amsl.com (Postfix) with ESMTP id 314CC21E80AC for <jose@ietf.org>; Wed, 4 Sep 2013 15:51:21 -0700 (PDT)
Received: by mail-oa0-f52.google.com with SMTP id f4so1311040oah.25 for <jose@ietf.org>; Wed, 04 Sep 2013 15:51:20 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=h1FAqpg8ClTlAmeYAJI1kkwi9jHwnHkQpf7DKPWGq58=; b=Hcd5jfHNHKU6XAw9Ec1ZuhEsjBZLDrbXbOyKqukgC5Bn30AP0A5X+GOuQ3KLyH6a35 P8YVFe+FT5wPZG/+35QxUmqPKhEp9VOEKTAuEcrmnSbSAgLv3PlxLQtNbWozWv/PVcTh pY9vIu/LmPp5TA2QAmuKNkYcQz+ega0wltnjYqY0TwMuteEmAlqFezDcLTzCfEatpeYI dghUZGYl/O2C1yutVPsts5aYbktMlra2qSgvIyn2yqIIg+Dsl9gVm0jkmPoYPcQHNoTw 56QiTLsFuEhYFIjP5vOjTHrjHKuNAmkgmdIyIF4ANfoOLLaqDeL7DIn9YpYDiAxcOEpo y5/w==
X-Gm-Message-State: ALoCoQnWR8C7rlAIkI0rSW4zKjyNIwFbkzBzrkB7RHy73mNOaK31PIP7j/F9kXkF52NtyQNlOk/P
MIME-Version: 1.0
X-Received: by 10.60.60.5 with SMTP id d5mr4096716oer.0.1378335080762; Wed, 04 Sep 2013 15:51:20 -0700 (PDT)
Received: by 10.60.31.74 with HTTP; Wed, 4 Sep 2013 15:51:20 -0700 (PDT)
In-Reply-To: <CAL02cgSR9FSMWq4U__AuYN89z2fCDpJWUKNDyLKJ5UONSM75LA@mail.gmail.com>
References: <4E1F6AAD24975D4BA5B16804296739436C2EA801@TK5EX14MBXC291.redmond.corp.microsoft.com> <CAL02cgSR9FSMWq4U__AuYN89z2fCDpJWUKNDyLKJ5UONSM75LA@mail.gmail.com>
Date: Wed, 04 Sep 2013 18:51:20 -0400
Message-ID: <CAL02cgRsRiR3TnHJhr2m_AoBByfWhP3BfbjsTOPYyo1HvA2Msw@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary="089e0149c3c0dedd1204e596a416"
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Text about applications and "alg":"none"
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: Wed, 04 Sep 2013 22:51:26 -0000

BTW, I added support for JWP to PyJOSE.  It was easier than adding support
for "none".
<
https://github.com/bifurcation/pyjose/commit/5ad79d842beb6b680be6ba14263a9b85c29fde65
>


On Wed, Sep 4, 2013 at 6:49 PM, Richard Barnes <rlb@ipv.sx> wrote:

> Just so people have a point of comparison, my proposed "JSON Web Payload"
> definition is in the patch attached to ISSUE-36:
> <
> http://trac.tools.ietf.org/wg/jose/trac/attachment/ticket/36/ALG-NONE.patch
> >
>
> I agree with James and Vladimir that a separate object type is easier to
> get right than all of the security checks that "none" requires.
>
> --Richard
>
>
> On Tue, Sep 3, 2013 at 2:02 PM, Mike Jones <Michael.Jones@microsoft.com>wrote:
>
>>  I took an action item during the last call to write text along the
>> lines suggested by ekr about applications and "alg":"none".  I propose that
>> the following text be included:****
>>
>> ** **
>>
>> It is RECOMMENDED that libraries provide applications a means of
>> specifying the list of acceptable algorithms used in a JWS object in a way
>> that causes inputs using algorithms outside the specified set to be
>> rejected.  In particular, it is intended for applications to use this
>> mechanism to exclude accepting inputs using "alg":"none" in security
>> contexts where non-integrity protected inputs are not acceptable.****
>>
>> ** **
>>
>> Feedback/proposed wording refinements welcomed.****
>>
>> ** **
>>
>>                                                                 -- Mike**
>> **
>>
>> ** **
>>
>> _______________________________________________
>> jose mailing list
>> jose@ietf.org
>> https://www.ietf.org/mailman/listinfo/jose
>>
>>
>