[CFRG] Re: Where should test vectors live?
Colin Perkins <csp@csperkins.org> Fri, 20 September 2024 17:03 UTC
Return-Path: <csp@csperkins.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1A8D7C14CEFC for <cfrg@ietfa.amsl.com>; Fri, 20 Sep 2024 10:03:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.406
X-Spam-Level:
X-Spam-Status: No, score=-4.406 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=csperkins.org
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2TFjxdECcArD for <cfrg@ietfa.amsl.com>; Fri, 20 Sep 2024 10:03:52 -0700 (PDT)
Received: from mx1.mythic-beasts.com (mx1.mythic-beasts.com [IPv6:2a00:1098:0:86:1000:0:2:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6F2B5C16940C for <cfrg@irtf.org>; Fri, 20 Sep 2024 10:03:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=csperkins.org; s=mythic-beasts-k1; h=Date:Subject:To:From; bh=TxMoM0iT4zHu1VdSBQkZyPxlcJjQyG7twXxLGANqE8c=; b=VWrXdk+kUzg5Rtd3F0Uoc3D5ag BA1fQ3pZQpcF/3yWrb+KqCdu3O1aJq0PUquvGkL24ivzPWhQ7AcRDzCQ0rUXInqFn8uf8bN//LA0w DAjIJ92HYcZFIqBmSi3EcGSmvbTer2mnjVmqnqnBl4TGXlES/bHZHWJS12xwLeCoqWonj29HEyE/9 iaqfXQVlMs3wikZwYRVD/P/BwcaOxgjXTleVnBElAmLnZRGwKjBHJRx3E26z6WXYDlGr1frWZwKJA 8WrbHgFqnuU3tewb1Iuif+akO/ghDed9+O5LVyfdXR8WCnQPodxyED1uV2w1yfOSnzGWed/SP+C2x T40jTT1g==;
Received: by mailhub-cam-d.mythic-beasts.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <csp@csperkins.org>) id 1srh2s-0016sA-9h; Fri, 20 Sep 2024 18:03:50 +0100
From: Colin Perkins <csp@csperkins.org>
To: Christopher Patton <cpatton=40cloudflare.com@dmarc.ietf.org>
Date: Fri, 20 Sep 2024 18:03:47 +0100
X-Mailer: MailMate (1.14r6065)
Message-ID: <AFC838DA-68C1-476C-8823-C3BF1E38CE39@csperkins.org>
In-Reply-To: <CAG2Zi20N98cxpgjfRe6gWw1SQEoux+5P3NhLBFUfUHk_udYeFg@mail.gmail.com>
References: <CAG2Zi20N98cxpgjfRe6gWw1SQEoux+5P3NhLBFUfUHk_udYeFg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_MailMate_3A11293E-39BF-4433-8F43-C85FCB90EA49_="
Embedded-HTML: [{"plain":[196,881],"uuid":"F14734CF-0569-4607-88A4-B73971CA7394"}]
X-BlackCat-Spam-Score: 9
Message-ID-Hash: EMLCTMEVGWYMSHOXWYETHZ4XZTEZKW3V
X-Message-ID-Hash: EMLCTMEVGWYMSHOXWYETHZ4XZTEZKW3V
X-MailFrom: csp@csperkins.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cfrg.irtf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: CFRG <cfrg@irtf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [CFRG] Re: Where should test vectors live?
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/4cwbF_0h9lhzEA7RqLohsG1zo0I>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Owner: <mailto:cfrg-owner@irtf.org>
List-Post: <mailto:cfrg@irtf.org>
List-Subscribe: <mailto:cfrg-join@irtf.org>
List-Unsubscribe: <mailto:cfrg-leave@irtf.org>
Hi, The datatracker has an “Additional resources” field for each draft, that can be used to cross-reference to GitHub repos, etc. Colin On 20 Sep 2024, at 1:17, Christopher Patton wrote: > Hi CFRG, > > It occurred to me today that our drafts often have human-friendly test > vectors that look something like this: > https://datatracker.ietf.org/doc/html/rfc9180#appendix-A.1.1 > > These aren't super convenient for a machine. In theory you could write > a > script that downloads https://www.rfc-editor.org/rfc/rfc9180.txt and > write > a parser to pull out the test vectors, but does anyone really do this? > Luckily for RFC 9180 we have a JSON version to work with instead: > https://raw.githubusercontent.com/cfrg/draft-irtf-cfrg-hpke/refs/heads/master/test-vectors.json > > How do folks feel about pointing to machine readable test vectors from > an > RFC in lieu of producing human-friendly, but machine-unfriendly in the > appendix? Suppose for example an RFC had a pointer to a JSON blob > somewhere > on datatracker. Is this feasible/desirable? > > Thanks, > Chris P. > _______________________________________________ > CFRG mailing list -- cfrg@irtf.org > To unsubscribe send an email to cfrg-leave@irtf.org
- [CFRG] Where should test vectors live? Christopher Patton
- [CFRG] Re: Where should test vectors live? D. J. Bernstein
- [CFRG] Re: Where should test vectors live? Orie Steele
- [CFRG] Re: Where should test vectors live? Watson Ladd
- [CFRG] Re: Where should test vectors live? Richard Barnes
- [CFRG] Re: Where should test vectors live? Orie Steele
- [CFRG] Re: Where should test vectors live? Björn Haase
- [CFRG] Re: Where should test vectors live? Carsten Bormann
- [CFRG] Re: Where should test vectors live? Carsten Bormann
- [CFRG] Re: Where should test vectors live? Björn Haase
- [CFRG] Re: Where should test vectors live? Carsten Bormann
- [CFRG] Re: Where should test vectors live? Peter Gutmann
- [CFRG] Re: Where should test vectors live? Frank Denis
- [CFRG] Re: Where should test vectors live? Frank Denis
- [CFRG] Re: Where should test vectors live? Christopher Patton
- [CFRG] Re: Where should test vectors live? Sofia Celi
- [CFRG] Re: Where should test vectors live? Colin Perkins
- [CFRG] Re: Where should test vectors live? Christopher Patton
- [CFRG] Re: Where should test vectors live? Christopher Patton
- [CFRG] Re: Where should test vectors live? Carsten Bormann
- [CFRG] Re: Where should test vectors live? // Sug… Björn Haase
- [CFRG] Re: Where should test vectors live? Colin Perkins
- [CFRG] Re: Where should test vectors live? Christopher Patton
- [CFRG] Re: Where should test vectors live? Salz, Rich
- [CFRG] Re: Where should test vectors live? Jean Mahoney
- [CFRG] Re: Where should test vectors live? Christopher Patton
- [CFRG] Re: Where should test vectors live? John Mattsson
- [CFRG] Re: Where should test vectors live? Peter Gutmann
- [CFRG] Re: Where should test vectors live? Björn Haase
- [CFRG] Re: Where should test vectors live? D. J. Bernstein
- [CFRG] Re: Where should test vectors live? Bellebaum, Thomas
- [CFRG] Re: Where should test vectors live? Scott Fluhrer (sfluhrer)
- [CFRG] Re: Where should test vectors live? Phillip Hallam-Baker