[MLS] Question regarding ClientInitKey message format

Pascal Junod <cryptopathe@gmail.com> Tue, 01 October 2019 15:31 UTC

Return-Path: <cryptopathe@gmail.com>
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 B14DD1209A2 for <mls@ietfa.amsl.com>; Tue, 1 Oct 2019 08:31:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 JAwwNouuFpTb for <mls@ietfa.amsl.com>; Tue, 1 Oct 2019 08:31:19 -0700 (PDT)
Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) (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 734461209A0 for <mls@ietf.org>; Tue, 1 Oct 2019 08:31:19 -0700 (PDT)
Received: by mail-oi1-x22a.google.com with SMTP id i185so14752020oif.9 for <mls@ietf.org>; Tue, 01 Oct 2019 08:31:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=xNEcHY9XAKNgAXr+7J+QW+qiZLefOsjHA+FRqnawl94=; b=FCsJqJ1Ag4nYvjdV7aHhkSvCPOqMrgi53vM6zQAVixmabvXKoNsrM8y3tj03BHgRW0 yT0MOVPssfo95vbjY03QBb1xqReFRUyQuskKI7NyCDmw9f2dZZqrBRlckH9A4Ks3JPF2 +CxUJeNIki6Vl/J0S5eTBy4S+Tbf2HfmJAwmO7nRO/UA8HXSb228o5RrCxdby6awGU2K MqrG4KpakZx7CG/xfHERLFXemGmiLSewCPdDmkP05ShEei3LzFBnqMq5rakDPt/1VyTo JvTLm1EzxuzYdFMxmf18//bZMoiegtYGeX8futM76rzsw2pEtCm6x79qlcojm34NmYP5 yZiQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xNEcHY9XAKNgAXr+7J+QW+qiZLefOsjHA+FRqnawl94=; b=KPpd0EN8eI7/GYKjUKR+DyBvZwVF5DF7g/l0wG+O5JKQuiFZiFebZwHe/TtUDGNB2p NEJ2FDiUU/NPWY5qoOAX4LVUlLMO4/ikhKTpL/ZOmNthxascRKpg9D6l0xKdUsrBzCsI oF7QfM1atQD53jQOh7QuK9XzUKObnv8AKldt8jrI0xVU5hEErpCo5Usa11GzaQiknX0G +7gViBO3mBt+q/Ls2sMchUqeanH75XmPm84YAndYtqRz6sXmM2FZWX4xJWpqoADWICe+ u8wvmcZAmcTfZEnAaU2735CGw7LERSWFVkyCea4t58SQZSnONEuaLNDBpIDzRHvIqo+D kQKQ==
X-Gm-Message-State: APjAAAWQYKaCWa4xiBDOwfYdnXe5pwY3M/7VuytqwIwnN9WLf/8TyYKJ lJnbPItdjB/MJ0vvDXCqiIUENH8amV1Gkx74QXGkow==
X-Google-Smtp-Source: APXvYqy7jtab8g0T768hNSqPEKJ44LMAnFhIt0+VoxLoxWE90koI/hI/XmEUUZuFjSo7t2dokWhjcuZbyVhW4ozkPvg=
X-Received: by 2002:aca:31c7:: with SMTP id x190mr4318031oix.17.1569943878535; Tue, 01 Oct 2019 08:31:18 -0700 (PDT)
MIME-Version: 1.0
From: Pascal Junod <cryptopathe@gmail.com>
Date: Tue, 01 Oct 2019 17:30:42 +0200
Message-ID: <CAPEKH5ZhcAgUP-mNU=E1+C0z4sPRLYDX=woKdCpFd-eb-LkE-g@mail.gmail.com>
To: mls@ietf.org
Content-Type: multipart/alternative; boundary="000000000000328d4e0593db0bb6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/fnaGC2AilosieDn5DcYbh7o5Wn0>
X-Mailman-Approved-At: Wed, 02 Oct 2019 08:17:30 -0700
Subject: [MLS] Question regarding ClientInitKey message format
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: Tue, 01 Oct 2019 16:09:00 -0000

Hello,

I am new to that list, so please accept my apologies in advance for any
wrong doings with respect to the list etiquette !

I am currently reading draft-07 (Aug. 13, 2019) and something is not clear
to me with respect to the ClientInitKey format defined in section 7. The
array of ciphersuites cipher_suites is expected to have a length of 0 to
255 ciphersuites, while the array of public keys init_keys is expected to
have between one and 65535 public keys. At the same time, an above
paragraph says that the init_array MUST have the same length as the
cipher_suites array. Shouldn't both of them having a length <1,255> ? Or
what did I misunderstand?

Best,

Pascal