Re: [Acme] Content-Type and file extensions for HTTP01 challenges

Peter Eckersley <pde@eff.org> Fri, 13 November 2015 01:12 UTC

Return-Path: <pde@mail2.eff.org>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5F7E71B3C16 for <acme@ietfa.amsl.com>; Thu, 12 Nov 2015 17:12:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.012
X-Spam-Level:
X-Spam-Status: No, score=-7.012 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_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 fjFZOooP8voI for <acme@ietfa.amsl.com>; Thu, 12 Nov 2015 17:12:58 -0800 (PST)
Received: from mail2.eff.org (mail2.eff.org [173.239.79.204]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4CADA1B3C15 for <acme@ietf.org>; Thu, 12 Nov 2015 17:12:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eff.org; s=mail2; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=A+uuEx0SVpiHzCyIt15mYJwD7gCL4Go/2KqdGJDVIIk=; b=lEsmd6CqIBoZhWosOVg8GD1oRi8bJud0T1UZuvYS8+KFBvQ6k3Qlk47PYkmob1S55uTmAvolLed/FSqRosF0g1+jqYIDeHETjivEji3KomNKfawQzwLyCRk0Lix9dD7KtOaN//wviYcItXn0h1RKeeApNBBDRIlUX+Ml3Hn47kA=;
Received: ; Thu, 12 Nov 2015 17:12:59 -0800
Date: Thu, 12 Nov 2015 17:12:59 -0800
From: Peter Eckersley <pde@eff.org>
To: Martin Thomson <martin.thomson@gmail.com>
Message-ID: <20151113011259.GC18430@eff.org>
References: <20151113004436.GB18430@eff.org> <CABkgnnU5EzaPA4o7OgnTBpSQCZxjD+QsSV=4_L2rOBeFAoauKA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CABkgnnU5EzaPA4o7OgnTBpSQCZxjD+QsSV=4_L2rOBeFAoauKA@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/-pZCOWOeJ3kCbx8yuGKGqVQ3xDo>
Cc: "acme@ietf.org" <acme@ietf.org>
Subject: Re: [Acme] Content-Type and file extensions for HTTP01 challenges
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Automated Certificate Management Environment <acme.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/acme>, <mailto:acme-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/acme/>
List-Post: <mailto:acme@ietf.org>
List-Help: <mailto:acme-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/acme>, <mailto:acme-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Nov 2015 01:12:59 -0000

I should have added another option, 3b, drop the Content-Type
restriction but allow file extensions.

Sounds like that would be a win on IIS.

On Thu, Nov 12, 2015 at 05:05:53PM -0800, Martin Thomson wrote:
> On 12 November 2015 at 16:44, Peter Eckersley <pde@eff.org> wrote:
> > But is 3 the best answer?
> 
> Of those presented, I think so.  I know that this isn't a great answer
> (it's bad already, so bad must be OK), but being able to drop things
> into .well-known opens a raft of other interesting attacks.
> 
> More seriously, I think that the other options all have deployment
> complications that far outweigh the marginal benefit that extra
> checking might provide.
> 
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
> 

-- 
Peter Eckersley                            pde@eff.org
Chief Computer Scientist          Tel  +1 415 436 9333 x131
Electronic Frontier Foundation    Fax  +1 415 436 9993