Re: [Suit] Value of COSE_Mac_Tagged/COSE_Sign_Tagged/COSE_Mac0_Tagged/COSE_Sign1_Tagged

Jim Schaad <ietf@augustcellars.com> Thu, 09 April 2020 03:45 UTC

Return-Path: <ietf@augustcellars.com>
X-Original-To: suit@ietfa.amsl.com
Delivered-To: suit@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0EBDA3A0937 for <suit@ietfa.amsl.com>; Wed, 8 Apr 2020 20:45:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 comksvuvFdQv for <suit@ietfa.amsl.com>; Wed, 8 Apr 2020 20:45:27 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 365023A0934 for <suit@ietf.org>; Wed, 8 Apr 2020 20:45:27 -0700 (PDT)
Received: from Jude (73.180.8.170) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 8 Apr 2020 20:45:21 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Akira Tsukamoto' <akira.tsukamoto@aist.go.jp>, <suit@ietf.org>
References: <4e6db9fe-c0c7-7ca0-95c7-843ebc164a4c@aist.go.jp>
In-Reply-To: <4e6db9fe-c0c7-7ca0-95c7-843ebc164a4c@aist.go.jp>
Date: Wed, 8 Apr 2020 20:45:19 -0700
Message-ID: <05ef01d60e21$4bdd1ce0$e39756a0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQJwK3zt7sBt3UZ1ii+XYYgYBGez3qc762XQ
Content-Language: en-us
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/suit/kZAKnY4kIqqfAxojEpqw4s5QUlI>
Subject: Re: [Suit] Value of COSE_Mac_Tagged/COSE_Sign_Tagged/COSE_Mac0_Tagged/COSE_Sign1_Tagged
X-BeenThere: suit@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Software Updates for Internet of Things <suit.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/suit>, <mailto:suit-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/suit/>
List-Post: <mailto:suit@ietf.org>
List-Help: <mailto:suit-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/suit>, <mailto:suit-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Apr 2020 03:45:29 -0000

These values are defined in RFC 8152,  draft-ietf-cose-rfc8152bis-struct or
in the IANA registry.

Jim


-----Original Message-----
From: Suit <suit-bounces@ietf.org> On Behalf Of Akira Tsukamoto
Sent: Wednesday, April 8, 2020 6:59 PM
To: suit@ietf.org
Subject: [Suit] Value of
COSE_Mac_Tagged/COSE_Sign_Tagged/COSE_Mac0_Tagged/COSE_Sign1_Tagged

Hi all,

I am not sure this is the right place to ask.

This is the feedback from the TEEP-wg after the virtual hackathon and
interim meeting.

TEEP was using
COSE_Mac_Tagged/COSE_Sign_Tagged/COSE_Mac0_Tagged/COSE_Sign1_Tagged.
Are these tags defined the value in some drafts or iana?
When we were trying to implement the teep, we could not put the bstr or
int/uint for the tags.

I the draft-ietf-suit-manifest-01, it also using these tags in page 43,
https://tools.ietf.org/html/draft-ietf-suit-manifest-01

as

SUIT_Authentication_Wrapper = [ + (
     COSE_Mac_Tagged /
     COSE_Sign_Tagged /
     COSE_Mac0_Tagged /
     COSE_Sign1_Tagged)
]

COSE_Mac_Tagged = any
COSE_Sign_Tagged = any
COSE_Mac0_Tagged = any
COSE_Sign1_Tagged = any

It was deleted in teep at the link bellow of the pull request after the
discussion from the hackathon,
https://github.com/ietf-teep/teep-protocol/commit/151e72b0ea3ab8ff8f59ea4200
4180d90006f8c9
but would be nice to know if it was OK with similar bellow,

COSE_Mac_Tagged = 1
COSE_Sign_Tagged = 2
COSE_Mac0_Tagged = 3
COSE_Sign1_Tagged = 4

Thanks,
-Akira

_______________________________________________
Suit mailing list
Suit@ietf.org
https://www.ietf.org/mailman/listinfo/suit