Return-Path: <cabo@tzi.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 1CACAC151984
	for <cfrg@ietfa.amsl.com>; Fri, 20 Sep 2024 09:47:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.209
X-Spam-Level: 
X-Spam-Status: No, score=-4.209 tagged_above=-999 required=5
	tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3,
	RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01]
	autolearn=ham autolearn_force=no
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 JepjPMJzTgkF for <cfrg@ietfa.amsl.com>;
	Fri, 20 Sep 2024 09:47:48 -0700 (PDT)
Received: from smtp.zfn.uni-bremen.de (smtp.zfn.uni-bremen.de [134.102.50.21])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256)
	(No client certificate requested)
	by ietfa.amsl.com (Postfix) with ESMTPS id 18E54C1516E2
	for <cfrg@irtf.org>; Fri, 20 Sep 2024 09:47:47 -0700 (PDT)
Received: from [192.168.217.145] (p5dc5d074.dip0.t-ipconnect.de
 [93.197.208.116])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4X9JGT0g3gzDCgM;
	Fri, 20 Sep 2024 18:47:45 +0200 (CEST)
Content-Type: text/plain;
	charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: 
 <DU0PR05MB9720A330F827931CE6FCFCE2836C2@DU0PR05MB9720.eurprd05.prod.outlook.com>
Date: Fri, 20 Sep 2024 18:47:44 +0200
X-Mao-Original-Outgoing-Id: 748543664.421894-61b0ad645c283987c43189ae36d15373
Content-Transfer-Encoding: quoted-printable
Message-Id: <6BC090CE-7F48-47EC-B100-D5867DCF72A5@tzi.org>
References: 
 <CAG2Zi20N98cxpgjfRe6gWw1SQEoux+5P3NhLBFUfUHk_udYeFg@mail.gmail.com>
 <CACsn0cmLjjyxcKsiHio-Vu-8jo80FQ=aFtoO3GD69jC5kUig9A@mail.gmail.com>
 <DU0PR05MB9720F36FCE38A9477411FB9B836C2@DU0PR05MB9720.eurprd05.prod.outlook.com>
 <4A43A49C-443C-4B8C-8795-021ADEEF733E@tzi.org>
 <DU0PR05MB9720A88DCA9BC057068D64F3836C2@DU0PR05MB9720.eurprd05.prod.outlook.com>
 <DDE188BA-342E-48D0-9EF0-F1B108414FD9@tzi.org>
 <DU0PR05MB9720A330F827931CE6FCFCE2836C2@DU0PR05MB9720.eurprd05.prod.outlook.com>
To: =?utf-8?Q?Bj=C3=B6rn_Haase?= <bjoern.haase=40endress.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Message-ID-Hash: PYGA3UHKEWLHI3YENZED4HR37Q23YU35
X-Message-ID-Hash: PYGA3UHKEWLHI3YENZED4HR37Q23YU35
X-MailFrom: cabo@tzi.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: =?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/-ITUcO9ecAyNJ-9N8I77xlXk0xA>
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>

On 2024-09-20, at 13:47, Bj=C3=B6rn Haase =
<bjoern.haase=3D40endress.com@dmarc.ietf.org> wrote:
>=20
> I did not find off-the-shelf tools for decoding that don't rely on the =
specific bash script.=20

Hi Bj=C3=B6rn,

this is useful information.

I believe this is best addressed by adding a web page that allows access =
to extracted <sourcecode snippets (after any RFC 8792 decoding, if that =
happens to apply) from existing RFC and I-D documents (specifically =
their XML form, as extracting from the plain text form cannot ever be =
fully reliable).

It may also be useful to provide a CLI tool (*) that does exactly RFC =
8792 decoding and nothing else.  I didn=E2=80=99t see a use case because =
the need for that decoding only ever arises in the context of extracting =
<sourcecode snippets from a document, so I made it part of that, but =
maybe people feel more comfortable with integrating a =E2=80=9Cdo one =
thing well=E2=80=9D tool into their workflows.

Gr=C3=BC=C3=9Fe, Carsten

(*) FYI the actual decoding is approximately 29 LOC in my =
implementation; need to add CLI parsing and file handling.

