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

tirumal reddy <kondtir@gmail.com> Thu, 11 July 2024 05:50 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 28E9AC1654EF; Wed, 10 Jul 2024 22:50:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.094
X-Spam-Level:
X-Spam-Status: No, score=-2.094 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, 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 4gTincENJenv; Wed, 10 Jul 2024 22:49:58 -0700 (PDT)
Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (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 CAB91C157937; Wed, 10 Jul 2024 22:49:58 -0700 (PDT)
Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-52e9ab8b7cdso73953e87.1; Wed, 10 Jul 2024 22:49:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720676996; x=1721281796; 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=Z8mCtcwpghZv3ZPpQDjvQeMK4/I337Wzs02/MZPh1gY=; b=OGQB3WjkSM1IbYVBxCwwET83AtLDGXU7EOcd4yet2ZW+SM5fWobHUM2cKuTo1nUAoo CMOLBjLaKNMii9An3uks9oalkyLyaXhtJ6n5GwOh3/FjyT0Ye0Ft3oUZg9qYVWc+mGW+ ajKCVSAWpt3aVJbgS4dS29L0ZhYFIFLLrk8nGZRFVFbDiOaXhFhfH0UqGFIzAbCIPa+F qEZfmh5IWMDQLcmXgTO0N7jIVrvOHWrX3V+HbzHk+a2s+Dk9Z8xy8Y2ly2TvszEV7dOq V6ZyKG69yrwJJDeENxkRg8n8qvaSP0JPMkg8LA0+fWsAX6gc6prbe861ZhPJ6SJb5Rgh NbhQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720676996; x=1721281796; 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=Z8mCtcwpghZv3ZPpQDjvQeMK4/I337Wzs02/MZPh1gY=; b=pmNHHd2NpSnn/gsNcsQM/FYorlfjsfhQL7cC80U4be2nBZM0ViRiNi4SByiWCwnUPG RNeFseOxa7e1IOGsxrO39N6Ey6L65yUJq8IuDdfCNDawnis4hj7MDfwWZf7meHo+0/J6 m5u/PLtVcahh+1mSCQQ6yMzwlSBgLdklVvTIBQX7Y7Fn5M5pE6xPeSv5Y0DJ0h6ZkCvy Y3RZyNr3TAGBg4L30LxuYMrvQCVvNI29iUh1vSDUdPf/UWrQZhtNpyWloOfnQTmb281X yK3Ux6+8DfCPfI4I2+5WCj40TmlRW6TgHoR9+pI9PQM95YVmMqY667hD9iyaTk/1LVYp EKpQ==
X-Forwarded-Encrypted: i=1; AJvYcCUrMV0z9A+hCHJ9UcuKnGOdE7eB8m9XfLodGE71JkI6PN5cy4QnBbzXMQGy6o2YcgF/AXP6usT0RP8aUdyB1xNTX2+YqQ==
X-Gm-Message-State: AOJu0YwCh8qlJnyvjmmLT0232Pc2BxvmJ+fR2OiuTIPRQY0W/oww9Iq5 tFMlB0EGhE65pqUhTMQeD913yJQX5/vniSvYuAJHZI70r2h6rIt64ZBgATd+SXErCtWDUNaBgbk +V+mHHxDCWYFLlzcTNIWDe2ZQUxujRbND
X-Google-Smtp-Source: AGHT+IGJiY3cjO2VNeGcbETb7I4Yxtk50cejREw3LaNBSXV7I29oWpmgSp78wrsbHysk1ba53Rq8XWhIrfalt+I+0qg=
X-Received: by 2002:a05:6512:2025:b0:52e:7bb4:942d with SMTP id 2adb3069b0e04-52ec3e61964mr651113e87.1.1720676996212; Wed, 10 Jul 2024 22:49:56 -0700 (PDT)
MIME-Version: 1.0
References: <CAN8C-_KEv4s2SHBYi9ZeCi+Jjxk08r9tg+sqt1wtcgnyswCBgQ@mail.gmail.com>
In-Reply-To: <CAN8C-_KEv4s2SHBYi9ZeCi+Jjxk08r9tg+sqt1wtcgnyswCBgQ@mail.gmail.com>
From: tirumal reddy <kondtir@gmail.com>
Date: Thu, 11 Jul 2024 11:19:19 +0530
Message-ID: <CAFpG3gctSyVhC4gFJ4f00YoRKT4AyiOm84oB3XntQCT43QxZww@mail.gmail.com>
To: Orie Steele <orie@transmute.industries>
Content-Type: multipart/alternative; boundary="00000000000021ee68061cf25576"
Message-ID-Hash: KQE2FJCEE2JD5MHJJ6IH2ULJS3DFXV2I
X-Message-ID-Hash: KQE2FJCEE2JD5MHJJ6IH2ULJS3DFXV2I
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>, jose-chairs@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/tICkn_dwAVNHxtUhILl1IjMZbxc>
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 Wed, 10 Jul 2024 at 21:15, Orie Steele <orie@transmute.industries> wrote:

> Thanks to Ilari for capturing suggested changes to
> draft-ietf-jose-hpke-encrypt-01 for "alg" and "enc".
>
> See:
> https://mailarchive.ietf.org/arch/msg/jose/AQPIjws_5cjnCb_3S7UR688W4uM/
>
> We've discussed versions of this proposal for several months now, and I
> feel we probably need more formal consensus calls to identify a path
> forward.
>
> @jose-chairs@ietf.org <jose-chairs@ietf.org> please consider a formal
> consensus call for each of these topics, after applying any changes
> suggested on this thread as you see fit.
>
> I hope we can poll the room in person at IETF 120 as well.
>
> ## draft-ietf-jose-hpke-encrypt-01 call topic number 1 (Yes / No):
>
> ### For HPKE JWE Integrated Encryption Mode:
>
> The algorithm name SHALL be of the form "HPKE-P256-SHA256-A128GCM".
> The "enc" value SHALL be "dir".
> The working group SHALL draft text explaining what "enc:dir" means, and
> how it related to "alg".
> The algorithm name SHALL be of the form "HPKE-P256-SHA256-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
>

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

-Tiru


>
>
> ## draft-ietf-jose-hpke-encrypt-01 call topic number 2 (Yes / No):
>
> ### For HPKE JWE Key Encryption Mode:
>
> The algorithm name SHALL be of the form "HPKE-P256-SHA256-A128GCM".
> The "enc" value SHALL be any registered AEAD here -
> https://www.iana.org/assignments/jose/jose.xhtml, per section of RFC7518.
> 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
> The hpke-aad shall be empty.
>
> If either of these fails (rough consensus no), let's run through each
> statement in a formal consensus call, this way we can eliminate ambiguity
> for authors, and authors can propose solutions to only the problems where
> there is working group disagreement on the proposed solution in the current
> draft.
>
> This will end much faster if we can establish consensus to eliminate some
> variables.
>
> Regards,
>
> OS
>
>
>
> --
>
>
> ORIE STEELE
> Chief Technology Officer
> www.transmute.industries
>
> <https://transmute.industries>
> _______________________________________________
> jose mailing list -- jose@ietf.org
> To unsubscribe send an email to jose-leave@ietf.org
>