[quicwg/base-drafts] ee8857: Example of ChaCha20-Poly1305
Martin Thomson <noreply@github.com> Thu, 04 June 2020 23:22 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 3F5743A1048 for <quic-issues@ietfa.amsl.com>; Thu, 4 Jun 2020 16:22:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 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, 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 OlX6pANXgM5N for <quic-issues@ietfa.amsl.com>; Thu, 4 Jun 2020 16:22:01 -0700 (PDT)
Received: from out-25.smtp.github.com (out-25.smtp.github.com [192.30.252.208]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EA9583A1047 for <quic-issues@ietf.org>; Thu, 4 Jun 2020 16:22:00 -0700 (PDT)
Received: from github-lowworker-943b171.ac4-iad.github.net (github-lowworker-943b171.ac4-iad.github.net [10.52.22.59]) by smtp.github.com (Postfix) with ESMTP id 3DCF4281F31 for <quic-issues@ietf.org>; Thu, 4 Jun 2020 16:22:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1591312920; bh=XmNv5hIEjnlMSVoIIBxhVDzxT45F8TOKGMkzY+qECTs=; h=Date:From:To:Subject:From; b=Iubqk8RuYpNpBn0AN05crft9vQ71QyTq2kCTtIm6QidDZl0t/LHifnoaBh4VDTZCN kXhn+tsUOQWnurbFMYlk9I89Q/DW6BCVbU0B2Cc0bXlIh/UJ6ANnWZaiX0JDYkIp9M YOn/jHt9/6pCV0ux7G4dKOyDVgi8UH+xhLOZQDoM=
Date: Thu, 04 Jun 2020 16:22:00 -0700
From: Martin Thomson <noreply@github.com>
To: quic-issues@ietf.org
Message-ID: <quicwg/base-drafts/push/refs/heads/master/a2a572-f7a7f5@github.com>
Subject: [quicwg/base-drafts] ee8857: Example of ChaCha20-Poly1305
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-Auto-Response-Suppress: All
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/Y_3XqfRX7S22exp87vxU0FGxtI0>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
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: Thu, 04 Jun 2020 23:22:02 -0000
Branch: refs/heads/master Home: https://github.com/quicwg/base-drafts Commit: ee88574c89796791d66269a9aa6a16eb85b534b1 https://github.com/quicwg/base-drafts/commit/ee88574c89796791d66269a9aa6a16eb85b534b1 Author: Martin Thomson <mt@lowentropy.net> Date: 2020-06-02 (Tue, 02 Jun 2020) Changed paths: M draft-ietf-quic-tls.md Log Message: ----------- Example of ChaCha20-Poly1305 This uses a packet with a short header because a) we don'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't need to be updated when the draft number changes, or even when the final spec is complete. Closes #3488. Commit: b31eb923fb039d69f3d1e0893be1ac1c87585161 https://github.com/quicwg/base-drafts/commit/b31eb923fb039d69f3d1e0893be1ac1c87585161 Author: Martin Thomson <mt@lowentropy.net> Date: 2020-06-02 (Tue, 02 Jun 2020) Changed paths: M draft-ietf-quic-tls.md Log Message: ----------- It's more believable to use HANDSHAKE_DONE Not much more, but if the server sends, then the zero-length connection ID is more plausible. Also, it makes reproducing this if necessary a little bit easier. Commit: 1d81fce14c2bff5e4c576c78a1795192460d5539 https://github.com/quicwg/base-drafts/commit/1d81fce14c2bff5e4c576c78a1795192460d5539 Author: Martin Thomson <mt@lowentropy.net> Date: 2020-06-02 (Tue, 02 Jun 2020) Changed paths: M draft-ietf-quic-tls.md Log Message: ----------- Wrong secret Commit: b485b7922ff6f5ed61613e93a96c76afdf060528 https://github.com/quicwg/base-drafts/commit/b485b7922ff6f5ed61613e93a96c76afdf060528 Author: Martin Thomson <mt@lowentropy.net> Date: 2020-06-02 (Tue, 02 Jun 2020) Changed paths: M draft-ietf-quic-tls.md M protection-samples.js Log Message: ----------- Generate values with the script instead And use a large packet number, to show packet number truncation in the examples. This has leading zeroes, which might trip people up if they make bad assumptions about the length of the encoding based on value they get back. Commit: f7a7f5b75bfeb84fbb82627bd342791e48b7ab7c https://github.com/quicwg/base-drafts/commit/f7a7f5b75bfeb84fbb82627bd342791e48b7ab7c Author: Martin Thomson <mt@lowentropy.net> Date: 2020-06-05 (Fri, 05 Jun 2020) Changed paths: M draft-ietf-quic-tls.md M protection-samples.js Log Message: ----------- Merge pull request #3712 from quicwg/chacha20-sample Example of ChaCha20-Poly1305 Compare: https://github.com/quicwg/base-drafts/compare/a2a572a92e8e...f7a7f5b75bfe
- [quicwg/base-drafts] ee8857: Example of ChaCha20-… Martin Thomson