[openpgp] Proposed patch to fix missing reference to RFC 7748

Ronald Tse <tse@ribose.com> Thu, 26 October 2017 01:23 UTC

Return-Path: <tse@ribose.com>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 51FD813F4F0 for <openpgp@ietfa.amsl.com>; Wed, 25 Oct 2017 18:23:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level:
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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=ribose.onmicrosoft.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 UOmiuU7Q6rNa for <openpgp@ietfa.amsl.com>; Wed, 25 Oct 2017 18:23:05 -0700 (PDT)
Received: from APC01-PU1-obe.outbound.protection.outlook.com (mail-pu1apc01on0084.outbound.protection.outlook.com [104.47.126.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2351A13B110 for <openpgp@ietf.org>; Wed, 25 Oct 2017 18:23:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ribose.onmicrosoft.com; s=selector1-ribose-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=LxBwW96eWk9WxtWUhCkFmx3pejbrt3vHoUbJCVaBjv8=; b=Egy1kv7mQaKtN+giw5N2EkPNRcbTWKTjqcKS/U1ytNCkRP27z3ml+1pwFTocZXvtndh6HPdaOVdA0BqiKW8uih99LBIwDJO9MjbV0xD54+BzjPASVr1Uyvn4a2HOW6ONZotMUBMxqtyUL2VUtmu/Y6Er/uz54MhzZ8XpBZ1OAvc=
Received: from PS1PR01MB1050.apcprd01.prod.exchangelabs.com (10.165.210.30) by PS1PR01MB1050.apcprd01.prod.exchangelabs.com (10.165.210.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.156.4; Thu, 26 Oct 2017 01:23:00 +0000
Received: from PS1PR01MB1050.apcprd01.prod.exchangelabs.com ([fe80::f0e3:51e5:3abd:6c17]) by PS1PR01MB1050.apcprd01.prod.exchangelabs.com ([fe80::f0e3:51e5:3abd:6c17%14]) with mapi id 15.20.0156.007; Thu, 26 Oct 2017 01:23:00 +0000
From: Ronald Tse <tse@ribose.com>
To: "openpgp@ietf.org" <openpgp@ietf.org>
Thread-Topic: Proposed patch to fix missing reference to RFC 7748
Thread-Index: AQHTTfj2A0IMRjmit0ioQkTT2uTbeA==
Date: Thu, 26 Oct 2017 01:23:00 +0000
Message-ID: <B64A40C9-CC5B-4F05-ABBF-5E4D257C621B@ribose.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=tse@ribose.com;
x-originating-ip: [118.140.121.70]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; PS1PR01MB1050; 6:CMdMQkqMkEiKJXGZiHss3X6GURRc6IhUxDVc71WIDhVxLgbL1h/Xe5ZkxxByPSJSTN3EPqpWcVPDdLFuJdPtIym97ofOCAG2tpEiGhsTVc547PrUO/SsQ2yYCc3TdEOjWJbMUv2tvdl4jKqsV/wwKuc8b6WC08mdALj7mC758z7THloUcF36RiM+TiwktCkELVJCdodi8IDZzXEZVCTKmcncWgCTL9RhMygGZZDLGAz/MADmAPfRom3eVG6hoiOWG1khO0fIiAD24asiV3qRfnq4Cd8EpuOUUHILmzLdPrV/wBRLeKNdo5q3K2YOgjLnJ/uJao/CfGg3erLDdYRhrw==; 5:jckxE+bUdw/GehYqR1WXJnA3J+l0BPP7GW37K18kYAae1hk+vZwzOmKZrKPkpwDYMFY8e0DgXyUzpSWc4lj049k4OaAYjf7x6iOOp0CBumm07vonYHfXR7bAbNvPziHjCDQ+79phC3UyjM63Rz0nCA==; 24:b+9UWSgvQ5JEOI++tyPyPEkUaGcOM6lapTKDFPOWwPv61sIiEECDZYayLlmh7vfyJJEKskUijSt2pS2Iwne/XuuI5dFSvIATyHo8gnLLvKg=; 7:2mMCuhlRXm+iUdGiueYB180GGFGOA/gTqlVOQXoCPCspiTfWzBT/YXqvmkBzpRi7QG6g3kKL1KEjzAcsrM3uFAWd8UTBijv3c1fvrCko3ZkDvfg0XWOUiWyT+dZO/2n/qjb4UatcrVCTZoxE/3l3rmjSb/N3QFiO06//tAnSw5FIaKavTD+2UqnWOU8mAy/mLiu/9ck/hopR5Wz8WwKAcvm3MiF+70Uu8S2iz0cswFU=
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: b976b6bc-96d5-42eb-4781-08d51c1018f1
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4603075)(4627075)(201702281549075)(2017052603199); SRVR:PS1PR01MB1050;
x-ms-traffictypediagnostic: PS1PR01MB1050:
x-exchange-antispam-report-test: UriScan:(278428928389397)(192374486261705)(4782527817362);
x-microsoft-antispam-prvs: <PS1PR01MB10500C85AED4D3E279A15DD7D7450@PS1PR01MB1050.apcprd01.prod.exchangelabs.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(3231020)(6041248)(20161123562025)(20161123558100)(2016111802025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(6043046)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:PS1PR01MB1050; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:PS1PR01MB1050;
x-forefront-prvs: 04724A515E
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39830400002)(376002)(346002)(189002)(199003)(2900100001)(97736004)(478600001)(6506006)(3846002)(6116002)(102836003)(2501003)(5890100001)(5250100002)(83716003)(86362001)(53936002)(54896002)(345774005)(6512007)(236005)(6436002)(99286003)(6306002)(2351001)(316002)(966005)(2906002)(50986999)(54356999)(1730700003)(81166006)(6916009)(33656002)(5660300001)(81156014)(8676002)(106356001)(6486002)(606006)(8936002)(3280700002)(14454004)(3660700001)(68736007)(7736002)(101416001)(5640700003)(82746002)(66066001)(105586002)(25786009)(189998001)(36756003)(403724002); DIR:OUT; SFP:1101; SCL:1; SRVR:PS1PR01MB1050; H:PS1PR01MB1050.apcprd01.prod.exchangelabs.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: ribose.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_B64A40C9CC5B4F05ABBF5E4D257C621Bribosecom_"
MIME-Version: 1.0
X-OriginatorOrg: ribose.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b976b6bc-96d5-42eb-4781-08d51c1018f1
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2017 01:23:00.5063 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: d98a04ff-ef98-489b-b33c-13c23a2e091a
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS1PR01MB1050
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/QgIqqKoxzOHJeIwOz19HsdGtFvU>
Subject: [openpgp] Proposed patch to fix missing reference to RFC 7748
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:openpgp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp/>
List-Post: <mailto:openpgp@ietf.org>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:openpgp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Oct 2017 01:23:08 -0000

Hi Werner,

The current master of the rfc4880bis repository does not build due to missing reference files for RFC 7748.

The proposed patch can be seen at this link and also attached below:
- https://gitlab.com/openpgp-wg/rfc4880bis/merge_requests/7

commit b07f525d32fa22b282232a18699b062df1231460
Author: Ronald Tse <ronald.tse@ribose.com<mailto:ronald.tse@ribose.com>>
Date:   Wed Oct 25 16:42:26 2017 +0800

    Fix missing XML reference to RFC 7748

diff --git a/reference.RFC.7748.xml b/reference.RFC.7748.xml
new file mode 100644
index 0000000..52c9c5a
--- /dev/null
+++ b/reference.RFC.7748.xml
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8'?>
+
+<reference  anchor='RFC7748' target='https://www.rfc-editor.org/info/rfc7748'>
+<front>
+<title>Elliptic Curves for Security</title>
+<author initials='A.' surname='Langley' fullname='A. Langley'><organization /></author>
+<author initials='M.' surname='Hamburg' fullname='M. Hamburg'><organization /></author>
+<author initials='S.' surname='Turner' fullname='S. Turner'><organization /></author>
+<date year='2016' month='January' />
+<abstract><t>This memo specifies two elliptic curves over prime fields that offer a high level of practical security in cryptographic applications, including Transport Layer Security (TLS).  These curves are intended to operate at the ~128-bit and ~224-bit security level, respectively, and are generated deterministically based on a list of required properties.</t></abstract>
+</front>
+<seriesInfo name='RFC' value='7748'/>
+<seriesInfo name='DOI' value='10.17487/RFC7748'/>
+</reference>
diff --git a/template.xml b/template.xml
index 51cf425..2527e28 100644
--- a/template.xml
+++ b/template.xml
@@ -22,6 +22,7 @@
   <!ENTITY rfc.5639       PUBLIC '' 'reference.RFC.5639.xml'>
   <!ENTITY rfc.5870       PUBLIC '' 'reference.RFC.5870.xml'>
   <!ENTITY rfc.6090       PUBLIC '' 'reference.RFC.6090.xml'>
+  <!ENTITY rfc.7748       PUBLIC '' 'reference.RFC.7748.xml'>
   <!ENTITY iso.10646      PUBLIC '' 'reference.ISO.10646-1.1993.xml'>
   <!ENTITY eddsa          PUBLIC '' 'reference.I-D.irtf-cfrg-eddsa.xml'>
 ]>
@@ -215,6 +216,7 @@
       &rfc.4086;
       &rfc.5639;
       &rfc.5870;
+      &rfc.7748;

       &eddsa;


_____________________________________

Ronald Tse
Ribose Inc.

+=========================================================+
This message may contain confidential and/or privileged
information.  If you are not the addressee or authorized to
receive this for the addressee, you must not use, copy,
disclose or take any action based on this message or any
information herein.  If you have received this message in
error, please advise the sender immediately by reply e-mail
and delete this message.  Thank you for your cooperation.
+=========================================================+