Re: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-03.txt

Watson Ladd <watsonbladd@gmail.com> Thu, 05 November 2015 12:25 UTC

Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7986E1AD218; Thu, 5 Nov 2015 04:25:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham
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 zJe0UVuUijQM; Thu, 5 Nov 2015 04:25:29 -0800 (PST)
Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (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 E9D4E1AD213; Thu, 5 Nov 2015 04:25:28 -0800 (PST)
Received: by wicll6 with SMTP id ll6so8483367wic.1; Thu, 05 Nov 2015 04:25:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ECqpOQlBkS3HWiJblfHwk758CtkK0DD/f25q87lzD6w=; b=OJWfaQBRfngV1cxNB+Qq8N7NoyVmcHJP75lqJxCRE/Zp2yFnGFgK+ob0BmNsMNXUea XzY7T+AN2GMzwH5Qyncl44QAa9ETRmJFCGNSIYnl1RPjcp3ebYDxYyU3WRucpZAEjAQo mU4SRGtReFhubBP7TtX0tgSxgVivFCRBBMPuwbDjgCKrSINGTqJiSGXx0kGz72cwXxBa Unp7gjg08sTxKiM6eBSmJRsMaoByWD+tp/sdZrBz8qxmNlIaTKGCgKHNSuajvx223m1U z5n6b2oUkIhlqA18UFZQgkQHY8Q0L4I9Kn4MSM8qJ8wCTtqFNcrI7LRxWsFSczMDTi7e 8pvw==
MIME-Version: 1.0
X-Received: by 10.194.142.45 with SMTP id rt13mr8919559wjb.45.1446726327459; Thu, 05 Nov 2015 04:25:27 -0800 (PST)
Received: by 10.28.101.212 with HTTP; Thu, 5 Nov 2015 04:25:27 -0800 (PST)
In-Reply-To: <362f4b9abe57495c902f9ccb968b3b7c@XCH-ALN-004.cisco.com>
References: <20151019193635.30765.20164.idtracker@ietfa.amsl.com> <CAM_a8JxB3FcfqSr8z2FUVxsY9Fw0kcAaJ8CHN+W4VY+5D_oyEQ@mail.gmail.com> <CACsn0cn=pZa4Yhhn4qojQN96=Jv6J1GU6JD4MKP5iHAFXn=RpA@mail.gmail.com> <362f4b9abe57495c902f9ccb968b3b7c@XCH-ALN-004.cisco.com>
Date: Thu, 05 Nov 2015 07:25:27 -0500
Message-ID: <CACsn0c=M4vx2nAS36Hyz9ouWa_aX136EgKo--TszJsqGW0D2iQ@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/zgJ2in74V0ByJfPnxAbpLKXBGVQ>
Cc: "cfrg@ietf.org" <cfrg@ietf.org>, "internet-drafts@ietf.org" <internet-drafts@ietf.org>, "i-d-announce@ietf.org" <i-d-announce@ietf.org>
Subject: Re: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-03.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Nov 2015 12:25:31 -0000

On Wed, Nov 4, 2015 at 5:50 PM, David McGrew (mcgrew) <mcgrew@cisco.com> wrote:
> Hi Watson and Zooko,
>
>
> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Watson Ladd
> Sent: Wednesday, November 04, 2015 6:48 AM
> To: Zooko Wilcox-OHearn
> Cc: cfrg@ietf.org; internet-drafts@ietf.org; i-d-announce@ietf.org
> Subject: Re: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-03.txt
>
> On Tue, Nov 3, 2015 at 1:23 AM, Zooko Wilcox-OHearn
> <zooko@leastauthority.com> wrote:
>> Dear folks:
>>
>> Is there a better way for me to register my objections to this scheme
>> than my earlier post to CFRG about it?
>
> To be clear: This scheme will fail in very nasty, very obvious ways anytime
> you have backups of your machine, or restart your VM, or crash at just the
> wrong moment.
>
> Section 10.1 documents some of the concerns that you raise and provides some
> guidance.  Probably stronger guidance is needed; if you have suggestions,
> please let us know.
>
> Proposing it, and expecting it to be used widely, will inevitably lead to
> these problems on a mass scale.
>
> Hash based signatures are well suited for some applications, such as the
> long-term protection of firmware that is checked in embedded systems.   In
> these cases postquantum security is essential, the verifier needs to be
> compact, and signing is a relatively rare operation.

How does the rarity of signing decrease the problems posed by backups?
If anything, embedding implementations into hardware or ROM is likely
to lead to lots of backups of the private key, and any restore will
cause problems. There are workarounds, but they have costs with
reducing the number of possible signatures. Alternatives like SPHINCS
are post quantum secure and do not have this extremely likely failure
mode.

>
> Is this really what we want to tell people to use?
>
> Like Winston Churchill said about democracy, they are the worst postquantum
> secure digital signatures, except for all the others.
>
> For sure the issue of synchronization of state in hash based signatures
> schemes is a major issue, and there might be scenarios where they will never
> be appropriate, such as VM environments in which VMs are cloned.   It may be
> the case that these types of signatures need to have a different interface
> that would better ensure the security of implementations.   But in any case,
> given their postquantum security and solid theoretical foundations, they
> deserve to be studied more to see what their limits are.

It's not about the security of an implementation, but a deployment.
Back up your computer? You've revealed your secret key. Ensure HVM
failures won't render your hardware unupdatable? You've revealed your
secret key. Does Cisco really think that a single point of failure for
updating firmware is acceptable?

The CFRG is not a CRYPTO reviewer panel. Publishing this draft will
lead to it being used in products.
>
> David
>
>>
>> Regards,
>>
>> Zooko
>>
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> https://www.irtf.org/mailman/listinfo/cfrg
>
>
>
> --
> "Man is born free, but everywhere he is in chains".
> --Rousseau.
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg
>



-- 
"Man is born free, but everywhere he is in chains".
--Rousseau.