Re: [jose] #36: Algorithm "none" should be removed

"jose issue tracker" <trac+jose@trac.tools.ietf.org> Thu, 01 August 2013 10:33 UTC

Return-Path: <trac+jose@trac.tools.ietf.org>
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 0BAC521F918C for <jose@ietfa.amsl.com>; Thu, 1 Aug 2013 03:33:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 r9h0FPpslGk9 for <jose@ietfa.amsl.com>; Thu, 1 Aug 2013 03:33:04 -0700 (PDT)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 5584421F8F24 for <jose@ietf.org>; Thu, 1 Aug 2013 03:33:03 -0700 (PDT)
Received: from localhost ([127.0.0.1]:47144 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1V4qBg-0005by-UJ; Thu, 01 Aug 2013 12:32:52 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: jose issue tracker <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-signature@tools.ietf.org, michael.jones@microsoft.com, rlb@ipv.sx
X-Trac-Project: jose
Date: Thu, 01 Aug 2013 10:32:52 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/36#comment:3
Message-ID: <076.c62b90fc31e10d0dbc3690656584013e@trac.tools.ietf.org>
References: <061.d41e5e3f57bfb36040f9b5b22107bda7@trac.tools.ietf.org>
X-Trac-Ticket-ID: 36
In-Reply-To: <061.d41e5e3f57bfb36040f9b5b22107bda7@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-signature@tools.ietf.org, michael.jones@microsoft.com, rlb@ipv.sx, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com, n-sakimura@nri.co.jp, ve7jtb@ve7jtb.com
Resent-Message-Id: <20130801103304.5584421F8F24@ietfa.amsl.com>
Resent-Date: Thu, 01 Aug 2013 03:33:03 -0700
Resent-From: trac+jose@trac.tools.ietf.org
Cc: jose@ietf.org
Subject: Re: [jose] #36: Algorithm "none" should be removed
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 01 Aug 2013 10:33:05 -0000

#36: Algorithm "none" should be removed


Comment (by michael.jones@microsoft.com):

 There's plenty of precedent in IETF protocols for algorithm identifiers
 like "alg":"none".  For instance, TLS (RFC 5246) defines the cipher suite
 TLS_NULL_WITH_NULL_NULL in which "encryption consists of the identity
 operation".  It even defines a hash algorithm called "none".

 No, these aren't appropriate to use in many application contexts.  But
 that's no reason not to enable the use of "alg":"none" in contexts where
 it meets the security requirements of the application.

 The verification algorithm is simple for "alg":"none: - if the JWS
 Signature field is empty, return SUCCESS.  If the signature field is non-
 empty, reject the input.  I can add that to the spec.

-- 
-------------------------+-------------------------------------------------
 Reporter:               |       Owner:  draft-ietf-jose-json-web-
  ietf@augustcellars.com |  signature@tools.ietf.org
     Type:  defect       |      Status:  new
 Priority:  major        |   Milestone:
Component:  json-web-    |     Version:
  signature              |  Resolution:
 Severity:  -            |
 Keywords:               |
-------------------------+-------------------------------------------------

Ticket URL: <http://trac.tools.ietf.org/wg/jose/trac/ticket/36#comment:3>
jose <http://tools.ietf.org/jose/>