Re: [pkix] Clarification on "zero" hash value in SigPolicyHash (CAdES)

Peter Gutmann <pgut001@cs.auckland.ac.nz> Wed, 17 July 2019 02:57 UTC

Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C770C120129 for <pkix@ietfa.amsl.com>; Tue, 16 Jul 2019 19:57:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.572
X-Spam-Level:
X-Spam-Status: No, score=-2.572 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HK_SCAM=1.625, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=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=auckland.ac.nz
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 3fZFCF92WNba for <pkix@ietfa.amsl.com>; Tue, 16 Jul 2019 19:57:12 -0700 (PDT)
Received: from mx4-int.auckland.ac.nz (mx4-int.auckland.ac.nz [130.216.125.246]) (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 322D01200DB for <pkix@ietf.org>; Tue, 16 Jul 2019 19:57:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1563332232; x=1594868232; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=1oVsht4dlvfRL4Usu6y5W9cYiZ1e72C1snkIzrOksBI=; b=wKOxwGlbwo+x5SG2E6g4eYuPSkMyf43/9HezoGGEvilQtOSjf1dcJbGW AiDB/tCSnIiEpjim3l/TeXfse18Rzf99hzFo2ardosargyEsWzj011Bnk 6O1qkK8qm25qe2o1YKmYu3PKL1OXFzVXxS7aiBQMfxhu/aTPV3d28vXa4 MxyC3x9ic/E7KHCJp4ubf5b2M1ftMCL0bjXKEy47UJ4sD9nhUMnr/2PPz +ADnCDE+QveMkMKw2bjmFnAviQiDRqqVWaQ6rqKgEPvylqNR7Du+FXtpw iqq8GCj+liycyzpd0hul0UYs4wLLaCiTR2Ty52dRmWwGrHyPpO3SS12yP Q==;
X-IronPort-AV: E=Sophos;i="5.64,272,1559476800"; d="scan'208";a="71078266"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 10.6.2.2 - Outgoing - Outgoing
Received: from uxcn13-ogg-a.uoa.auckland.ac.nz ([10.6.2.2]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES256-SHA; 17 Jul 2019 14:57:09 +1200
Received: from uxcn13-ogg-d.UoA.auckland.ac.nz (10.6.2.5) by uxcn13-ogg-a.UoA.auckland.ac.nz (10.6.2.2) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 17 Jul 2019 14:57:08 +1200
Received: from uxcn13-ogg-d.UoA.auckland.ac.nz ([10.6.2.5]) by uxcn13-ogg-d.UoA.auckland.ac.nz ([10.6.2.5]) with mapi id 15.00.1395.000; Wed, 17 Jul 2019 14:57:08 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: Niklas Matthies <pkix@nmhq.net>, "pkix@ietf.org" <pkix@ietf.org>
Thread-Topic: [pkix] Clarification on "zero" hash value in SigPolicyHash (CAdES)
Thread-Index: AQHVOO1wcGGXPXcfd0KYugWNDx4HUabMKg4AgABTe4CAAacpqg==
Date: Wed, 17 Jul 2019 02:57:08 +0000
Message-ID: <1563332225748.54393@cs.auckland.ac.nz>
References: <20190712200549.2kgzjqodj5afnxlt@nmhq.net> <0FDBEEC9-0FBA-4C47-BD04-EE7F6053426D@aaa-sec.com>, <20190716134215.txzqvcgghajh2es3@nmhq.net>
In-Reply-To: <20190716134215.txzqvcgghajh2es3@nmhq.net>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [130.216.158.4]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/pkix/rcmpd6vHnOVIYjGPskHSFzb2BRg>
Subject: Re: [pkix] Clarification on "zero" hash value in SigPolicyHash (CAdES)
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: PKIX Working Group <pkix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pkix>, <mailto:pkix-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pkix/>
List-Post: <mailto:pkix@ietf.org>
List-Help: <mailto:pkix-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pkix>, <mailto:pkix-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Jul 2019 02:57:15 -0000

Niklas Matthies <pkix@nmhq.net>; writes:

>All-bits-zero can conceivably be a valid hash value

If someone has a means of reaching not even all-zero-bits but just a
significant number of leading zero bits for a hash, please contact me off-
list, I have a very lucrative Bitcoin-based business proposition for you.

Peter.