[jose] Re: Strawperson consensus call for changes to draft-ietf-jose-hpke-encrypt-01

tirumal reddy <kondtir@gmail.com> Thu, 11 July 2024 08:49 UTC

Return-Path: <kondtir@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AE56BC17C882 for <jose@ietfa.amsl.com>; Thu, 11 Jul 2024 01:49:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 z1vUsoztljGx for <jose@ietfa.amsl.com>; Thu, 11 Jul 2024 01:49:02 -0700 (PDT)
Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D6779C169437 for <jose@ietf.org>; Thu, 11 Jul 2024 01:49:02 -0700 (PDT)
Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a6fe49699f7so4102566b.2 for <jose@ietf.org>; Thu, 11 Jul 2024 01:49:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720687741; x=1721292541; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=HXxWCs5nb0qL/Ds1Z3ZBZmRrkN9qGBJKGsrSO5kpETg=; b=W+9/m87VzUmaRQVXcDgkCnxwpX8P7TiuqOKyyaALL1y+PSpnozT1wjyW/8kBBjWTty vnuRFukapnV6/uVbHhmum7NoSzC8hKAGMLlwnGzcr3ViMtXiunf7MdGjU5CrVrcvyQGh FDyN7Pj/1HACUBHZDY//Uuxp9rGTcjJUW/V2/91WbK7w5pgzqP1z5bYokyppkyclleii aQE71C9b4FGa12Y60ilkhFO7shEiO/1mWKFTPtr5cgtqxniTjP+gtGrNBhQ8hJzAqeSX 3sPsK58wNI9VPtRBttOmSODKTcApxa/LNLQO3cIPSS74S1K7RPsr9bwcvPKBQoXzU2Ck PR5A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720687741; x=1721292541; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HXxWCs5nb0qL/Ds1Z3ZBZmRrkN9qGBJKGsrSO5kpETg=; b=hj3TalhQtKMvCpCboYvFlKifsC2DswD8XUEWOjkNx40J3BflHk52OOtv8/E53tbkQG ORz7094cgUeUYXXMZXi/1vrKfNCUdX8f0G6VSCr17z/M6v8AaBhJQ4Lo50jOomTAoFJE Exy1heiVkSd6DSfTO9QzKpJ6+T9Qu0bThtfsHpEYp52Iwd4T880xhwRJ9BR41Jyf1BOc uEl9bOWIV/EpwpG91B5CjjyXYu/DKr+DxUv6XWkyF9iJBxd+xmgcVMQfImqHfPHdGD3N a1/b+gf/ZEf038+PdicAmeSTl2E1vNC0oOsEIGr+RFamxRzEI6+tuUV9/W78OxPA5mLD Y1ng==
X-Gm-Message-State: AOJu0Yx0Kyg8GNdd5SjWotW1ixnC/KgJ9ESO87nKeH9x7QTmam+0nCw+ A7pU7OJ7K1WWLFtHR2D0csCP2VGFvRui1kWv+feor84BmW0v+UWa95MIQRXwJoebDauSofQjpdL dYLAt+cjqvVwTwEh52DZBGYPYd+E=
X-Google-Smtp-Source: AGHT+IEKb91ES20t951LXnWaj4RmBsoa8AmZoo5s4DdnE6WkWkatH3gOeIsJ+LEcToW6gDFY3d7esUuoWnQjgMGyzaY=
X-Received: by 2002:a17:907:e92:b0:a6f:5fdf:6cd9 with SMTP id a640c23a62f3a-a780b87cfc0mr707828366b.4.1720687740911; Thu, 11 Jul 2024 01:49:00 -0700 (PDT)
MIME-Version: 1.0
References: <CAN8C-_KEv4s2SHBYi9ZeCi+Jjxk08r9tg+sqt1wtcgnyswCBgQ@mail.gmail.com> <CAFpG3gctSyVhC4gFJ4f00YoRKT4AyiOm84oB3XntQCT43QxZww@mail.gmail.com> <Zo-M5079iwsR5G3v@LK-Perkele-VII2.locald>
In-Reply-To: <Zo-M5079iwsR5G3v@LK-Perkele-VII2.locald>
From: tirumal reddy <kondtir@gmail.com>
Date: Thu, 11 Jul 2024 14:18:23 +0530
Message-ID: <CAFpG3gc-OmjdgPTmE73n9WFepnmOi3E=ZL+o-r9=qzO48Bw-6Q@mail.gmail.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
Content-Type: multipart/alternative; boundary="0000000000009105c6061cf4d55a"
Message-ID-Hash: IJ26JJDVJZESE4UCDYSA4VN34OTULHY5
X-Message-ID-Hash: IJ26JJDVJZESE4UCDYSA4VN34OTULHY5
X-MailFrom: kondtir@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-jose.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: JOSE WG <jose@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [jose] Re: Strawperson consensus call for changes to draft-ietf-jose-hpke-encrypt-01
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/jose/Lrl2rXpqD_rIFX2RI7Dme2eZxdQ>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jose>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Owner: <mailto:jose-owner@ietf.org>
List-Post: <mailto:jose@ietf.org>
List-Subscribe: <mailto:jose-join@ietf.org>
List-Unsubscribe: <mailto:jose-leave@ietf.org>

On Thu, 11 Jul 2024 at 13:12, Ilari Liusvaara <ilariliusvaara@welho.com>
wrote:

> On Thu, Jul 11, 2024 at 11:19:19AM +0530, tirumal reddy wrote:
> >
> >
> > I would like add another option proposed below for HPKE JWE Integrated
> > Encryption Mode:
> >
> > The algorithm name SHALL be of the form "HPKE-P256-SHA256".
> > The "enc" value SHALL be " A128GCM".
> > The hpke-aad SHALL be of the form "protected (.aad)", as described in
> Step
> > 15 of RFC7516.
> > The hpke-info SHALL be the same as is provided to concatKDF info for
> > ECDH-ES, as described in
> > https://datatracker.ietf.org/doc/html/rfc7518#section-4.6.2
>
> JWE does not allow doing that.
>

Why does not JWE allow use of  {"alg" : "HPKE-P256-SHA256", "enc":
A128GCM"} in case of direct key agreement mode ?


>
> "A128GCM" is valid AEAD algorithm, and JWE is very clear on how such
> thing is processed. And that processing is flat out incompatible with
> Integrated Encryption or using HPKE for bulk encryption.
>
>
>
>
> -Ilari
>
>
> _______________________________________________
> jose mailing list -- jose@ietf.org
> To unsubscribe send an email to jose-leave@ietf.org
>