Re: [atoca] New Version Notification for draft-barnes-atoca-escape-01.txt

Art Botterell <acb@incident.com> Tue, 11 September 2012 19:36 UTC

Return-Path: <artbotterell@gmail.com>
X-Original-To: atoca@ietfa.amsl.com
Delivered-To: atoca@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 07D0921F8673 for <atoca@ietfa.amsl.com>; Tue, 11 Sep 2012 12:36:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zu8LPwpI8WWu for <atoca@ietfa.amsl.com>; Tue, 11 Sep 2012 12:36:17 -0700 (PDT)
Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by ietfa.amsl.com (Postfix) with ESMTP id 01E7921F865B for <atoca@ietf.org>; Tue, 11 Sep 2012 12:36:16 -0700 (PDT)
Received: by dadf8 with SMTP id f8so519320dad.31 for <atoca@ietf.org>; Tue, 11 Sep 2012 12:36:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=gz3MWCFDTL0cJ31j4sLbiOzLMZ0zC0bzZkqAU/zfssc=; b=NeeS34zEeYVmI0IAnaPm4JdlHCr9S1RlbXUY7Fmvpwqc9hNOc8lTrIPVuLq8Jh0qsc 8d/OPJ13M1LnHx/uGqEyS1ME/jS+PzWQ59qBigKtEjxQ7iy1yUCZOIW/eK1u3OMvve2w l0cBuVbz+RIn4Osf2Z8Z87CIuoz0QCqDuTnT9WQxiGeMAlWPwFOSwr3aoUyMbWhZhiy4 g3vGLOnfx0LIGjb4WouRmNhZSMj5mvWhedOGSiB4DlxrVqc1VEllu5S64n7c7kcnQ2A8 hBZxVXBF5AJNUtMKf2XAuS7TbQjLriHa8WmIHUH/FbxC7B03yjGOl7LbAanH6VY1kpGV ZHaQ==
Received: by 10.68.228.98 with SMTP id sh2mr12496788pbc.95.1347392174491; Tue, 11 Sep 2012 12:36:14 -0700 (PDT)
Received: from [192.168.1.69] (99-182-125-96.lightspeed.frokca.sbcglobal.net. [99.182.125.96]) by mx.google.com with ESMTPS id uh7sm10203897pbc.35.2012.09.11.12.36.06 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Sep 2012 12:36:13 -0700 (PDT)
Sender: Art Botterell <artbotterell@gmail.com>
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset="us-ascii"
From: Art Botterell <acb@incident.com>
In-Reply-To: <CABkgnnWGN-GhVzx=0+Ch_H173=g7m2V43KqEtjRMm33LcZBRJw@mail.gmail.com>
Date: Tue, 11 Sep 2012 12:36:04 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <22890A80-2C2D-43D4-A74D-081D35E08FFD@incident.com>
References: <20120911033801.16598.18619.idtracker@ietfa.amsl.com> <886749D5-885D-471F-A0B7-32DE09C69C5E@bbn.com> <6DDAB886-779C-4F0E-BE34-D80F34E5A456@incident.com> <CABkgnnWGN-GhVzx=0+Ch_H173=g7m2V43KqEtjRMm33LcZBRJw@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
X-Mailer: Apple Mail (2.1278)
Cc: atoca@ietf.org
Subject: Re: [atoca] New Version Notification for draft-barnes-atoca-escape-01.txt
X-BeenThere: atoca@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Discussion list for the IETF Authority-to-Citizen Alert \(atoca\) working group." <atoca.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/atoca>, <mailto:atoca-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/atoca>
List-Post: <mailto:atoca@ietf.org>
List-Help: <mailto:atoca-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/atoca>, <mailto:atoca-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Sep 2012 19:36:18 -0000

Hi Martin -

Not sure how one might implement digital signatures of XML without canonicalization, really, but if that "accepted wisdom" is correct, wouldn't that better be addressed by refinement or replacement of RFC3275 rather than vectoring off into development of a "splinter" specification?

I do observe that all the various implementers of IPAWS-compatible systems in the US have had to implement XML signatures and seem to have managed without undue difficulty.  Perhaps the available libraries have improved.

And I'm not clear on what it is that tokens would optimize, but hopefully Richard can explain that.

- Art


On Sep 11, 2012, at 10:01 AM, Martin Thomson wrote:

