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

Akira Tsukamoto <akira.tsukamoto@aist.go.jp> Thu, 09 April 2020 01:59 UTC

Return-Path: <akira.tsukamoto@aist.go.jp>
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 2AC1F3A1D71 for <suit@ietfa.amsl.com>; Wed, 8 Apr 2020 18:59:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MSGID_FROM_MTA_HEADER=0.001, 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=aist.go.jp
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 iZnDn8gjMM2G for <suit@ietfa.amsl.com>; Wed, 8 Apr 2020 18:59:14 -0700 (PDT)
Received: from JPN01-TY1-obe.outbound.protection.outlook.com (mail-eopbgr1400059.outbound.protection.outlook.com [40.107.140.59]) (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 807AD3A1D73 for <suit@ietf.org>; Wed, 8 Apr 2020 18:59:14 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oYoib09ZwUXf7C73ljjkm3XnCwxbp/O9d0Qf7PyR8B6Er49E0kxjrk1/ksry31zNHAHzqUvUoxrkpKFvhfSUDqpvbthSGd4MyBYjsYJthfn8eqP5q/EKGCZS+SL/X6AAsJD6hkKv92yJOm8QfPnaUxAqvi+clxWWjo8bJRAeaFjY34ssn4RQq7VMeXFcpdKWDbned65Kfl/EFwzNH78WzO35tLbCeBf84tNzFfd2B5/Yn03beI+4f726fNI4KghVIWz/zO0yJKiEhtgwPesbC9GJvGEELZq9k2WdqVoTn2H3Rlys+vHZ+ITw1baoFuYoaogEcZVeVPI8PwON5vEZtQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Av93sGPUqaR55qUfIo5DsT+538cmRVePhd4t1PxEu74=; b=RXsHbvoKYzYZVlLpQiCqi3CRjJk1MuSWeGPfJ2ukoWn4yo0FIYtRmx11t5ovUkFWBway+ye4Bxgv58mXfvDjogJ47BwT8AIquuUyiYJNd8h2Oj/TLC+3PG9GIMyie28p3ECTAsi2LY1o4G/kAluOOpUj+V13I4+ZQ/9N/zzXjGBCY8sP1PRM6zxCU+zhK3yGCezre3iRu0wC1BCd9krLpD7gCNcgyb+M6MVCW6dc13ThuCXIkXt9SnBM08fFOU+JsiCBVbryPye2cmtJ5xMoLOxahNu9bW8EwhiyJObKQ63haj/2nFdWtr2odwmT/df4xNrLOxuYnRgisNq3NHv0KA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=aist.go.jp; dmarc=pass action=none header.from=aist.go.jp; dkim=pass header.d=aist.go.jp; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Av93sGPUqaR55qUfIo5DsT+538cmRVePhd4t1PxEu74=; b=aQ183Q8dCDBEtCiVxnmUlegYojrFolfUodPjrECwpS4O1T/ZTu6W3BdQONKxUWZO1bCqCTPdaxa50PtgHcpPyODSnPpqIELK/BV8nRQkSPaXbScb4IjDJIXSM4wLXE3dA2KkYv5MWwD97TYOpUluclH4z2dN8SyUy3ZnpprSrLs=
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akira.tsukamoto@aist.go.jp;
Received: from TYAPR01MB3406.jpnprd01.prod.outlook.com (20.178.140.147) by TYAPR01MB2973.jpnprd01.prod.outlook.com (20.177.102.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.15; Thu, 9 Apr 2020 01:59:12 +0000
Received: from TYAPR01MB3406.jpnprd01.prod.outlook.com ([fe80::df1:d999:dc75:cdf2]) by TYAPR01MB3406.jpnprd01.prod.outlook.com ([fe80::df1:d999:dc75:cdf2%7]) with mapi id 15.20.2878.018; Thu, 9 Apr 2020 01:59:12 +0000
To: suit@ietf.org
From: Akira Tsukamoto <akira.tsukamoto@aist.go.jp>
Message-ID: <4e6db9fe-c0c7-7ca0-95c7-843ebc164a4c@aist.go.jp>
Date: Thu, 9 Apr 2020 10:59:11 +0900
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-ClientProxiedBy: TY2PR02CA0065.apcprd02.prod.outlook.com (2603:1096:404:e2::29) To TYAPR01MB3406.jpnprd01.prod.outlook.com (2603:1096:404:cc::19)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from [192.168.100.200] (153.231.217.65) by TY2PR02CA0065.apcprd02.prod.outlook.com (2603:1096:404:e2::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.15 via Frontend Transport; Thu, 9 Apr 2020 01:59:11 +0000
X-Originating-IP: [153.231.217.65]
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-HT: Tenant
X-MS-Office365-Filtering-Correlation-Id: 7f7d8414-8b32-4dfa-106a-08d7dc299944
X-MS-TrafficTypeDiagnostic: TYAPR01MB2973:
X-Microsoft-Antispam-PRVS: <TYAPR01MB297330F7A488287414DB6C25D8C10@TYAPR01MB2973.jpnprd01.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-Forefront-PRVS: 0368E78B5B
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYAPR01MB3406.jpnprd01.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(396003)(376002)(366004)(346002)(39860400002)(136003)(31686004)(8676002)(31696002)(2906002)(8936002)(478600001)(81156014)(186003)(86362001)(966005)(44832011)(36756003)(66946007)(26005)(52116002)(5660300002)(6916009)(66556008)(81166007)(956004)(6486002)(16576012)(2616005)(66476007)(316002)(16526019)(275744002); DIR:OUT; SFP:1101;
Received-SPF: None (protection.outlook.com: aist.go.jp does not designate permitted sender hosts)
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 8wbS2NcsOfFCSjUaEUxmwOUPPEXNeLIPKjNYELJpZGapDh+Bqv5jUWrrXqWFHUvIDrO5iUj6NrUxymlVlMxrzDuGHUrqpXqptN49rk/U68xOlMILfAqas7X8booyUllQ6qooyXMV3sOD+lJWBYK615XiNKnYZlLxgS/gj1U5qjbvGUV9hUixPL8iOHepJwJZO1y2UynAqIyxKLLUGCr3poXglyVqVWOD/VW5Ra6LHZXx8JO2bpRL79D7MFQRwzk3aEg6oDq4dYqfOQZ2Sn6fDGLGCgdUGYG6iIUP5YbtkLCXsqsV/lXSNoM1t62M07sSRmpMxDkDW2hWw4MyAXoN/SOTS8W6kITI8SJfFkRMGCibDof54m5zJxwcappCGGDkfdlVIlHacnrqhuBP0httMp23r+xlngi9Lw/wgAQXicG7o96yBLXme3sas4EIV1Qj5tUombG0SSzsrYr68c30yNj/LgG9qPPeNlRCU9jCywAki1J/hVi+1QeKsC40KkRhH7723gFCA9HO1lLX9pVDgELrF4OkdFm8eQRT+PdYPy24/M/7K7LlGddeWdN4PkZC
X-MS-Exchange-AntiSpam-MessageData: kfX0OAA7cyw6IP1dr+d9GRF28ZAP3XgnSD/0u7GxqAIliKzM21bqEpq25X7b1KQe7erVWavj/wyc4lFnwgzLyNrxQ/ekLUAZg5PGPQ2D++U0gAzKqMRr1ziAhTDEQ7tgHHsazzJKLqXj7YR9AnxxVg==
X-OriginatorOrg: aist.go.jp
X-MS-Exchange-CrossTenant-Network-Message-Id: 7f7d8414-8b32-4dfa-106a-08d7dc299944
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2020 01:59:12.1707 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 18a7fec8-652f-409b-8369-272d9ce80620
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: vac9Wm0iydXZqO44fy45Zi7d/4nolkF+5zabTZT4pG/fadE+smTA5p6iJplPl1vZ59Fq0o6A5j2tdTE5Jzuv6XXwN5w+GgwJzhI3r0UwWu0=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYAPR01MB2973
Archived-At: <https://mailarchive.ietf.org/arch/msg/suit/pPnIa9Fw9SVCFwb-uR88SF57k6I>
Subject: [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 01:59:17 -0000

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/151e72b0ea3ab8ff8f59ea42004180d90006f8c9
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