Re: [Ace] [COSE] FW: New Version Notification for draft-selander-ace-object-security-05.txt

Francesca Palombini <francesca.palombini@ericsson.com> Tue, 12 July 2016 09:42 UTC

Return-Path: <francesca.palombini@ericsson.com>
X-Original-To: ace@ietfa.amsl.com
Delivered-To: ace@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F084712D784; Tue, 12 Jul 2016 02:42:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level:
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.onmicrosoft.com
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 3y0zzMXQmTvy; Tue, 12 Jul 2016 02:42:30 -0700 (PDT)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B352F12D783; Tue, 12 Jul 2016 02:42:29 -0700 (PDT)
X-AuditID: c1b4fb3a-f79386d00000467b-4d-5784bb83fd92
Received: from ESESSHC011.ericsson.se (Unknown_Domain [153.88.183.51]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 4B.59.18043.38BB4875; Tue, 12 Jul 2016 11:42:27 +0200 (CEST)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.51) with Microsoft SMTP Server (TLS) id 14.3.294.0; Tue, 12 Jul 2016 11:42:27 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.onmicrosoft.com; s=selector1-ericsson-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=GbPkw+vRyzxr7l6LVHj3MT71xI6lqxCfDtvXNFwWHiI=; b=UoenGxNof3riV0NOSn8KSrOOv7iGT1gr0XwWxycj3bxP6HOvQyEAmWzYFJNYEoPO2KvY3IRiCx0FU3sspWADnqOlnH7Xse6mTUD5oPKp9XRMS3MwGE3+OF+wXXnbJVW9cBWgpTBYg1O31+kgSckTuQPRSuMAuea9E1w/1BIwp/A=
Received: from AMXPR07MB070.eurprd07.prod.outlook.com (10.242.70.148) by AMXPR07MB069.eurprd07.prod.outlook.com (10.242.70.147) with Microsoft SMTP Server (TLS) id 15.1.528.16; Tue, 12 Jul 2016 09:42:25 +0000
Received: from AMXPR07MB070.eurprd07.prod.outlook.com ([169.254.14.218]) by AMXPR07MB070.eurprd07.prod.outlook.com ([169.254.14.218]) with mapi id 15.01.0528.026; Tue, 12 Jul 2016 09:42:26 +0000
From: Francesca Palombini <francesca.palombini@ericsson.com>
To: Marco Tiloca <marco@sics.se>
Thread-Topic: [COSE] [Ace] FW: New Version Notification for draft-selander-ace-object-security-05.txt
Thread-Index: AQHR2G3dJR4k7DwmmE2nHZmL8yaTPqAOF8bQgAUzcwCAAS6UIIAAFDEAgAAD21A=
Date: Tue, 12 Jul 2016 09:42:25 +0000
Message-ID: <AMXPR07MB070E936BD38CE40EC1E4D9798300@AMXPR07MB070.eurprd07.prod.outlook.com>
References: <20160707163729.23634.20152.idtracker@ietfa.amsl.com> <AMXPR07MB0709A19CD21050F2B2DC7F4983C0@AMXPR07MB070.eurprd07.prod.outlook.com> <CABFpCtCnaMvLiAN=gJJPJSgxV5+=KWG8LGj5WK0kvvrUpSHyMA@mail.gmail.com> <AMXPR07MB070FAF73F930DEF19972C8698300@AMXPR07MB070.eurprd07.prod.outlook.com> <CABFpCtCoGpHnfpFMgLu4zhh0EsBu3Qb-X=zh0DFd0hQm=d1fJQ@mail.gmail.com>
In-Reply-To: <CABFpCtCoGpHnfpFMgLu4zhh0EsBu3Qb-X=zh0DFd0hQm=d1fJQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=francesca.palombini@ericsson.com;
x-originating-ip: [80.216.62.213]
x-ms-office365-filtering-correlation-id: f9a375e9-d489-4371-d1ab-08d3aa38d528
x-microsoft-exchange-diagnostics: 1; AMXPR07MB069; 6:udC+tssMHPABxBpzhg1RQ4VC6ib0CuEIJsVEJRHCV1WPLItssApoZG11UqFQdYtDiNiV5sWfwBtFMNcSHg0bu+PYXtsG/B4aA+z34Nuou8E3yvo1rXYyzS3wvM6bt8AfceXlxjqZGjUDVeMrN0mjAbZ/f6K7NOtBo7YJCPXy9d7RqDSyhg081wGweRqXoXSgkxPNdhy8EtgL2l0CUqyX63U8BiRJsGEx+MyTOEDz9T8A5Smmpggl3OQEBFDsjOFwXfIaLFkDzUxw0p9n6cYoBENHQZa0jNGUNtrUEJcu58w=; 5:rTXPBmRecpTn5C00HbgsjauKDm3r0ogKh5oSpvSWvDyGOYmSDr6zP4XSCQDcv5iM9b3COAnPgRRliJR/B52+DACbv/Ebk3ije07JX/9fgDs8nLgWA7Z/AYqstRGRcuXLq0mEd3muxFi0N7dgIK+SEQ==; 24:sW3sHKCej4SJNCrqz77d8C49bmFdA3HByOKYfrhbJm4ks0xuMI6s0rmSopOSUssENN8ymQAHyntSxagtA5CLXxb+RZADmUU0rRcPvvWUUME=; 7:VD13/v2M52RJUEt0k7npmYk/CNE38IhLHgVDcA5ll75oC02KBGZEbUy/XTbgvEqtXHTHBWPCt4iHonG4EUqvd//NaifGYm1rMuba3bVXCSFumQGVYMDCWIz5i3RR/zWrpt5CyoBq/BzB530WTD6CtPDrJVIH4gTN69rYbHtXU51FIHvq2D6SqFYpMXD1ft2XtlRusdPPXyffOi64zI9dOw+ib0Ws+iE4HqMjmzROz0/H+RgUeSGAGYgqKpDdxdJU
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AMXPR07MB069;
x-microsoft-antispam-prvs: <AMXPR07MB0690B76DFBE2A655E1FF59398300@AMXPR07MB069.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(37575265505322)(158342451672863)(120809045254105)(192374486261705)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:AMXPR07MB069; BCL:0; PCL:0; RULEID:; SRVR:AMXPR07MB069;
x-forefront-prvs: 0001227049
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916002)(13464003)(189002)(377454003)(199003)(377424004)(24454002)(101416001)(2906002)(106356001)(54356999)(93886004)(50986999)(19617315012)(105586002)(106116001)(76176999)(16601075003)(19580395003)(7696003)(3660700001)(7736002)(5003600100003)(2420400007)(19580405001)(68736007)(19609705001)(7846002)(9326002)(81166006)(230783001)(7906003)(3280700002)(81156014)(19625215002)(74316002)(8936002)(15650500001)(19300405004)(8676002)(33656002)(92566002)(110136002)(14971765001)(122556002)(4326007)(86362001)(189998001)(87936001)(6116002)(790700001)(16236675004)(10400500002)(102836003)(3846002)(97736004)(10710500007)(7110500001)(76576001)(2900100001)(2950100001)(15975445007)(66066001)(9686002)(586003)(5002640100001); DIR:OUT; SFP:1101; SCL:1; SRVR:AMXPR07MB069; H:AMXPR07MB070.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_AMXPR07MB070E936BD38CE40EC1E4D9798300AMXPR07MB070eurprd_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2016 09:42:25.8354 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AMXPR07MB069
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGKsWRmVeSWpSXmKPExsUyM2K7sW7z7pZwg1OzjSy+f+thttj3dj2z xbStU1kt5qzdy+bA4rFkyU8mj95jv9kCmKK4bFJSczLLUov07RK4Ms5+f8lasKiHqWLHxgcs DYxzWpm6GDk5JARMJGafXMkOYYtJXLi3nq2LkYtDSOAIo0T7mldQzglGiRm9v5lBHBaBXmaJ Sb97oTJXGCVebNnDCOEcY5TourQbbDCbgI3EhYfvWUFsEQEFiY0zO5hBbGaBVInZNzqB4hwc wgJpEv39URAl6RK98+ewQNh+EvOOnwW7iUVAVaJhynYwm1cgSuLsxnfsELs+Mkkc3zuRESTB KRAo8XffKbAiRqAnvp9awwSxS1zi1pP5UI8KSCzZc54ZwhaVePn4HytEfbLEldt90ABQlPja uJcNwvaVeNjfCfayhMBbNom2bzOgml0lpjbcgBqaKXF//RJWCLtW4mXrJDaIhrXAkFi0F2qq jMS2N5eZIBJN7BIP5/8A6xYCBsXyta2MExi1ZiG5FsLOl/j59i7zLLC3BSVOznzCMgsYYswC mhLrd+lDlChKTOl+yA5ha0i0zpnLjiy+gJF9FaNocWpxcW66kZFealFmcnFxfp5eXmrJJkZg ajq45bfVDsaDzx0PMQpwMCrx8C641xwuxJpYVlyZe4hRgoNZSYRXcGdLuBBvSmJlVWpRfnxR aU5q8SFGaQ4WJXFe/5eK4UIC6YklqdmpqQWpRTBZJg5OqQbGMBO3Tx++3pZP/Vf69Lz/PLk3 K698eWT9J0BN6aIg9+KYZAGmWomQvJ0NGQc2W2+PvNKZwFfkqiKWwveea8GTud7v51k+ifF5 Wx+r5XTWvqP7m/UazxTG6zf4XH/yX1JQDPH7k+c053fu9zz9o70Vmy5U//lateCnxtLrNXqn JtfzJ6aKF7krsRRnJBpqMRcVJwIAd5PNAUkDAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/8xpLopEGejn2L77vEdxuVG6OEfo>
Cc: "cose@ietf.org" <cose@ietf.org>, "core@ietf.org" <core@ietf.org>, "Ace@ietf.org" <Ace@ietf.org>
Subject: Re: [Ace] [COSE] FW: New Version Notification for draft-selander-ace-object-security-05.txt
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Authentication and Authorization for Constrained Environments \(ace\)" <ace.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ace>, <mailto:ace-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ace/>
List-Post: <mailto:ace@ietf.org>
List-Help: <mailto:ace-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ace>, <mailto:ace-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Jul 2016 09:42:33 -0000

