[core] Review draft-amsuess-core-cachable-oscore-00

Jim Schaad <ietf@augustcellars.com> Fri, 17 July 2020 23:18 UTC

Return-Path: <ietf@augustcellars.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 BB1B03A0B1C; Fri, 17 Jul 2020 16:18:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 cj1wp0Y4OVwr; Fri, 17 Jul 2020 16:18:43 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D04433A0B1B; Fri, 17 Jul 2020 16:18:39 -0700 (PDT)
Received: from Jude (73.180.8.170) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 17 Jul 2020 16:18:34 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: draft-amsuess-core-cachable-oscore@ietf.org
CC: 'Core WG mailing list' <core@ietf.org>
Date: Fri, 17 Jul 2020 16:18:33 -0700
Message-ID: <009a01d65c90$98bc6da0$ca3548e0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdZcjqroRddXQKEdRk+Nx8stKVwPlw==
Content-Language: en-us
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/FkycROERRxZJ5QRh163xTkmPVjU>
Subject: [core] Review draft-amsuess-core-cachable-oscore-00
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 17 Jul 2020 23:18:45 -0000

I will admit that I found what was proposed here to be very interesting.  I
am unsure of how well it would work and think that we may want to workshop
it at some point just to figure that out.

*  Reading this document made me really long for an OSCORE padding document
where the message can be predictably padded out to fixed length so that it
would make one of the issues raised in this document moot.

* One place where this could also be useful is where a large number of
entities are going to fetch the same object on a reasonably frequent basis
and it does not matter if external parties can determine if they are all
asking for the same thing.  The server could then always update the ETAG and
generate a new response, padded, whenever it either changes or it has aged
out.

* One wonders about the goodness of returning both a "This is what the
deterministic request says and here is the encoded request but you cannot
decrypt it".  It does mean that you need to have a degree of trust for the
server not lying to you but would potentially allow for an even shorter
request.

* It might be worthwhile to signal that you are going to ask a lot and use
an application/multiple-coap content to return both the answer and the
deterministic request.  This means that it would not be cached until the
next ask but that is going to be true anyway if the server is providing this
request.

Jim