> Art,
> 
> It is generally accepted wisdom (in the IETF at least) that XML DSig
> [RFC3275] is a recipe for interoperability failure.  The primary
> reason for this is the dependency on XML canonicalization.
> 
> I'd be interested in hearing a different perspective.  I've used the
> apache library to implement an enveloped signature and it wasn't
> straightforward.  I'm not aware of any other implementation, but it's
> been a few years since I last looked.
> 
> Of course, it's a different thing to say the mechanism is broken or
> unusable rather than "there is no mechanism".  The former statement
> requires greater justification.
> 
> I'll let Richard explain the token mechanism.  It's an optimization.
> 
> --Martin
> 
> On 10 September 2012 22:20, Art Botterell <acb@incident.com> wrote:
>> Hi Richard -
>> 
>> I'm confused by the claim that CAP "does not provide any security features that would support authentication of alert originators."
>> 
>> Section 3.3.4.1 of the OASIS CAP 1.2 specification says "The <alert> element of a CAP Alert Message MAY have an Enveloped Signature, as described by XML-Signature and Syntax Processing," and makes reference to both <http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/ > and <http://www.ietf.org/rfc/rfc3275.txt>.
>> 
>> Indeed, XMLSIG has been a feature of every CAP version since 1.0.  And if that's not enough, there's also the existing OASIS EDXL-DE wrapper specification.
>> 
>> So while I'm a huge supporter of an end-to-end approach to CAP authentication, on the face of it the ESCAPE draft seems duplicative and somewhat ill-informed.  Also I fear I'm missing the point of the added "alert token" mechanism, other than to add one more maintenance task that nobody is going to want to own.
>> 
>> But possibly you've just leapt ahead too far for me to follow in a single bound.  What am I missing here?
>> 
>> - Art
>> 
>> 
>> On Sep 10, 2012, at 8:43 PM, Richard Barnes wrote:
>> 
>>> Dear ATOCA,
>>> 
>>> In order to respond to the chairs' call for candidate alert format documents, we have put together a revision of draft-barnes-atoca-escape.  As you may recall from earlier versions, ESCAPE uses S/MIME to wrap a CAP document, in order to add authentication for alert originators (digital signature and "alert token").
>>> 
>>> The changes from -00 are largely to add more explanatory text, and clarify a few things technically. We haven't translated the whole thing to JOSE (yet).  Mostly, our hope is that in reading the new version, you'll be able to envision how these secure alerts can be used to build an overall alerting system.  For example, they highlight some of the things that a discover / metadata protocol might need to provide (e.g., public keys for authorities).
>>> 
>>> Comments very welcome.  There's even a list of open questions at the front!
>>> 
>>> Thanks a lot,
>>> --Richard
>>> 
>>> 
>>> 
>>> On Sep 10, 2012, at 11:38 PM, internet-drafts@ietf.org wrote:
>>> 
>>>> 
>>>> A new version of I-D, draft-barnes-atoca-escape-01.txt
>>>> has been successfully submitted by Richard Barnes and posted to the
>>>> IETF repository.
>>>> 
>>>> Filename:     draft-barnes-atoca-escape
>>>> Revision:     01
>>>> Title:                Encoding of Secure Common Alert Protocol Entities (ESCAPE)
>>>> Creation date:        2012-09-11
>>>> WG ID:                Individual Submission
>>>> Number of pages: 17
>>>> URL:             http://www.ietf.org/internet-drafts/draft-barnes-atoca-escape-01.txt
>>>> Status:          http://datatracker.ietf.org/doc/draft-barnes-atoca-escape
>>>> Htmlized:        http://tools.ietf.org/html/draft-barnes-atoca-escape-01
>>>> Diff:            http://www.ietf.org/rfcdiff?url2=draft-barnes-atoca-escape-01
>>>> 
>>>> Abstract:
>>>> Recipients of emergency alerts need to be able to verify that an
>>>> alert they receive was issued by an authorized source.  The Common
>>>> Alerting Protocol (CAP) provides a standard way of encoding alert
>>>> information, but does not provide any security features that would
>>>> support authentication of alert originators.  This document describes
>>>> a security wrapper for Common Alerting Protocol objects to allow
>>>> alerts to be signed by alert originators.
>>>> 
>>>> Please send feedback to the atoca@ietf.org mailing list.
>>>> 
>>>> 
>>>> 
>>>> 
>>>> The IETF Secretariat
>>>> 
>>> 
>>> _______________________________________________
>>> atoca mailing list
>>> atoca@ietf.org
>>> https://www.ietf.org/mailman/listinfo/atoca
>> 
>> _______________________________________________
>> atoca mailing list
>> atoca@ietf.org
>> https://www.ietf.org/mailman/listinfo/atoca