Hi Marco,

Ok, it’s noted. We will include your comments very soon.

Thank you again!
Francesca

From: COSE [mailto:cose-bounces@ietf.org] On Behalf Of Marco Tiloca
Sent: den 12 juli 2016 11:26
To: Francesca Palombini <francesca.palombini@ericsson.com>
Cc: Ace@ietf.org; core@ietf.org; cose@ietf.org
Subject: Re: [COSE] [Ace] FW: New Version Notification for draft-selander-ace-object-security-05.txt

Hi Francesca,

On Tue, Jul 12, 2016 at 10:14 AM, Francesca Palombini <francesca.palombini@ericsson.com<mailto:francesca.palombini@ericsson.com>> wrote:
Hi Marco,

Thank you so much for an extended review! I agree with all your comments and I think they will improve the readability of the draft.
I just have a question for 1):

We introduce the use of COSE objects already in Section 1. Introduction, in the last paragraph of page 3 (“OSCOAP builds on CBOR Object Signing and Encryption (COSE) …”). Was there a reason why you wanted it mentioned in the Object Security option section, specifically?

I suggested that just for the sake of readability. The COSE object is introduced in Section 1, but then I thought about a reader starting directly from the actual specification in Section 2, where the COSE object "suddenly reappears" at the end of page 5, and is of course detailed only later in Section 5.

