Re: [Curdle] Martin Duke's No Objection on draft-ietf-curdle-ssh-kex-sha2-19: (with COMMENT)

Mark Baushke <mbaushke@gmail.com> Tue, 20 July 2021 02:59 UTC

Return-Path: <mbaushke@gmail.com>
X-Original-To: curdle@ietfa.amsl.com
Delivered-To: curdle@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 023553A0A2B; Mon, 19 Jul 2021 19:59:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=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 (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 U6K31qvMLg4D; Mon, 19 Jul 2021 19:59:32 -0700 (PDT)
Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (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 A1BCF3A0A21; Mon, 19 Jul 2021 19:59:26 -0700 (PDT)
Received: by mail-io1-xd35.google.com with SMTP id k16so22407445ios.10; Mon, 19 Jul 2021 19:59:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=as/YoVssIt4uGAbjxDZnCfgbPkA5987lg5sjiBxZ5Ik=; b=hRwWATZj9UBrQU/56HM3pfzUFKPIR5Q2pCFJKZ34J8Tc5GEmnqnhgG7kn3JtZUT5WR n/Q1hmFwOjFeBb6uyW3cZ6q7G5jpIV2jYe4f8LFlg4dweU40g5I+hvcff+NJdAjXF5S7 tatkGbJjKDrIZnUBWdaFlazP1gfDa5YCa65zZqzrQTrBEof8wdB0916dmZ/WU97MAj8c Aqa9o2u//9d2dz1SDKhvXCGGOI2J+I2YVcCE3Vxk97rvOzfoan9owjfovjXgwhvSSX5F jV4OihmsBGFmuGb5J9R1V7eUzevb0sUn8rXf0y4r0gT70vpEaicaXJz78MxNO8b0QEde ILUg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=as/YoVssIt4uGAbjxDZnCfgbPkA5987lg5sjiBxZ5Ik=; b=LYa3HLGa0ir3oDJfHP3qMybeI+dyehovVm8AgjaaSeS9xm12fTdjuI30A93nadWVjt SUwdP50nuXnwbQJBQVMIKRNiaTqwFGbVGKe8ILB62Kd8XMvBTVWYVyqRP+68qlxNXCPu dF73xhEv43Hksp/YR+V3fFPPjSQWz0R1RjLjQzZfkrcpIvfOgU52Dgt3oZ+Y6GWjB1OW BqBekZXsDiPe06SnKZrK3cW7RMoBcUdKXFWDvTo/wXOi2jheJrFkInwpSO0R9PTX3ysu cmBqW0mnS8IonfKuex+xsuBoljUkhoSz0f5edgkoZ0XAm+HUC1SeGmZ2GS5dqgkRIhyr CwLw==
X-Gm-Message-State: AOAM532EKgi8uEpSiQlPVKpXuGqOF8SRTYBQelagWwGuuATtVl0A6O4K unNJAKvf/tmedlJ9buYVkeA=
X-Google-Smtp-Source: ABdhPJzEv9vdEXoFAHrAk0YaPSSLBsxF65FPMlzfgHMNwYY5fQHzmrYfXHwnBoU0X0M9CgwFV8Jrag==
X-Received: by 2002:a5d:8358:: with SMTP id q24mr1607890ior.168.1626749965597; Mon, 19 Jul 2021 19:59:25 -0700 (PDT)
Received: from smtpclient.apple ([2601:249:447e:a900:cdff:1442:425:bd8c]) by smtp.gmail.com with ESMTPSA id p10sm10434573ilh.57.2021.07.19.19.59.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Jul 2021 19:59:25 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_3D37003A-3036-45B8-BE51-A53F285C069A"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\))
From: Mark Baushke <mbaushke@gmail.com>
In-Reply-To: <CAM4esxShhg1AsBaASQ-31AikJZ=ZMxVUMCHzN_xGjxqTWAKYeA@mail.gmail.com>
Date: Mon, 19 Jul 2021 19:59:23 -0700
Cc: draft-ietf-curdle-ssh-kex-sha2@ietf.org, curdle-chairs@ietf.org, curdle@ietf.org, Daniel Migault <mglt.ietf@gmail.com>
Message-Id: <146487EC-5B09-4FED-A87C-9525B9149434@gmail.com>
References: <162559729948.22061.17056492277505762376@ietfa.amsl.com> <34EAEB90-4DFF-4BC1-8468-1A8769761710@gmail.com> <CAM4esxShhg1AsBaASQ-31AikJZ=ZMxVUMCHzN_xGjxqTWAKYeA@mail.gmail.com>
To: Martin Duke <martin.h.duke@gmail.com>
X-Mailer: Apple Mail (2.3654.100.0.2.22)
Archived-At: <https://mailarchive.ietf.org/arch/msg/curdle/sXjy33yPWpWR6HUyx5vQxzzazb4>
Subject: Re: [Curdle] Martin Duke's No Objection on draft-ietf-curdle-ssh-kex-sha2-19: (with COMMENT)
X-BeenThere: curdle@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "List for discussion of potential new security area wg." <curdle.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/curdle>, <mailto:curdle-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/curdle/>
List-Post: <mailto:curdle@ietf.org>
List-Help: <mailto:curdle-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/curdle>, <mailto:curdle-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Jul 2021 02:59:37 -0000

Hi Martin,

> On Jul 19, 2021, at 7:36 AM, Martin Duke <martin.h.duke@gmail.com> wrote:
> 
> SHA2-256 is a reasonable hash for use in both the KDF and integrity check. It is reasonable for both gss and non-gss uses of curve25519 key exchange methods.

Ah. I think I understand your confusion. That said, it is not an integrity check, rather it is a way of ensuring that the session integrity is maintained across many different rekeying events. As such, something like this may be closer to what you want:

            SHA2-256 is a reasonable hash for use in both the KDF and
            session integrity. It is reasonable for both gss and
            non-gss uses of curve25519 key exchange methods.

A similar paragraph is provided for the SHA2-512 hash.

        Be safe, stay healthy
        -- Mark