Re: [Dcrup] Time For People To Really Stop Using SHA-1 Signatures?
Jim Fenton <fenton@bluepopcorn.net> Sat, 11 January 2020 00:22 UTC
Return-Path: <fenton@bluepopcorn.net>
X-Original-To: dcrup@ietfa.amsl.com
Delivered-To: dcrup@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C8060120120 for <dcrup@ietfa.amsl.com>; Fri, 10 Jan 2020 16:22:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.648
X-Spam-Level: *
X-Spam-Status: No, score=1.648 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FSL_BULK_SIG=0.84, RAZOR2_CF_RANGE_51_100=1.886, RAZOR2_CHECK=0.922, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=bluepopcorn.net
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 UilIB96GoPJa for <dcrup@ietfa.amsl.com>; Fri, 10 Jan 2020 16:22:07 -0800 (PST)
Received: from v2.bluepopcorn.net (v2.bluepopcorn.net [IPv6:2607:f2f8:a994::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B8CC4120047 for <dcrup@ietf.org>; Fri, 10 Jan 2020 16:22:07 -0800 (PST)
Received: from steel.local (sfosf0017s350801.wiline.com [64.71.6.2] (may be forged)) (authenticated bits=0) by v2.bluepopcorn.net (8.14.4/8.14.4/Debian-8+deb8u2) with ESMTP id 00B0M34R000453 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for <dcrup@ietf.org>; Fri, 10 Jan 2020 16:22:05 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bluepopcorn.net; s=supersize; t=1578702126; bh=erNOnxuKVkmNDFZkrz/o4f8724USeMHDz3lNOcS/VCk=; h=Subject:To:References:From:Date:In-Reply-To; b=kCb0yG5Cl9ql2e4+KTCkvj7zaLehCCkF9+ENXuJTfG6PsRwS6IA/g8JIEVffOHv6I x2a3RuFVFxuRBp3bOnz1k3RLojUcYIseYZw8NUpV/1q5EN3lKCyCiFfVzCt5+EXejI M/FltNxJgA3jzjm/pNqMZ7dGs/qT/hhsA10UoHr4=
To: dcrup@ietf.org
References: <1836468.B6t98xBJ9D@l5580>
From: Jim Fenton <fenton@bluepopcorn.net>
Autocrypt: addr=fenton@bluepopcorn.net; prefer-encrypt=mutual; keydata= mQINBFJNz0MBEADME6UoNSsTvSDJOdzL4yWfH4HTTOOZZPUcM/at38j4joeBb2PdatlwCBtk 9ZjupxFK+Qh5NZC19Oa6CHo0vlqw7V1hx1MUhmSPbzKRcNFhJu0KcQdniI8qmsqoG50IELXN BPI5OEZ3chYHpoXXi2+VCkjXJyeoqRNwNdv6QPGg6O1FMbB+AcIZj3x5U18LnJnXv1i+1vBq CxbMP43VmryPf8BLufcEciXpMEHydHbrEBZb/r7SBkUhdQXjxRNcWOLeYvOVUOOrr1c+jvqm DEbTWUJVRnUro/WpZQBffFnymR0jjkdAa8eOVl/nF2oMLbaBsOMvxCRSSEcGhuqwbEappNVT 1nuBTbkJT/GGcXxc+lEx9uNj86oYC4384VZJMTd1BRI4qPXImNZCIdmpKegK743B6xxN6Qh1 Tg167pn9429JENQE/AFIVX5B/gpsg7Aq+3rmz9H6GbfovPvFV3TBTgsHCHAMC8XU+S4fhcqN PN0lbUeyb7g6wxaE+dYqC7TExx7G3prw4v66y0qS7ow/Cfw8XXOEkaFQ4XwP7nvfILT+9CcU yS8I40vlDFU9Wnt56CbGz0ZVQgHnwyPXL+S9kCcIwRLFx1M79s6T6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Tb2BDpiyrLdT/2R0vJNEfMxBBYlw1gc g8mPEwHwZ940/qql7e41TkDGUZa2a1WegKLj8hK1pgDDBptcdIvlvuk284jOZ2/jDyaBDsMf 310OoJchJ3977odtSCArybQIwMjTx0rv6dqjsuqP89jqlrGV6izqf1n4p4FNrBSWOSRGaoWD JJVHL4YUhP44G5xDBCtp3TqatLa5F2Rgxj50EFIzOuu9Pg1tBCPP1G+0EiikVTdDkC63X4RG
Message-ID: <9c3b08b1-909c-197c-2c7a-1c7eff660202@bluepopcorn.net>
Date: Fri, 10 Jan 2020 16:21:58 -0800
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.3.1
MIME-Version: 1.0
In-Reply-To: <1836468.B6t98xBJ9D@l5580>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/dcrup/3m5kTCvIq_kq7UJX0ZebM_ietrw>
Subject: Re: [Dcrup] Time For People To Really Stop Using SHA-1 Signatures?
X-BeenThere: dcrup@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DKIM Crypto Update <dcrup.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dcrup>, <mailto:dcrup-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dcrup/>
List-Post: <mailto:dcrup@ietf.org>
List-Help: <mailto:dcrup-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dcrup>, <mailto:dcrup-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Jan 2020 00:22:10 -0000
On 1/7/20 3:41 PM, Scott Kitterman wrote: > https://sha-mbles.github.io/ > > If I'm reading this right, the last excuse that still trusting SHA-1 DKIM > signatures is an OK thing to do is gone. Comments from anyone that really > understands thus stuff would be appreciated. I can't say that I fully understand how a chosen-prefix collision affects security of DKIM but... We've always asserted that DKIM provides limited security because of its dependence on DNS for publication of public keys. I don't think that this attack on SHA-1 changes that much. If someone wanted to spoof DKIM-signed messages from an arbitrary domain, they would probably look for a domain publishing a relatively short public key, expend the effort to factor it, and then they would be able to sign as much email from that domain as they want, until someone notices and revokes the key. Creating a new message that has a SHA-1 collision would only allow that specific message to be signed, and I'd expect it to look pretty strange. That said, we're in fairly good shape. DKIM has, from its initial publication, had SHA256 as mandatory-to-implement for both signers and verifiers. A very unscientific search of my inbox came up with with 8102 instances of SHA256 signatures and 548 instances of SHA-1 signatures (yes, I have a far too big inbox, and some messages were signed multiple times). But unfortunately the SHA-1 signatures probably come from a "long tail" of domains. Someone with access to a more comprehensive corpus of email than my home domain might want to catalog and try to contact domains using SHA-1, and encourage them to change: "some recipients may not trust your DKIM signatures any more". Some PR (magazine articles, etc.) might help, too. -Jim
- [Dcrup] Time For People To Really Stop Using SHA-… Scott Kitterman
- Re: [Dcrup] Time For People To Really Stop Using … Russ Housley
- Re: [Dcrup] Time For People To Really Stop Using … Viktor Dukhovni
- Re: [Dcrup] Time For People To Really Stop Using … Jim Fenton
- Re: [Dcrup] Time For People To Really Stop Using … Phillip Hallam-Baker
- Re: [Dcrup] Time For People To Really Stop Using … Hector Santos
- Re: [Dcrup] Time For People To Really Stop Using … Hector Santos
- Re: [Dcrup] Time For People To Really Stop Using … Scott Kitterman
- Re: [Dcrup] Time For People To Really Stop Using … Scott Kitterman
- Re: [Dcrup] Time For People To Really Stop Using … Salz, Rich
- Re: [Dcrup] Time For People To Really Stop Using … Hector Santos
- Re: [Dcrup] Time For People To Really Stop Using … Salz, Rich
- Re: [Dcrup] Time For People To Really Stop Using … Hector Santos
- Re: [Dcrup] Time For People To Really Stop Using … Hector Santos
- Re: [Dcrup] Time For People To Really Stop Using … Viktor Dukhovni