This is why I believe it would be good to quickly mention again the usage of COSE objects at the beginning of Section 2, just from a high-level perspective as in the Introduction and also pointing to Section 5 for further details, so better preparing the reader for the 2-element bullet list at the end of page 5.
Best regards,
Marco


Best,
Francesca


From: Marco Tiloca [mailto:marco@sics.se<mailto:marco@sics.se>]
Sent: den 11 juli 2016 16:11
To: Francesca Palombini <francesca.palombini@ericsson.com<mailto:francesca.palombini@ericsson.com>>
Cc: core@ietf.org<mailto:core@ietf.org>; cose@ietf.org<mailto:cose@ietf.org>; Ace@ietf.org<mailto:Ace@ietf.org>
Subject: Re: [Ace] FW: New Version Notification for draft-selander-ace-object-security-05.txt

Hello Francesca and all,

I have reviewed this last version and I believe it is in a very good shape!

Please, find below some suggestions for minor changes/updates.

Best regards,
/Marco

----------------------------

1) In Section 2, I would refer the usage of a COSE object as soon as possible, rather than at the end of page 5 where you describe how to prepare the protected CoAP message. For instance, the very first sentence in Section 2 can be followed by something like: "This is achieved by means of a COSE object included in the protected CoAP message, as detailed below".

2) In Section 2 (page 5), I would move the sentence "An endpoint receiving [...] treat it as malformed and reject it." at the end of the first element of the bullet list below, since it concerns CoAP messages with payload.

3) Following the same reasoning of point 2), I would extend the second element in the dotted list at the end of page 5 with: "An endpoint receiving a CoAP message without payload, that also contains an empty Object-Security option SHALL treat it as malformed and reject it".

