Re: [COSE] MAC with no recipient structures

Olaf Bergmann <bergmann@tzi.org> Thu, 19 November 2015 11:22 UTC

Return-Path: <bergmann@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5364B1A0461 for <cose@ietfa.amsl.com>; Thu, 19 Nov 2015 03:22:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.55
X-Spam-Level:
X-Spam-Status: No, score=-1.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35] autolearn=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 a2CuummKNQmf for <cose@ietfa.amsl.com>; Thu, 19 Nov 2015 03:22:57 -0800 (PST)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (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 4B2DD1A0379 for <cose@ietf.org>; Thu, 19 Nov 2015 03:22:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [134.102.201.11]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id tAJBMn1n004766; Thu, 19 Nov 2015 12:22:49 +0100 (CET)
Received: from aung.tzi.org (unknown [IPv6:2001:638:708:30da:211:22ff:fedd:aa18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3p1dsN6fnYz2YN4; Thu, 19 Nov 2015 12:22:48 +0100 (CET)
From: Olaf Bergmann <bergmann@tzi.org>
To: Jim Schaad <ietf@augustcellars.com>
References: <04e901d119ad$3207bea0$96173be0$@augustcellars.com> <87egftszjh.fsf@aung.informatik.uni-bremen.de> <018301d11f16$31d46640$957d32c0$@augustcellars.com>
Date: Thu, 19 Nov 2015 12:22:48 +0100
In-Reply-To: <018301d11f16$31d46640$957d32c0$@augustcellars.com> (Jim Schaad's message of "Sat, 14 Nov 2015 11:53:54 -0800")
Message-ID: <87ziyanshj.fsf@aung.informatik.uni-bremen.de>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/PUug2wEvYu81VIfs0smCZPgI4Lg>
Cc: cose@ietf.org
Subject: Re: [COSE] MAC with no recipient structures
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Nov 2015 11:22:59 -0000

Hi Jim,

"Jim Schaad" <ietf@augustcellars.com> writes:

> I just read through the section referenced and did not see any reason
> for C and CAM to have access to the content.  I will try and read the
> entire document later today as that might describe the reasoning.

the reason comes from the way authorization is used. That would be a
long discussion more related to ACE than COSE.

> However, you are saying that it is ok for incorrect content to be in
> this message as far as C and CAM are concerned?

No, it would not. My draft assumes that this structure is passed within
the payload of an encrypt structure hop-by-hop.

Grüße
Olaf