[Ace] Syntax check of examples in draft-ietf-ace-cwt-proof-of-possession-05
Roman Danyliw <rdd@cert.org> Fri, 30 November 2018 19:10 UTC
Return-Path: <rdd@cert.org>
X-Original-To: ace@ietfa.amsl.com
Delivered-To: ace@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 7E083130F3A
for <ace@ietfa.amsl.com>; Fri, 30 Nov 2018 11:10:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001]
autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key)
header.d=cert.org
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 9W117VnRTIcV for <ace@ietfa.amsl.com>;
Fri, 30 Nov 2018 11:10:16 -0800 (PST)
Received: from taper.sei.cmu.edu (taper.sei.cmu.edu [147.72.252.16])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id B5A93130E5A
for <ace@ietf.org>; Fri, 30 Nov 2018 11:10:16 -0800 (PST)
Received: from delp.sei.cmu.edu (delp.sei.cmu.edu [10.64.21.31])
by taper.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id wAUJAFrg009547
for <ace@ietf.org>; Fri, 30 Nov 2018 14:10:15 -0500
DKIM-Filter: OpenDKIM Filter v2.11.0 taper.sei.cmu.edu wAUJAFrg009547
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cert.org;
s=yc2bmwvrj62m; t=1543605015;
bh=nM0u1ozx8AtIBGfDoKB8XvQrun4SBUpUyxFPLFAxTRI=;
h=From:To:Subject:Date:From;
b=hZafcqLD2P20g5zBZF8krexqYKPtaeOTu5UnIb13s3Ncz/tXzZKN0HzbbTnWQgqW/
qdUc8cGZ3Pz3LUYmBi17Zy89+HEPn3NvVpas1RiSaGof9pIj/cPlJ4go6sbrBaqDDG
a1LNodUcrQeX0Fxwtg4psEI+0Zea3gYqRMGOAnxY=
Received: from CASCADE.ad.sei.cmu.edu (cascade.ad.sei.cmu.edu [10.64.28.248])
by delp.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id wAUJA8wj005761
for <ace@ietf.org>; Fri, 30 Nov 2018 14:10:08 -0500
Received: from MARATHON.ad.sei.cmu.edu ([10.64.28.250]) by
CASCADE.ad.sei.cmu.edu ([10.64.28.248]) with mapi id 14.03.0415.000; Fri, 30
Nov 2018 14:10:08 -0500
From: Roman Danyliw <rdd@cert.org>
To: "ace@ietf.org" <ace@ietf.org>
Thread-Topic: Syntax check of examples in
draft-ietf-ace-cwt-proof-of-possession-05
Thread-Index: AdSI3wRNfJL7yZrTRs6T+pPDYimggA==
Date: Fri, 30 Nov 2018 19:10:07 +0000
Message-ID: <359EC4B99E040048A7131E0F4E113AFC0184C52937@marathon>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.64.22.6]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/w2d31kc4hIoC-218X4ubMvyWh5Q>
Subject: [Ace] Syntax check of examples in
draft-ietf-ace-cwt-proof-of-possession-05
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Authentication and Authorization for Constrained Environments
\(ace\)" <ace.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ace>,
<mailto:ace-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ace/>
List-Post: <mailto:ace@ietf.org>
List-Help: <mailto:ace-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ace>,
<mailto:ace-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Nov 2018 19:10:19 -0000
Hello! As part of my shepherd review, I ran all of the examples in draft-ietf-ace-cwt-proof-of-possession-05 through a CBOR diagnostic-to-CBOR validator (thanks Carsten for cbor.me). All of the examples were fine but the first one in Section 3.3: --[current text]-- { /kty/ 1 : /Symmetric/ 4, /alg/ 3 : /HMAC256/ 5, /k/ -1 : h'6684523ab17337f173500e5728c628547cb37df e68449c65f885d1b73b49eae1A0B0C0D0E0F10' } --[end]-- The error was: Expected one of [ \t\n\r], "/", [0-9a-fA-F] at line 5, column 56 (byte 184) after { /kty/ 1 : /Symmetric/ 4, /alg/ 3 : /HMAC256/ 5, /k/ -1 : h'6684523ab17337f173500e5728c628547cb37df e68449c65f885d1b73b49eae1A0B0C0D0E0F10 It appears that the string of hex encoded octets in /k/ is short one character. Roman
- [Ace] Syntax check of examples in draft-ietf-ace-… Roman Danyliw
- Re: [Ace] Syntax check of examples in draft-ietf-… Mike Jones