4) Section 3.1, page 6, "The endpoint verifies the message received" --> "The endpoint verifies the messages received".

5) Section 5, page 13, add "(see Section 5.1)" after "is computed from the Plaintext", and "(see Section 5.2)" after "and the Additional Authenticated Data (AAD)".

6) Section 6.2, page 16, step 1. In the last sentences about renewing the security context on the client, it would be good to mention also that this involves informing the server, so that it can update its own Receiver-* parameters on its own context.

7) Section 6.2, page 16, step 2. "Store the MAC of each fragment" --> "Store the MAC of each last-sent fragment".

8) Section 6.3, page 17, step 2. "Store the MAC of each fragment" --> "Store the MAC of each last-received fragment".

9) Section 6.4, page 18, step 1. In the last sentences about renewing the security context on the server, it would be good to mention also that this involves informing the client, so that it can update its own Receiver-* parameters on its own context.

10) Section 6.4, page 18, step 2. "Store the MAC of each fragment" --> "Store the MAC of each last-sent fragment".

11) Section 6.5, page 19, step 2. "Store the MAC of each fragment" --> "Store the MAC of each last-received fragment".

12) Section 6.5, page 20, first paragraph. After the last sentence "DTLS and OSCOAP can be combined", I would restate what said in Section 1 (page 4), that is "thereby enabling end-to-end ..."

13) Section 6.5, page 20, third paragraph. "The use of COSE to protected CoAP messages" --> "The use of COSE to protect CoAP messages"

On Fri, Jul 8, 2016 at 9:03 AM, Francesca Palombini <francesca.palombini@ericsson.com<mailto:francesca.palombini@ericsson.com>> wrote:
Dear CoRE, COSE and ACE members,

We have submitted an update to the OSCOAP draft:
https://tools.ietf.org/html/draft-selander-ace-object-security-05

For those who don’t know, OSCOAP is an application layer security protocol for CoAP, based on wrapping request and response messages in COSE objects which are sent in a CoAP message exchange.

With this version, we aimed for improved readability and we added the blockwise functionality, as discussed during last f2f meeting.

We are now looking for reviews. Any comment or feedback would be greatly appreciated!

Best regards,
Francesca

-----Original Message-----
From: internet-drafts@ietf.org<mailto:internet-drafts@ietf.org> [mailto:internet-drafts@ietf.org<mailto:internet-drafts@ietf.org>]
Sent: den 7 juli 2016 18:37
To: Göran Selander <goran.selander@ericsson.com<mailto:goran.selander@ericsson.com>>; Ludwig Seitz <ludwig@sics.se<mailto:ludwig@sics.se>>; John Mattsson <john.mattsson@ericsson.com<mailto:john.mattsson@ericsson.com>>; Göran Selander <goran.selander@ericsson.com<mailto:goran.selander@ericsson.com>>; Francesca Palombini <francesca.palombini@ericsson.com<mailto:francesca.palombini@ericsson.com>>
Subject: New Version Notification for draft-selander-ace-object-security-05.txt


A new version of I-D, draft-selander-ace-object-security-05.txt
has been successfully submitted by Francesca Palombini and posted to the IETF repository.

Name:           draft-selander-ace-object-security
Revision:       05
Title:          Object Security of CoAP (OSCOAP)
Document date:  2016-07-07
Group:          Individual Submission
Pages:          36
URL:            https://www.ietf.org/internet-drafts/draft-selander-ace-object-security-05.txt
Status:         https://datatracker.ietf.org/doc/draft-selander-ace-object-security/
Htmlized:       https://tools.ietf.org/html/draft-selander-ace-object-security-05
Diff:           https://www.ietf.org/rfcdiff?url2=draft-selander-ace-object-security-05

Abstract:
   This memo defines Object Security of CoAP (OSCOAP), a method for
   application layer protection of message exchanges with the
   Constrained Application Protocol (CoAP), using the CBOR Object
   Signing and Encryption (COSE) format.  OSCOAP provides end-to-end
   encryption, integrity and replay protection to CoAP payload, options,
   and header fields, as well as a secure binding between CoAP request
   and response messages.  The use of OSCOAP is signaled with the CoAP
   option Object-Security, also defined in this memo.




Please note that it may take a couple of minutes from the time of submission until the htmlized version and diff are available at tools.ietf.org<http://tools.ietf.org>.

The IETF Secretariat

_______________________________________________
Ace mailing list
Ace@ietf.org<mailto:Ace@ietf.org>
https://www.ietf.org/mailman/listinfo/ace