Re: [COSE] Version -03 of COSE-HPKE

Ilari Liusvaara <ilariliusvaara@welho.com> Wed, 01 March 2023 19:52 UTC

Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DC7AFC14CE33 for <cose@ietfa.amsl.com>; Wed, 1 Mar 2023 11:52:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wr-pQbaDUPGu for <cose@ietfa.amsl.com>; Wed, 1 Mar 2023 11:52:41 -0800 (PST)
Received: from welho-filter2.welho.com (welho-filter2b.welho.com [83.102.41.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CE2BCC14CE28 for <cose@ietf.org>; Wed, 1 Mar 2023 11:52:40 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id 39ACA218BC for <cose@ietf.org>; Wed, 1 Mar 2023 21:52:38 +0200 (EET)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id c2vp8F0ufOeO for <cose@ietf.org>; Wed, 1 Mar 2023 21:52:38 +0200 (EET)
Received: from LK-Perkele-VII2 (87-92-18-205.bb.dnainternet.fi [87.92.18.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id A769C72 for <cose@ietf.org>; Wed, 1 Mar 2023 21:44:46 +0200 (EET)
Date: Wed, 01 Mar 2023 21:44:46 +0200
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: "cose@ietf.org" <cose@ietf.org>
Message-ID: <Y/+rLm3cy47F3SlR@LK-Perkele-VII2.locald>
References: <e2bf9be4-bd44-9643-f7d4-9dc9b08c027d@gmx.net> <A1873841-3112-4C0A-8E17-AD0A59A703E1@island-resort.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <A1873841-3112-4C0A-8E17-AD0A59A703E1@island-resort.com>
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/vRIO22vjFvBMq6RUqWgUjqmojPU>
Subject: Re: [COSE] Version -03 of COSE-HPKE
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.39
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: Wed, 01 Mar 2023 19:52:42 -0000

On Wed, Mar 01, 2023 at 11:28:31AM -0700, Laurence Lundblade wrote:
> 
> Inputs to SealBase in two-layer mode
> I think an Enc_structure (5.3 in 9052) with context “Enc_Recipient”
> is what should be given to SealBase for the aad parameter. This is
> not super clear from 9052, but I think it is right. I’ve also been
> reading Jim’s code and I think that is what it does. 

I think that is correct, and also is what my code is doing.



-Ilari