[quicwg/base-drafts] Example of ChaCha20-Poly1305 (#3712)

Martin Thomson <notifications@github.com> Tue, 02 June 2020 07:35 UTC

Return-Path: <noreply@github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 540503A08E5 for <quic-issues@ietfa.amsl.com>; Tue, 2 Jun 2020 00:35:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.099
X-Spam-Level:
X-Spam-Status: No, score=-3.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.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 pqkiZg4vNjcO for <quic-issues@ietfa.amsl.com>; Tue, 2 Jun 2020 00:35:16 -0700 (PDT)
Received: from out-26.smtp.github.com (out-26.smtp.github.com [192.30.252.209]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C5A303A0863 for <quic-issues@ietf.org>; Tue, 2 Jun 2020 00:35:16 -0700 (PDT)
Received: from github-lowworker-0f7e7fd.ash1-iad.github.net (github-lowworker-0f7e7fd.ash1-iad.github.net [10.56.110.17]) by smtp.github.com (Postfix) with ESMTP id 02DC0282D1C for <quic-issues@ietf.org>; Tue, 2 Jun 2020 00:35:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1591083316; bh=DyHkGnDvxnTElMqCLOS3pLVZ7utUeM7Ez5Ps8dGZ9/A=; h=Date:From:Reply-To:To:Cc:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=GBnUT0mtR5m63zb7mcdrMiznT9BWSyo8wefLEe5382qNQO3eVIAowSmWiCa+OKQcF RHFmux3z9qJeirRbHk2rWp4riro46g8ydsoHtpWV/5QkDC/iW7tiqPhoTG4oPi+34C ADMN7MEshbLMW3ZeiESuXWc2WfOdOLjykipaqCy0=
Date: Tue, 02 Jun 2020 00:35:15 -0700
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJK3WYIALWDESNXGZZYF44HRDHEVBNHHCK7K3HI@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/3712@github.com>
Subject: [quicwg/base-drafts] Example of ChaCha20-Poly1305 (#3712)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5ed60133e6f08_650f3ff71eecd95c91953"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: martinthomson
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/_R8A66VglPIfPb2ZeOkCJwlJXPw>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Jun 2020 07:35:18 -0000

This uses a packet with a short header because a) we don&#39;t have an example of that already; b) that gives me an opportunity to show what the different key derivations look like, including key updates; and c) this example won&#39;t need to be updated when the draft number changes, or even when the final spec is complete.

I chose the shortest possible packet with the smallest possible payload for this.  Values are taken from neqo, so it&#39;s a little annoying to reproduce.

Assistance in validating the values here would be appreciated.  We already interoperate, so I expect these to work, but a sanity check is always helpful.

Closes #3488.
You can view, comment on, or merge this pull request online at:

  https://github.com/quicwg/base-drafts/pull/3712

-- Commit Summary --

  * Example of ChaCha20-Poly1305

-- File Changes --

    M draft-ietf-quic-tls.md (62)

-- Patch Links --

https://github.com/quicwg/base-drafts/pull/3712.patch
https://github.com/quicwg/base-drafts/pull/3712.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/quicwg/base-drafts/pull/3712