Return-Path: <watsonbladd@gmail.com>
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 93AD3C15198F
	for <cfrg@ietfa.amsl.com>; Thu, 19 Sep 2024 18:09:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level: 
X-Spam-Status: No, score=-2.104 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_NONE=-0.0001,
	RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=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=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 ([50.223.129.194])
	by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id wh65UZkMCJpy for <cfrg@ietfa.amsl.com>;
	Thu, 19 Sep 2024 18:09:43 -0700 (PDT)
Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com
 [IPv6:2a00:1450:4864:20::32d])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256)
	(No client certificate requested)
	by ietfa.amsl.com (Postfix) with ESMTPS id 6A26DC151980
	for <cfrg@irtf.org>; Thu, 19 Sep 2024 18:09:43 -0700 (PDT)
Received: by mail-wm1-x32d.google.com with SMTP id
 5b1f17b1804b1-42cb806623eso12266935e9.2
        for <cfrg@irtf.org>; Thu, 19 Sep 2024 18:09:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1726794582; x=1727399382; darn=irtf.org;
        h=cc:to:subject:message-id:date:from:in-reply-to:references
         :mime-version:from:to:cc:subject:date:message-id:reply-to;
        bh=VTi3zOv8hPA8FjbdT960ZX2nsURSXsvm5BP6e83QeYQ=;
        b=YkJJaJ1wleVM0wUuQJO3lfD0DenFMP+DV0fcuAwmoNAC73479ppN6Cnt7kb1dH9jsF
         vhvJPkfialcV0GaqUiSqjU0HQKQNFN66+rb9DpEgPFEDGl6XPVXlQEYqF17KcPa5aFkM
         n4hA6flPm/VcszHhf2HI2eDLupVoDkV4Isapc3adWHuxgtjmvBpEd/WYinS7mrsQb/fI
         KrDLq7cmIy1v/eLXDVcnFXefgISsPtpYUqfeoy10uPUmE7qHqZsTHsJssNb85So+9AoL
         aYLVncIi1KzAZy8+iyv8/um/6GpIrc1V71k2myI3odfeCuEDbAahSdKXEfSuQtmAI34x
         dHTQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1726794582; x=1727399382;
        h=cc:to:subject:message-id:date:from:in-reply-to:references
         :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
         :reply-to;
        bh=VTi3zOv8hPA8FjbdT960ZX2nsURSXsvm5BP6e83QeYQ=;
        b=Lxjs0PgNiBHgoFTlcZtGmDjDRikBbHqq1k7ScVMgzw7KSU8gnL3hff0BlQOIRg3NEZ
         D1nDovfr4uk2yt4z77Bvt+3RMFk1VPATVeoHjM1K26sVIJKyyooVUz/Lx8orGiw1GNzs
         hTpzHMX5wvZyQnegeX1V9tcVPdBERGTYqyn7+/KZYC03acvVNqUpSHEMksV81wJpeNK5
         lPzqjnUo4vXVmZD9RdXumLgv2R4CVR1KtxJ6uPmLH92XwngHimyT+dYxZ9C8jufYFpdR
         9kVMglGVQz1HcqLRtWyLtnDvjnEBNlbDJAgP7ilyd8T/c6NCHhN89gl36uWfws4KNZf9
         HwrQ==
X-Gm-Message-State: AOJu0YzfD9bvSukCsw4o077QGp0yMOu4ptMnIp3bzL0QbE5mYqQqLa0W
	YUuzIhSoyea+iaWEsYPIq2IswjwuI5txd2nq+XNfRVa/yj8A/AFhNnoy/oghuSIautYw/pQAP0X
	qKQFCby61pZsvlJEt+FPfyBQA0pcPyw==
X-Google-Smtp-Source: 
 AGHT+IHwY+kzkDaiCHFBTflkA/jDqpGgIYNE0AYA81MMIDu43yu0jP4iTMfOhoFHg06SNRgB/V6J/AB5aaihpl5DdWo=
X-Received: by 2002:a05:600c:154d:b0:42c:acfa:9cae with SMTP id
 5b1f17b1804b1-42e7adc0d9dmr6323305e9.35.1726794581537; Thu, 19 Sep 2024
 18:09:41 -0700 (PDT)
MIME-Version: 1.0
References: 
 <CAG2Zi20N98cxpgjfRe6gWw1SQEoux+5P3NhLBFUfUHk_udYeFg@mail.gmail.com>
