Re: [core] Reading -13

Francesca Palombini <francesca.palombini@ericsson.com> Tue, 24 July 2018 18:08 UTC

Return-Path: <francesca.palombini@ericsson.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AB9FB130E22 for <core@ietfa.amsl.com>; Tue, 24 Jul 2018 11:08:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.31
X-Spam-Level:
X-Spam-Status: No, score=-4.31 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_MED=-2.3, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com header.b=ZgGHZ2c5; dkim=pass (1024-bit key) header.d=ericsson.com header.b=OuI1rkB1
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 Q-h4pCuRM6y8 for <core@ietfa.amsl.com>; Tue, 24 Jul 2018 11:08:57 -0700 (PDT)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (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 2CB8C130DEA for <core@ietf.org>; Tue, 24 Jul 2018 11:08:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1532455735; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=0w0t/2XbsS0vNebzefLo22hBTyB2XQGzWOiBLER/72I=; b=ZgGHZ2c5+WqA/1wwYzoZbHQ6XOglHrtPZPJFne9c1uPJVcONu979QrIycENQnxmy 3GyJbe5SGLynr3dGIhk5wNclnfSFzmdJwKByo4+ZbSYpsutGr6615QinjXiaA1RB 8E8E5C0OuOBk8Dur01rZTAj+CF7RBfav7vmHGb1SNOc=;
X-AuditID: c1b4fb25-ee5789c000006cb9-ec-5b576b378861
Received: from ESESSMB501.ericsson.se (Unknown_Domain [153.88.183.119]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id 59.97.27833.73B675B5; Tue, 24 Jul 2018 20:08:55 +0200 (CEST)
Received: from ESESBMB502.ericsson.se (153.88.183.169) by ESESSMB501.ericsson.se (153.88.183.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 24 Jul 2018 20:08:54 +0200
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB502.ericsson.se (153.88.183.169) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Tue, 24 Jul 2018 20:08:54 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7u7xcd31+iHe+J0L/W77jWwGc5Wyb6Xsa5ejgZzkuBw=; b=OuI1rkB19xYyd3QazL7icHRfS4PUB3NY4tdtfGsd/m1vOffnjtj7ZfkUimLZxR/WhwK8TgrvEosaN2OHPbyWlLZnhOs7kNGnr3UCsuUh2hgtbhW2GdbnPAH0tQi7ZTc0Qo82ZaG7sV6Hvo149najsZ9rcqMQTm8Of9G2xGcwJVY=
Received: from HE1PR0701MB2746.eurprd07.prod.outlook.com (10.168.188.140) by HE1PR0701MB2011.eurprd07.prod.outlook.com (10.167.189.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.995.10; Tue, 24 Jul 2018 18:08:52 +0000
Received: from HE1PR0701MB2746.eurprd07.prod.outlook.com ([fe80::64fd:702c:a60e:d563]) by HE1PR0701MB2746.eurprd07.prod.outlook.com ([fe80::64fd:702c:a60e:d563%5]) with mapi id 15.20.0995.014; Tue, 24 Jul 2018 18:08:52 +0000
From: Francesca Palombini <francesca.palombini@ericsson.com>
To: Jim Schaad <ietf@augustcellars.com>, "draft-ietf-core-object-security@ietf.org" <draft-ietf-core-object-security@ietf.org>
CC: 'Core' <core@ietf.org>
Thread-Topic: Reading -13
Thread-Index: AdQYaoV37BbZYpdJQZC3S1xD1eNBeQLDdBBQ
Date: Tue, 24 Jul 2018 18:08:52 +0000
Message-ID: <HE1PR0701MB2746D5E5EA080417AE51EB0F98550@HE1PR0701MB2746.eurprd07.prod.outlook.com>
References: <053f01d4193d$0a72c460$1f584d20$@augustcellars.com>
In-Reply-To: <053f01d4193d$0a72c460$1f584d20$@augustcellars.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [217.31.165.122]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; HE1PR0701MB2011; 6:6ZiqDBJBMfdBXFI3m6wzqkDIYc/olqtjx4Uy0D4/wzUJLUjJsWq2y55ULrlcn/MSKqw9Ta7KyHOGah2yAL+IhCPzWU+d3SRh6uVyaxvCTM7lwBGPCBhE5WVCWbt19AUQO1TiccpfCW4dhItvAxfVfzDdiPqBPlajy+mFeEkqIHTFBQltQ4na7V/HAJkNk8sruu/PnwW8niqX6rj7k644tHQ/sQqXwFr1FytIrantsfsOWSA41b9fFkFzEesGDP1cDd0NVdZ2Jq5H4SLpDT5mwoN5U6LGve85+arayGmwaz6FzKqebCBmNUUVSJ79NLcoQHggfkKtW2byMx1EnVJsZwgdrC/49+3+W4xpHPjnjrNXiKNhBtidh6nO8szemu/JhCLxrKD5iZ+NK5bP40MX6qPZ7NyPmg5fvcBNDIX87hoV3N5iPx6A/7YloX3iHZDDQDpQDj54yJ6CH2hSRAC6dg==; 5:FjagzHmUVtoM+/XEANf9Wn1dlkcB3C+NZLIZjNQqIskH14jGjhzdM7Xr6fSzhQJg8j5jPlyGCIgM6U1czRuMhOknGaTATZjW+LicnKP80h9rIabjmninRu9radd96A7LNDCkoW9moPn/aNkauWpjrB1qEQrJFtMBocMa1rMKKwA=; 7:12gxRrcnMCIPWT92bW5qnmtUfAlynO/YZAoJCX9b3dtetREBowIRZasE6n5Bv8w5gcW0LA9k44lrbP8rRdjr5jqvPDVwcmplZuX49aLdkL/FW9ZfmA0/PDWdZnNQGcH8PO3NYOzkSweuG1vvyelTTgiKhMSlfLdSeUi9uW4jMOS9uIL8uyvfnspq0aWNXv8rxsNmsrx2YH0Fp8o+7odcnd5oJ2oFvXyclUGODSW6vNLWdyXBD2mUmbqmn4Dm9KWS
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 25607db1-ae97-4403-6664-08d5f19083a8
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600073)(711020)(2017052603328)(7153060)(7193020); SRVR:HE1PR0701MB2011;
x-ms-traffictypediagnostic: HE1PR0701MB2011:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=francesca.palombini@ericsson.com;
x-microsoft-antispam-prvs: <HE1PR0701MB20117C816EF8C3519FD6588398550@HE1PR0701MB2011.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(190756311086443)(166708455590820);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231311)(944501410)(52105095)(93006095)(93001095)(10201501046)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:HE1PR0701MB2011; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0701MB2011;
x-forefront-prvs: 0743E8D0A6
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(376002)(136003)(396003)(346002)(39860400002)(13464003)(189003)(199004)(53754006)(55016002)(66066001)(76176011)(6306002)(14454004)(11346002)(6436002)(9686003)(446003)(14444005)(6506007)(26005)(476003)(256004)(53936002)(2900100001)(6246003)(7696005)(44832011)(8936002)(2906002)(486006)(68736007)(229853002)(966005)(25786009)(74316002)(478600001)(2501003)(7736002)(81156014)(110136005)(81166006)(33656002)(5250100002)(305945005)(6116002)(4326008)(105586002)(5660300001)(53546011)(316002)(99286004)(106356001)(8676002)(97736004)(86362001)(102836004)(7116003)(186003)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0701MB2011; H:HE1PR0701MB2746.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: o1zTOkWogs3IoFZ0kHbggnHvDCqcDGLsvnRxhW51Oq3OtJbEAf+pzCHbSURwi4MBTd/YpjNnKHpERcV2A7kqL6u+pfHIO/OgRRSgRFmmMsXhkbyEfIttJJfUDk5sKJsWLtyQiMRODEElSdmPtV2QwUya854OjlR8bAnJF1v0wKqHUbmsVU3E6GNX2gr1+J9uoX4Yv4kBYrsh/PKYTrnLFsNJIBEdOpJaTVWkLSHRA9Q9GQzdLXwe59+O3iDpm9hUCBfXndTsI9t9c6b25qJdFL+5rF6/wtrxoKNtg2beA3tYEM5DIy9PD5k/iuAMy74v/ep/AoAIqG/EJN5BOTe5G6jD6FkGSw6xFa+g7WkD1ZA=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 25607db1-ae97-4403-6664-08d5f19083a8
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2018 18:08:52.7510 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2011
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupkleLIzCtJLcpLzFFi42KZGbG9XNc8OzzaoGODrMW+t+uZLab9O8Ni sXr6dzYHZo+Nc6azeSxZ8pMpgCmKyyYlNSezLLVI3y6BK2NNwyuWgqfCFU92BzQwPubvYuTg kBAwkVjRItzFyMUhJHCUUeLQn1/MEM43Romd1+ayQjhLmCTWdDewgzgsAhOYJfZPeMQOkZnB JHHz1zyWLkZOIOcZo8TPdeUgNpuAjcSFh+/B2kUEmhglHs/tYwZJMAtISfScPMwEYgsLSEh0 d9xiB7FFBCQlvp0+xgRhG0ms/XeODcRmEVCVuHt1ElicVyBB4uyND4wQy+wldp5+DraYU8BB Yt7Lm2BzGAVkJb40robaJS5x68l8sF4JAQGJJXvOM0PYohIvH/9jhbCVJC79WQgVl5W4NL+b EeRoCYED7BLTH7yHataV+DB1KlSRr8TntktQRScZJbZffcgICUodiXNfSiGOSJa4cruPHaI+ X2LiUZheH4lljz9BzZSTWNX7kGUCo+EsJLdC2DoSC3Z/YoOwtSWWLXzNPAvsf0GJkzOfsCxg ZFnFKFqcWpyUm25krJdalJlcXJyfp5eXWrKJEZhADm75rbqD8fIbx0OMAhyMSjy8UYnh0UKs iWXFlbmHGCU4mJVEeE0DgUK8KYmVValF+fFFpTmpxYcYpTlYlMR5H5pvjhISSE8sSc1OTS1I LYLJMnFwSjUwtnftdXRjc8nJCJHhsJPgTMzafNs9RHNLU3/16rlrg3hN9XofyzC9viO+lk2P f4pcRuJ8/sVz2urcHHlrK74dmPgt7oir7I0X83gvvHwwZ0bGl9WvGXdz6HCdi/l8egNz8L4N x1kn8G0qzvdgXpk56f3mKznXvq6f0Xpsyr7mzc+2PdLyrGRuUWIpzkg01GIuKk4EABADltQc AwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/lZmnr9UAn4e26kbbGPB2zLHRUdI>
Subject: Re: [core] Reading -13
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2018 18:09:00 -0000

Hi all,

I just wanted to point to the wg that, following discussion in Montreal, I have now compiled the modifications in 5 different pull requests (inline for links), to simplify the review. Jim has already started reviewing those, please feel free to follow the discussion on the github!  https://github.com/core-wg/oscoap/ 

Thanks Jim for the review and for the useful discussion in Montreal!

Francesca

> -----Original Message-----
> From: Jim Schaad <ietf@augustcellars.com>
> Sent: den 11 juli 2018 19:32
> To: draft-ietf-core-object-security@ietf.org
> Cc: 'Core' <core@ietf.org>
> Subject: Reading -13
> 
> * Section 4.1.3.1 - I am unclear why an OSCORE error response can be cached
> by an OSCORE unaware intermediate would be cached, but a success
> message is never going to be cached.  Based on this, I don't plan to set an
> outer Max-Age option.
> 

Clarified in https://github.com/core-wg/oscoap/pull/235


> * In section 5.4 you have the text
> 
> request_piv: contains the value of the 'Partial IV' in the COSE object of the
> request (see Section 5), with one exception: in case of protection or
> verification of Observe cancellations, the request_piv contains the value of
> the 'Partial IV' in the COSE object of the corresponding registration (see
> Section 4.1.3.5.1).
> 
> I am unclear how/why this is different for observations.   A cancelation is
> a message, so the IV is the request.  A re-registration is a request message,
> any response would correspond to that request.  The only interesting
> question has to do with updating the MID on a re-registration but not how
> PIVs work for this field.
> 

Cancellations do not have special processing of request_piv in https://github.com/core-wg/oscoap/pull/236

> * Section 6.1 - Is a registry needed for the leading byte of compression?
> Behavior if bits 0, 1, or 2 is set in the flags byte on decode?
> 

Adding a registry in https://github.com/core-wg/oscoap/pull/237


> * Section C - given the way that my system is implemented, it would be nice if
> the outputs included the first full IV to be used for both the sender and the
> recipient.  That would allow for a test that the combination of ids and
> common ivs is done correctly.  In my case I do not have the shared IV
> available for testing as I immediately or in the id.
> 
> 

Adding the nonces for the test vectors in https://github.com/core-wg/oscoap/pull/239