Re: [openpgp] Deprecate legacy hash algorithms

Jon Callas <joncallas@icloud.com> Fri, 17 March 2017 18:10 UTC

Return-Path: <joncallas@icloud.com>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3A5F412940A for <openpgp@ietfa.amsl.com>; Fri, 17 Mar 2017 11:10:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=icloud.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mrp_YlyP3Xq5 for <openpgp@ietfa.amsl.com>; Fri, 17 Mar 2017 11:10:03 -0700 (PDT)
Received: from st13p27im-asmtp003.me.com (st13p27im-asmtp003.me.com [17.162.190.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DDE1912894E for <openpgp@ietf.org>; Fri, 17 Mar 2017 11:10:02 -0700 (PDT)
Received: from process-dkim-sign-daemon.st13p27im-asmtp003.me.com by st13p27im-asmtp003.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) id <0OMZ00N000VTYS00@st13p27im-asmtp003.me.com> for openpgp@ietf.org; Fri, 17 Mar 2017 18:10:02 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=4d515a; t=1489774202; bh=yyVvIrhjP9KFGA6kavHcIeG8LFALe62/qk6HcnepqII=; h=Content-type:MIME-version:Subject:From:Date:Message-id:To; b=CJWdY+DNGIUMERmHkVFaP1CJtgh30ZnX5hc7p5WZ3lZzSBj0j2n9fyaoN4KKgKVm5 AqAKAHwbzAQqX3s0Bl3vVILgVyaEth1xbsrVYqOO8bD86KP+ThmWdxw1/UzqKRf8lJ m2ssGHUm7NNABTuiSsDW5oaBV0Ls3f5UdYrmI9MX/I241M/OHgj3VfG14D6U2MOOCn AGrW8nhQfbZ98+ZBisLj8EULpFYIB1IlqzqqWceYEee+4PX0TtOdyDzeSXp/vuaQDl qAD4I60yJPWn8wrf11VydtsoCBlYPMz6pIYLIqbgGLHB3paFEmUJVkKTAwFCExqe+U qKsslC2mWjMyw==
Received: from icloud.com ([127.0.0.1]) by st13p27im-asmtp003.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) with ESMTPSA id <0OMZ01B6M14M7O40@st13p27im-asmtp003.me.com>; Fri, 17 Mar 2017 18:10:00 +0000 (GMT)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-03-17_14:,, signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1034 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1701120000 definitions=main-1703170151
Content-type: text/plain; charset="us-ascii"
MIME-version: 1.0 (Mac OS X Mail 10.2 \(3259\))
From: Jon Callas <joncallas@icloud.com>
In-reply-to: <87tw6ss2g5.fsf@wheatstone.g10code.de>
Date: Fri, 17 Mar 2017 11:09:57 -0700
Cc: Jon Callas <joncallas@icloud.com>, openpgp@ietf.org
Content-transfer-encoding: quoted-printable
Message-id: <4F39357D-8D8A-40BB-BFC8-B99ED0A4D801@icloud.com>
References: <87tw6ss2g5.fsf@wheatstone.g10code.de>
To: Werner Koch <wk@gnupg.org>
X-Mailer: Apple Mail (2.3259)
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/bh_E5YAkwyyBRZ0OLkCyW0yDLTI>
Subject: Re: [openpgp] Deprecate legacy hash algorithms
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:openpgp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp/>
List-Post: <mailto:openpgp@ietf.org>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:openpgp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Mar 2017 18:10:05 -0000

> On Mar 17, 2017, at 2:00 AM, Werner Koch <wk@gnupg.org> wrote:
> 
> Hi,
> 
> Here is my suggestion on how to deprecate hash algorithms.  The new text
> is:
> 
>  Implementations MUST implement SHA-256.  Implementations MAY implement
>  other algorithms.  Implementations MUST NOT create messages which
>  require the use of SHA-1 with the exception of computing version 4 key
>  fingerprints and for purposes of the MDC packet.  Implementations MUST
>  NOT use MD5 or RIPE-MD/160.

My only comment is that if you're going to "deprecate" as opposed to "ban" then the term needs to be SHOULD NOT rather than MUST NOT. MUST NOT is a ban, not deprecation.

I prefer deprecation (SHOULD NOT) over banning (MUST NOT)  because a ban leads either to people being silly about a lack of backwards compatibility or they just defiantly ignore the ban. 

	Jon