Re: [Secdispatch] [EXTERNAL]Re: Can Composite sigs move back to LAMPS?

Eric Rescorla <ekr@rtfm.com> Mon, 20 January 2020 13:12 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: secdispatch@ietfa.amsl.com
Delivered-To: secdispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7D2E012011C for <secdispatch@ietfa.amsl.com>; Mon, 20 Jan 2020 05:12:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20150623.gappssmtp.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 SctgO03QHQv4 for <secdispatch@ietfa.amsl.com>; Mon, 20 Jan 2020 05:12:44 -0800 (PST)
Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CE0A7120090 for <secdispatch@ietf.org>; Mon, 20 Jan 2020 05:12:43 -0800 (PST)
Received: by mail-lj1-x22b.google.com with SMTP id y4so33786817ljj.9 for <secdispatch@ietf.org>; Mon, 20 Jan 2020 05:12:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=otvvvWDPyrN/+pbWsPwoEuewDWcnjhCOJCEiIouQME0=; b=gmmWVz4t9slV0Tk+Ej980mjUNltbwqitWyD4GOC6MRW6Bfb/w/JOBktQNW2A3LpuNj /oH3Fi9o+FQiAHVtqZkJ+wtrylyZ36XP5JfPRC5xoJBxyYGhc8g+0IKmtZ8cmkXhvPao QVZA0U+yXRyerCrX3ZMatESQ3hRIdHldNzBaT2/Z5JAPXUneXOWnAO2jPpVrsYyuvKrr xcVGtrJBJo8DBzqfZTMfYfRGfGAcNkNBEV0u2g1Xde5VUG5NJE4MW7pjhFOBb3YVh/ED xvzoLRjDRffvJZ44QXMAe3AFRcQASpmp4teMHrJFX6pHDfz9C2yhMx1nF+vQPcXh9IgU 237g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=otvvvWDPyrN/+pbWsPwoEuewDWcnjhCOJCEiIouQME0=; b=Qhrh1MXLqOwkpRxXd5YJ3g6xAMyIwIYCCntKwHcJc3oDAh5L5bYcmDD7QWTq9+ykPH HbEIPoGrtaLXjHzyzVHKbs8e30BaPT2EI/6DVBsuTJDUuxS7JiIZZHK+3xgoC84n8GHH 9uG/aXjfAdO6OG2hRRGgtjriJcpRazSaBXiOpxoXdYTLqwGWWJf6mrf0x59q/qMkFDrZ Nc6CTx0CIuZNOmIndpy1BBaVZ5aWFWHpAg+Gn//qQisuJRGJz62ufSMeWoy8ZmRGB7He L5dXMSgAFSpyL4GYfHVASLZ9W/BBO7g3r5vhQryjEm/4P5QB3aeuyyj1BjlKoKMbdf9o 5XfQ==
X-Gm-Message-State: APjAAAUGEe7/Il93lwX9PizpvCaRzkSoy8Fs/RZlpCRlfwNlfZxc4mlo JMgJlMLwLhojYHj9hnPGkLdW6xnljQAO9+KIwR9aMQ==
X-Google-Smtp-Source: APXvYqwzPwwSL69FtVhEVn4xHUh0oTt7HCvIdfiAHcoFwczajTv13lHPRBghgSaSouYl7NHSTdWwaFs+vLjW780bemI=
X-Received: by 2002:a2e:9510:: with SMTP id f16mr13568938ljh.249.1579525962084; Mon, 20 Jan 2020 05:12:42 -0800 (PST)
MIME-Version: 1.0
References: <DM6PR11MB388377406A1AAEDCA397749C9B360@DM6PR11MB3883.namprd11.prod.outlook.com> <70b221bb-bc39-52cc-f9e0-a84261afe473@cs.tcd.ie> <09B0CA53-BAAF-4139-8179-2A70ADE58632@isara.com> <c0f620d7-4e22-18a5-c168-f66b737cae86@cs.tcd.ie> <CAPwdP4PG3i5-_BuVMdH0iMcJCT40xejoM=J3dH=pPO61T-F4Aw@mail.gmail.com> <3f9de00e-85ad-48ed-ba97-e1b5418e3867@cs.tcd.ie> <BYAPR11MB3478E8F964A34EDD232CFB03EE310@BYAPR11MB3478.namprd11.prod.outlook.com> <052d3ee0-41ae-c4f4-7013-6286942c468a@cs.tcd.ie> <DM6PR11MB3883DB8289E4EE1CDEFE7BA89B310@DM6PR11MB3883.namprd11.prod.outlook.com> <3140.1579364674@localhost> <CABcZeBPfGmnkDU-7ot43hC2E7XvB0XeAFFEmsST4S_Hk1GgOFg@mail.gmail.com> <15967.1579382030@localhost> <CABcZeBMWu+Zd_+=gvcc328fm87B1RsxnUaH2HpYbp9Wv_OMUYQ@mail.gmail.com> <24181.1579453158@localhost> <CAPwdP4PkVfKbg=nCvjDTyGfbc-CiT2PGrdxt-c2b5dDK4903qA@mail.gmail.com>
In-Reply-To: <CAPwdP4PkVfKbg=nCvjDTyGfbc-CiT2PGrdxt-c2b5dDK4903qA@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Mon, 20 Jan 2020 05:12:04 -0800
Message-ID: <CABcZeBMduM8bB0vWazb31ccQ6J=L4jNoOuiKeOFM9AafkShyNw@mail.gmail.com>
To: "Markku-Juhani O. Saarinen" <mjos@pqshield.com>
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, IETF SecDispatch <secdispatch@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e24378059c920bd7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdispatch/sgL-JecodKfVfnKz1TZu6pX5GB4>
Subject: Re: [Secdispatch] [EXTERNAL]Re: Can Composite sigs move back to LAMPS?
X-BeenThere: secdispatch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Dispatch <secdispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/secdispatch>, <mailto:secdispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdispatch/>
List-Post: <mailto:secdispatch@ietf.org>
List-Help: <mailto:secdispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/secdispatch>, <mailto:secdispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Jan 2020 13:12:50 -0000

On Sun, Jan 19, 2020 at 11:22 AM Markku-Juhani O. Saarinen <
mjos@pqshield.com> wrote:

> On Sun, Jan 19, 2020 at 4:59 PM Michael Richardson <mcr+ietf@sandelman.ca>
> wrote: hybrid fall-back because it was already being shipped out.
>

> The OQS implementation seems to currently treat hybrid keys and signatures
> simply as OCTET STRING blobs and assigns an arbitrary OID for each such
> pair; I got 1.3.9999.2.2 for a  p256_dilithium2 cert I just created. They
> emphasize that this is research code and not for production; the OID is of
> course not valid and the key/signature format is not properly documented as
> far as I know.
>
> This kind of solution would require n*m OIDs -- perhaps this is
> manageable, perhaps not -- the number of ciphersuites we used to have in
> TLS is an indication that things may get out of hand, especially if we
> further consider different hash functions used for signatures. Anyway, the
> additional ASN.1 structure bytes introduced by the draft would essentially
> document the structure of such blobs and put them under a single and/or a
> small number of OIDs. (Correct me if I'm wrong.)
>

It's not clear to me that this level of complexity is required. At least on
the Web, each algorithm would need to be individually considered by CABF
and the browser vendors, so having a lot of flexibility here isn't that
much of an asset, and having multiple tiers of parameters is not great. So,
absent some evidence that we need this level of flexibility, I tend to
think the one-oid-per-combo approach is fine.

It might still be worth having an RFC which defined how to mint new oids,
but that need not have complex on-the-wire internal structure.

-Ekr