In-Reply-To: 
 <CAG2Zi20N98cxpgjfRe6gWw1SQEoux+5P3NhLBFUfUHk_udYeFg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Thu, 19 Sep 2024 18:09:30 -0700
Message-ID: 
 <CACsn0cmLjjyxcKsiHio-Vu-8jo80FQ=aFtoO3GD69jC5kUig9A@mail.gmail.com>
To: Christopher Patton <cpatton=40cloudflare.com@dmarc.ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a1fc54062282b10a"
Message-ID-Hash: BSUTLDSDYZDE2PNK2M4JZMI4KALZ5IAE
X-Message-ID-Hash: BSUTLDSDYZDE2PNK2M4JZMI4KALZ5IAE
X-MailFrom: watsonbladd@gmail.com
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: =?utf-8?q?=5BCFRG=5D_Re=3A_Where_should_test_vectors_live=3F?=
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
Archived-At: 
 <https://mailarchive.ietf.org/arch/msg/cfrg/B8l3WmgXMiqq1yGe2-jcq5-6H_Q>
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>

--000000000000a1fc54062282b10a
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 19, 2024, 5:18=E2=80=AFPM Christopher Patton <cpatton=3D
40cloudflare.com@dmarc.ietf.org> 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/ma=
ster/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 somewhe=
re
> on datatracker. Is this feasible/desirable?
>

Why not in ignored elements (not sure how to do)in the XML source? This
might take some tools team input.

>
> Thanks,
> Chris P.
>
> _______________________________________________
> CFRG mailing list -- cfrg@irtf.org
> To unsubscribe send an email to cfrg-leave@irtf.org
>

--000000000000a1fc54062282b10a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Thu, Sep 19, 2024, 5:18=E2=80=AFPM Christopher Patt=
on &lt;cpatton=3D<a href=3D"mailto:40cloudflare.com@dmarc.ietf.org">40cloud=
flare.com@dmarc.ietf.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail=
_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204=
,204);padding-left:1ex"><div dir=3D"ltr"><div>Hi CFRG,</div><div><br></div>=
<div>It occurred to me today that our drafts often have human-friendly test=
 vectors that look something like this:</div><div><a href=3D"https://datatr=
acker.ietf.org/doc/html/rfc9180#appendix-A.1.1" target=3D"_blank" rel=3D"no=
referrer">https://datatracker.ietf.org/doc/html/rfc9180#appendix-A.1.1</a><=
/div><div><br></div><div>These aren&#39;t super convenient for a machine. I=
n theory you could write a script that downloads <a href=3D"https://www.rfc=
-editor.org/rfc/rfc9180.txt" target=3D"_blank" rel=3D"noreferrer">https://w=
ww.rfc-editor.org/rfc/rfc9180.txt</a> and write a parser to pull out the te=
st vectors, but does anyone really do this? Luckily for RFC 9180 we have a =
JSON version to work with instead:</div><div><a href=3D"https://raw.githubu=
sercontent.com/cfrg/draft-irtf-cfrg-hpke/refs/heads/master/test-vectors.jso=
n" target=3D"_blank" rel=3D"noreferrer">https://raw.githubusercontent.com/c=
frg/draft-irtf-cfrg-hpke/refs/heads/master/test-vectors.json</a></div><div>=
<br></div><div>How do folks feel about pointing to machine readable test ve=
ctors from an RFC in lieu of producing human-friendly, but machine-unfriend=
ly in the appendix? Suppose for example an RFC had a pointer to a JSON blob=
 somewhere on datatracker. Is this feasible/desirable?</div></div></blockqu=
ote></div></div><div dir=3D"auto"><br></div><div dir=3D"auto">Why not in ig=
nored elements (not sure how to do)in the XML source? This might take some =
tools team input.</div><div dir=3D"auto"><div class=3D"gmail_quote"><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p=
x solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div><br></div>=
<div>Thanks,</div><div>Chris P.<br></div><br></div>
_______________________________________________<br>
CFRG mailing list -- <a href=3D"mailto:cfrg@irtf.org" target=3D"_blank" rel=
=3D"noreferrer">cfrg@irtf.org</a><br>
To unsubscribe send an email to <a href=3D"mailto:cfrg-leave@irtf.org" targ=
et=3D"_blank" rel=3D"noreferrer">cfrg-leave@irtf.org</a><br>
</blockquote></div></div></div>

--000000000000a1fc54062282b10a--

