Re: [Ace] Minor typos in draft-ietf-ace-cbor-web-token-01
Samuel Erdtman <samuel@erdtman.se> Wed, 31 August 2016 15:56 UTC
Return-Path: <samuel@erdtman.se>
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 E268412D5A0 for <ace@ietfa.amsl.com>; Wed, 31 Aug 2016 08:56:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 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_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=erdtman-se.20150623.gappssmtp.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 DCT8KRDqncC1 for <ace@ietfa.amsl.com>; Wed, 31 Aug 2016 08:56:13 -0700 (PDT)
Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E652612D5B6 for <ace@ietf.org>; Wed, 31 Aug 2016 08:50:16 -0700 (PDT)
Received: by mail-wm0-x22b.google.com with SMTP id w2so37254440wmd.0 for <ace@ietf.org>; Wed, 31 Aug 2016 08:50:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=erdtman-se.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3Xz2UcsVxD6r1zCcOB9BYGODg714/buTK9/rJmVCT1o=; b=dLE6Bcb+uJvMCRiucxmwrjvEvCIlhB+JDfUa5Yuy3WxOtRlwJ1Rdfb7ZXsv3WwIc7M +ajx+uSWZhsxoc9yJozYxBiJV3Oipt9XgT98CkZxsllHc1KzMYweXf88GWkuD/mkrXoF ONx1H9AjoZ/XP4y7i0Dh3aNEiuy01pauW6GLWT6mGW8hj2t1dYLbKybi8cpOpDAdxBvS iNveIgln3qt3nCLXrUoZGy9wLnQM5ojQGw6oFlUSjt0/T9dOJgOmz5oY3R3BNc0OAATB TaFr9BTK2BcZcECS1yKfcVpanZ32cowPBUwT+qWvj4EOlCOnmJH2HLuxGee1aaG5o5HP w80w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3Xz2UcsVxD6r1zCcOB9BYGODg714/buTK9/rJmVCT1o=; b=ZN7i+n7K01m3Qnbyu3/G7GhQzxPvR96g4a4RWgXD60Oj4jML1ro3B0kkP+O8o2u4Mr UUvVDJy0kZijlhTh72POxewpSC2qWSFONyi+uju5tElZ+4BD0sySVfojD45+tBmXACB1 IPnsDVf5GCVm9B7I0DmgR2PXEDqiqIlBg08VaKY//U8NpwIIOeiiRgpOhRTjbuUWCa/g R1wjEyuU8XNznO2ZTKBmWj44XRkRWO3/wBfdOTjBgJltt5rYgItwwmvnhY7puZ8T6C00 CZK0Q1Kzi4zVHgY8C46kzFflDj2+JzbatpdpqAigq84bMKanhXK9KpgmAxO+iDEEwp8i ceIQ==
X-Gm-Message-State: AE9vXwPyaUn5nwziWTACTHnfIm/kFP0COVp8Acf8z+X3ncmKWp9qMcdR4w78dbnKl8NdrLmm7HnNBimaddRwMg==
X-Received: by 10.28.207.69 with SMTP id f66mr21220277wmg.40.1472658614823; Wed, 31 Aug 2016 08:50:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.103.2 with HTTP; Wed, 31 Aug 2016 08:50:14 -0700 (PDT)
In-Reply-To: <ad7167c9-679e-c943-5065-7be0b61a3eef@sics.se>
References: <ad7167c9-679e-c943-5065-7be0b61a3eef@sics.se>
From: Samuel Erdtman <samuel@erdtman.se>
Date: Wed, 31 Aug 2016 17:50:14 +0200
Message-ID: <CAF2hCbZNn0ghecBbnDzfpt1hjZpfHougFQWaoOGc3sAPVHYT4g@mail.gmail.com>
To: Ludwig Seitz <ludwig@sics.se>
Content-Type: multipart/alternative; boundary="94eb2c0d7c5a9d18e8053b600d6e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/qQvKVJy-rcx2Kn5q04VLqZ3wH5M>
Cc: Mike Jones <Michael.Jones@microsoft.com>, "ace@ietf.org" <ace@ietf.org>, Erik Wahlström <erik@wahlstromstekniska.se>
Subject: Re: [Ace] Minor typos in draft-ietf-ace-cbor-web-token-01
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.17
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: Wed, 31 Aug 2016 15:56:18 -0000
See inline On Thu, Aug 18, 2016 at 9:23 AM, Ludwig Seitz <ludwig@sics.se> wrote: > Hello, > > I've noticed some minor things while trying to write code for CWTs: > > > 1.) In section 5.1. it says: > > "Create a CWT Claims Set containing the desired claims." > > I'm pretty sure you meant a CBOR map of claims, because that is what you > are showing in your examples. > I would say that the CWT Claims Set is a CBOR map of claims. Is that unclear? I would prefer not to change. > > 2.) Also in section 5.1 it says: > > "3. Create a COSE Header containing the desired set of Header > Parameters. The CWT Header MUST be a valid according to the > [I-D.ietf-cose-msg] specification." > > Is it a COSE Header or a CWT Header you are referring to? > One could argue either but I think we get less confusion by changing according to your suggestion. The COSE header is the header of the CWT i.e. a CWT header. in JOSE this relation is closer then here > > Also giving an example of what this header could look like would be nice. > > > 3.) In section 5.2. it says: > > "5. If the JOSE Header contains a "content type"" > > That should be COSE Header or CWT Header. > You are right > > > Regards, > > Ludwig > > > > > > -- > Ludwig Seitz, PhD > SICS Swedish ICT AB > Ideon Science Park > Building Beta 2 > Scheelevägen 17 > SE-223 70 Lund > > Phone +46(0)70-349 92 51 > http://www.sics.se > > > _______________________________________________ > Ace mailing list > Ace@ietf.org > https://www.ietf.org/mailman/listinfo/ace > >
- [Ace] Minor typos in draft-ietf-ace-cbor-web-toke… Ludwig Seitz
- Re: [Ace] Minor typos in draft-ietf-ace-cbor-web-… Samuel Erdtman