Re: [kitten] [Curdle] Diffie-Hellman modulus sizing in Kerberos PKINIT

Robbie Harwood <rharwood@redhat.com> Mon, 02 August 2021 17:13 UTC

Return-Path: <rharwood@redhat.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 22BB83A1019 for <kitten@ietfa.amsl.com>; Mon, 2 Aug 2021 10:13:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.55
X-Spam-Level:
X-Spam-Status: No, score=-2.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.452, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=redhat.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 VzIaMpuDhAYf for <kitten@ietfa.amsl.com>; Mon, 2 Aug 2021 10:13:44 -0700 (PDT)
Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 7E4493A1015 for <kitten@ietf.org>; Mon, 2 Aug 2021 10:13:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1627924423; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=z/RkYLxvnV1Cc0KuP8ScmJWy5Sl/zZutJrIjXafbIAQ=; b=MYum2JRSrVjC3LYL4F7LoN6FfHP6iasN19VpiI0hOtCYsYnGJLVBDrH1LoV8ZM0LSV2u3F q2AOoryLIx3EzjczHqw3V57T4cu5GK86DW5ihCJmp6DYGbtVNp9XKDThfCpQf+4bcKceiY GHlEhzXWHUAZedSp+yaKM9XiOTfEf00=
Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-384-OeyyuywTPqeXijcwfbciZg-1; Mon, 02 Aug 2021 13:13:41 -0400
X-MC-Unique: OeyyuywTPqeXijcwfbciZg-1
Received: by mail-qk1-f197.google.com with SMTP id w26-20020a05620a129ab02903b9eeb8b45dso9363980qki.8 for <kitten@ietf.org>; Mon, 02 Aug 2021 10:13:41 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=z/RkYLxvnV1Cc0KuP8ScmJWy5Sl/zZutJrIjXafbIAQ=; b=im5gNJ4l55vvkjUcBNJickHhQD70qzj7zwTeMp8Cfh+1uj6OK67qjNG36+bpl4HCQM ouzzT6hbjd+/8cQFvk/B3sCiP+tWEP2c8HpBOWU72yg07Sd1lxfXkga6VTHh3McPMSkx DO94adE8vIBdWUgpSD+OWT8LXXR3JczYBr9TOIIdYHIFoT8Dl28EfJgFnawTdH5bDJ33 x8lEm7FM1LfAQ5LSLO5FONzRKbMtqGet4c7IaJfZ23d3d8ysjEktmZGP4lW1LId1MI91 n8o005UHtiLa99QnJJwlCEuab/ZQVedVqDgi+xd8rTr8U1M5L/CCWRQQuhODgyo18i3d on9Q==
X-Gm-Message-State: AOAM533P5YHw/2hBHxWWtnl83BkSr2Jq92EkJ9f8XgiQlWrG42PzAHB9 hTUlNbkwJe30c8iC5G73uqms4uKJ8A3sTlOT8gPBw33+iV8L8RDfZPF5O+ARPCKhYl7odtWD99B ECclt2/4=
X-Received: by 2002:ac8:7645:: with SMTP id i5mr14993783qtr.133.1627924421491; Mon, 02 Aug 2021 10:13:41 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJwqFZBOmN8Y8dqxOPSNpWfO4YZuc8RMe7w7Z7W+wXlSgT1oGrhyMY8ErAVtVoP8k9HAFcCB/w==
X-Received: by 2002:ac8:7645:: with SMTP id i5mr14993764qtr.133.1627924421275; Mon, 02 Aug 2021 10:13:41 -0700 (PDT)
Received: from localhost (c-71-232-17-31.hsd1.ma.comcast.net. [71.232.17.31]) by smtp.gmail.com with ESMTPSA id n5sm6080076qkp.116.2021.08.02.10.13.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Aug 2021 10:13:40 -0700 (PDT)
From: Robbie Harwood <rharwood@redhat.com>
To: "Mark Baushke (ietf)" <mbaushke@gmail.com>
Cc: curdle@ietf.org, kitten@ietf.org
In-Reply-To: <F3BE35A6-CFF7-4CBE-AB4C-291FF02557F4@gmail.com>
References: <jlgeebfzxe5.fsf@redhat.com> <A3B7F66E-1724-4D8C-B888-E862D65448DF@sonic.net> <F3BE35A6-CFF7-4CBE-AB4C-291FF02557F4@gmail.com>
Date: Mon, 02 Aug 2021 13:13:37 -0400
Message-ID: <jlglf5jlqgu.fsf@redhat.com>
MIME-Version: 1.0
Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=rharwood@redhat.com
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/ZJjZuMh191aQyweuMKTOWS17F1U>
Subject: Re: [kitten] [Curdle] Diffie-Hellman modulus sizing in Kerberos PKINIT
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Aug 2021 17:13:48 -0000

"Mark Baushke (ietf)" <mbaushke@gmail.com> writes:

> Hi Robbie,
>
> I made a few mistakes in my last message.

No worries.  To be sure I understand, though, please let me know if this
matches what you're suggesting:

    - 1k: MUST NOT (matches the draft)
    - 2k: SHOULD NOT (strengthen the draft's MAY)
    - 4k: MUST (matches the draft)
    - 6k/8k: MAY (not present in draft)

I'm probably fine to add larger groups like the 6k and 8k you suggest at
MAY.  If I read right, Heimdal implements MODP 6k and 8k already.

For completeness: Heimdal also implements 3072-, 1636-, and 768-bit
MODP.  It seems worth taking a position on those groups as well.  I
imagine that position would be imagine would be:

    - 3072: MAY
    - 1636: SHOULD NOT
    - 768: MUST NOT

(though it may be cleaner to adjust the language to address sizes rather
than specific groups at that point).

Be well,
--Robbie