Re: [MLS] Improving client authentication

Benjamin Kaduk <kaduk@mit.edu> Mon, 14 December 2020 04:21 UTC

Return-Path: <kaduk@mit.edu>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C00E3A0E7E; Sun, 13 Dec 2020 20:21:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.003
X-Spam-Level:
X-Spam-Status: No, score=0.003 tagged_above=-999 required=5 tests=[RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 wad0e0eeB9SO; Sun, 13 Dec 2020 20:21:26 -0800 (PST)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 987EB3A0E7B; Sun, 13 Dec 2020 20:21:25 -0800 (PST)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 0BE4LIU0010096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 13 Dec 2020 23:21:23 -0500
Date: Sun, 13 Dec 2020 20:21:18 -0800
From: Benjamin Kaduk <kaduk@mit.edu>
To: Benjamin Beurdouche <benjamin.beurdouche@inria.fr>
Cc: Raphael Robert <raphael=40wire.com@dmarc.ietf.org>, ML Messaging Layer Security <mls@ietf.org>
Message-ID: <20201214042118.GV64351@kduck.mit.edu>
References: <D6B0B977-776C-49B5-BB7D-312D7674FF4F@wire.com> <186C9715-C8E7-4F59-99F4-66B2D86AAAB4@inria.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <186C9715-C8E7-4F59-99F4-66B2D86AAAB4@inria.fr>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/GWIFtPPMU-5fnibZtnHZbMu3wgo>
Subject: Re: [MLS] Improving client authentication
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Dec 2020 04:21:27 -0000

Hi Ben,

Taking a bit of a tangent...

On Wed, Dec 09, 2020 at 10:23:59AM +0100, Benjamin Beurdouche wrote:
> 
> > On 29 Nov 2020, at 18:13, Raphael Robert <raphael=40wire.com@dmarc.ietf.org> wrote:
> Something less relevant to this discussion but I want to mention it
> here...  This raises an issue that I have seen a lot over the last few
> years: we need something which performs a similar role to the WebPKI but
> doesn’t have the complexity of X.509.  Note that half of the attacks
> against TLS implementations are actually attacks against ASN1/X.509
> parsers, and we don’t really need this complexity for MLS.
> 
> We should probably use X.509 in many cases because it is well supported
> by HSMs but in the long run, I think we should create WG and start
> thinking of a replacement to X.509 for places (not the Web) that don’t
> need the complexity.

This isn't quite what you're hoping for, but there's some work in the COSE
WG to subset X.509 certificates and produce a more compact encoding for
them; the same machinery will be naturally usable for making "CBOR native"
certificates (that use COSE for the signatures instead of operating on the
ASN.1 DER) that don't allow the full complexity of X.509.  The doc is
draft-mattsson-cose-cbor-cert-compress (we'll be rechartering in order to
pick it up as a WG item).

-Ben