[Ace] Clarifications on the pub-sub keying draft

Jim Schaad <ietf@augustcellars.com> Wed, 20 November 2019 00:10 UTC

Return-Path: <ietf@augustcellars.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 2DB8712018B for <ace@ietfa.amsl.com>; Tue, 19 Nov 2019 16:10:35 -0800 (PST)
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, RCVD_IN_DNSWL_NONE=-0.0001, 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 Kv51Epb8O3Gg for <ace@ietfa.amsl.com>; Tue, 19 Nov 2019 16:10:33 -0800 (PST)
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 39D0112008C for <ace@ietf.org>; Tue, 19 Nov 2019 16:10:33 -0800 (PST)
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; Tue, 19 Nov 2019 16:10:23 -0800
From: Jim Schaad <ietf@augustcellars.com>
To: ace@ietf.org
CC: 'Benjamin Kaduk' <kaduk@mit.edu>
Date: Wed, 20 Nov 2019 08:10:21 +0800
Message-ID: <01bc01d59f36$e82fe140$b88fa3c0$@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: AdWfMwvaSrluI+zAS+ONGsRDg3Lxcw==
Content-Language: en-us
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/FdydrSQi0A8Fy9r5NQ6XDsjKl3k>
Subject: [Ace] Clarifications on the pub-sub keying draft
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 20 Nov 2019 00:10:35 -0000

For those people who were on Jabber yesterday during the meeting, I made a
characterization of Francesca's Pub-Sub draft which was wrong, and she did
not tell me I was an idiot like she should have.

When you are doing encrypted pub-sub there are three problems that need to
be addressed:

1.  Get permissions to talk to the pub-sub server itself.  This is currently
covered by the MQTT draft and the two ACE profiles currently in last call.
In some cases this can also be a NOP.

2.  Get the group encryption keys from the Group KDC:  This is a completely
independent operation from that in step 1.  This is the first halve of the
pub-sub draft.  On jabber I was getting this mixed up with problem 1 and I
should have known better.

3.  How to encrypt the content:  This is the second halve of the pub-sub
draft.

As noted above, problem 1 is completely separate from problems 2 and 3.   It
is for this reason that I do not believe that any part of the pub-sub draft
needs to be included in the MQTT draft.  There might be a forward reference
from MQTT to this draft for content encryption processing but that should be
all that is needed.

Jim