Re: [TLS] Proposal to deprecate sha1 and md5 for digital signatures in TLS 1.2

Loganaden Velvindron <loganaden@gmail.com> Tue, 14 May 2019 06:34 UTC

Return-Path: <loganaden@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 87BCE1200BA for <tls@ietfa.amsl.com>; Mon, 13 May 2019 23:34:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=gmail.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 rW6k9yAum1cM for <tls@ietfa.amsl.com>; Mon, 13 May 2019 23:34:51 -0700 (PDT)
Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (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 C0E52120092 for <tls@ietf.org>; Mon, 13 May 2019 23:34:51 -0700 (PDT)
Received: by mail-io1-xd2d.google.com with SMTP id s20so12096353ioj.7 for <tls@ietf.org>; Mon, 13 May 2019 23:34:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xdLvnUC5cYpIToGj2KA2icbcbmGdhVy5l7C7Yfe0etE=; b=JoFXNWH3GML/6azcyci1ALeG/EkpiKCrKpdxwaxWw3nSsh4P5gzfSOfsTLYZWCX7AI Gu7A7NUQjAoZzbpPdxlSdMfgKDJldAboes+tUpwWcH9FWh/gVtL7z7/ZrBjmuVWgFCR7 FnrRFgkweqVP1ciaJh9jGPscyTFBKw/kZw4k2w9OcyoISTqjJf1scOjJmvt4U86D0qpR h+ttsOrVH233HPyIEwpd9k+vUtBMclbL9Z8sQFoEHZGwCqRPotWKFoaIW/60ZDUMMMtx OxT/C3BxN4jIwpC8jVNgiwt0Ck7SPdqGs9S3/wcR23ud0VxE73zuSCjE3YO4ICaoi0ok b6NQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xdLvnUC5cYpIToGj2KA2icbcbmGdhVy5l7C7Yfe0etE=; b=ELYSJMOznY+evECOMDVhrFkR0GH7IexD9AipA4RRymVEmA2keVa13trSfaDyrlWxJv 5cFlZG4oFXuqd+OEghhyEJusXu+MIuXcFzK663sAsrgyR3updKxImR4w7z4Hh65RDByp uK2Bicrn4nZgtmXoLZI35oeAtGa8/e6+MKJ5AnPXcnfxp7p6ierxA1ZFDx3Yh0BKbk2T 888ox57MF54Qzfx8tvYefpbp7EdlUcgFm29DobR1ygiUig0RxIb2p1VenHKRCfw0OPb0 mNV81zPHUELYsZVmhlZaaLCH+ob2lK1VXGJWF+KNj5LEwx0CBg4oajwc7pM4MPi5H6q9 Y0vw==
X-Gm-Message-State: APjAAAU3yXUiu3zyKCNbKXUcLtmexwPDwd0sPjb6G7D1i4qwGyUWBhau xsKzXeAyg5f/2oSbterJ66QAMcJxy1WruON3rYQQwYZ5nEo=
X-Google-Smtp-Source: APXvYqxOVviqwvZUcoRSyLwi4j06kfOBzqanhgHBBlz6hDKEwfQpXYVoP5RHTLmmIQRejwTj9OBG4dMkEBcYT7p6fF4=
X-Received: by 2002:a6b:c945:: with SMTP id z66mr18288717iof.191.1557815690970; Mon, 13 May 2019 23:34:50 -0700 (PDT)
MIME-Version: 1.0
References: <CAOp4FwRNxx2+MdSqHcrqgA0KkNMaQ29H8K4WBFDAw2AhL+3NKA@mail.gmail.com> <528b8748-6f99-4167-9075-891286b8bc26@www.fastmail.com>
In-Reply-To: <528b8748-6f99-4167-9075-891286b8bc26@www.fastmail.com>
From: Loganaden Velvindron <loganaden@gmail.com>
Date: Tue, 14 May 2019 10:34:38 +0400
Message-ID: <CAOp4FwTNiTg+g2utyst330bc14-Q-_A2z1QEHi_FEMv14wa=iA@mail.gmail.com>
To: Martin Thomson <mt@lowentropy.net>
Cc: "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e2ca440588d33a87"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/3p0IKPS6kS_AJydrU_usL0v-D8k>
Subject: Re: [TLS] Proposal to deprecate sha1 and md5 for digital signatures in TLS 1.2
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 May 2019 06:34:54 -0000

[comments in-line]

On Fri, May 10, 2019 at 5:47 AM Martin Thomson <mt@lowentropy.net> wrote:

> It might pay to spend more time on explaining what you are trying to do.
>
> The goal appears to be to remove a dependency on signature schemes that
> include these weaker hash functions.  But the introduction just says that
> the functions are bad.
>
> We've updated the draft.


> You should be very clear about what effect this has on the use of SHA-1 in
> HMAC for record protection.  It looks like you don't intend to deprecate
> that.  Say that.
>
> Added.

> The change to the enum is silly.  Overall, I think that the updates to
> 5246 are unnecessary.  Concentrate on 7525.
>
> Removed change to enum.

> The 7525 text starts with "When using RSA", so it could be read to not
> apply to ECDSA.  That would be a mistake.  I recommend splitting the
> paragraph into talking about the group size (the first sentence) and a
> separate paragraph on hash functions used as part of the signing process.
>
> This change was also incorporated.

> As part of that, this probably needs to be a MUST: "Clients SHOULD
> indicate to servers that they request SHA-256, by using the "Signature
> Algorithms" extension defined in TLS 1.2."
>
> And then I think we should publish something.  Like David, I'm acutely
> aware of the compatibility hazard that this presents, but it's no less
> worth doing.
>
> We also agree with you.
Latest draft is here:
https://www.ietf.org/id/draft-lvelvindron-tls-md5-sha1-deprecate-04.txt

>
> On Fri, May 10, 2019, at 00:12, Loganaden Velvindron wrote:
> > Hi all,
> >
> > Following the recent thread on TLS 1.0 and TLS 1.1 deprecation, we
> > came up with a proposal to deprecate md5 and sha1 for digital
> > signatures in the TLS 1.2 spec.
> >
> > Please find the draft at this url:
> > https://tools.ietf.org/html/draft-lvelvindron-tls-md5-sha1-deprecate-03
> >
> > We look forward to your feedback.
> >
> > _______________________________________________
> > TLS mailing list
> > TLS@ietf.org
> > https://www.ietf.org/mailman/listinfo/tls
> >
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>