Re: [CFRG] HPKE and Key Wrapping

Russ Housley <housley@vigilsec.com> Tue, 29 March 2022 14:00 UTC

Return-Path: <housley@vigilsec.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2B50A3A1927 for <cfrg@ietfa.amsl.com>; Tue, 29 Mar 2022 07:00:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.907
X-Spam-Level:
X-Spam-Status: No, score=-1.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 aWWlPU63BMmb for <cfrg@ietfa.amsl.com>; Tue, 29 Mar 2022 07:00:04 -0700 (PDT)
Received: from mail3.g24.pair.com (mail3.g24.pair.com [66.39.134.11]) (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 61FB73A1922 for <cfrg@irtf.org>; Tue, 29 Mar 2022 07:00:04 -0700 (PDT)
Received: from mail3.g24.pair.com (localhost [127.0.0.1]) by mail3.g24.pair.com (Postfix) with ESMTP id 14D26DC583; Tue, 29 Mar 2022 10:00:03 -0400 (EDT)
Received: from [10.0.1.2] (pfs.iad.rg.net [198.180.150.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail3.g24.pair.com (Postfix) with ESMTPSA id BC88EDC1D7; Tue, 29 Mar 2022 10:00:02 -0400 (EDT)
From: Russ Housley <housley@vigilsec.com>
Message-Id: <BAE33C27-C06B-4C65-88BF-4B7751D39C94@vigilsec.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_3D4189B7-1F06-4669-9C40-18C96EDDF726"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\))
Date: Tue, 29 Mar 2022 10:00:02 -0400
In-Reply-To: <HE1PR0701MB3050AFD941AABAB80D7EC31E891E9@HE1PR0701MB3050.eurprd07.prod.outlook.com>
Cc: IRTF CFRG <cfrg@irtf.org>
To: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>
References: <HE1PR0701MB3050AFD941AABAB80D7EC31E891E9@HE1PR0701MB3050.eurprd07.prod.outlook.com>
X-Mailer: Apple Mail (2.3445.104.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/RGKygDothHZhIG_-i5Q1tzHlg3U>
Subject: Re: [CFRG] HPKE and Key Wrapping
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Mar 2022 14:00:10 -0000

Indeed.  This is exactly the use that is moving forward in draft-ietf-cose-hpke, and CFRG review would be greatly appreciated.

Russ

> On Mar 29, 2022, at 5:05 AM, John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org> wrote:
> 
> Hi,
>  
> Dan Harkins draft and presentation made me think about HPKE and key wrapping.
> https://datatracker.ietf.org/doc/html/draft-harkins-cfrg-dnhpke-01 <https://datatracker.ietf.org/doc/html/draft-harkins-cfrg-dnhpke-01>
>  
> AES-SIV could be used for this, but the algorithms currently approved by NIST for key wrapping are AES-KW and AES-KWP.
>  
> https://datatracker.ietf.org/doc/html/rfc3394 <https://datatracker.ietf.org/doc/html/rfc3394>
> https://datatracker.ietf.org/doc/html/rfc5649 <https://datatracker.ietf.org/doc/html/rfc5649>
> https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-38F.pdf <https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-38F.pdf>
>  
> For asymmetric key wrapping. AES-KWP is often used with RSA-OAEP (which NIST calls KTS-OAEP: Key-Transport Using RSA-OAEP in SP 800-56Br2).
>  
> https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-56Br2.pdf <https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-56Br2.pdf>
> https://cloud.google.com/kms/docs/key-wrapping <https://cloud.google.com/kms/docs/key-wrapping>
> https://microsoft.github.io/CCF/release/1.x/js/ccf-app/interfaces/global.rsaoaepaeskwpparams.html <https://microsoft.github.io/CCF/release/1.x/js/ccf-app/interfaces/global.rsaoaepaeskwpparams.html>
>  
> I think HPKE is the future of asymmetric encryption including asymmetric key wrapping.
>  
> Would it make sense to standardize AES-KWP for HPKE or do CFRG believe that AES-SIV is the future of key wrapping? Irrespectively I think the CFRF should produce a good recommendation on how to use HPKE for key wrapping.
>  
> Cheers,
> John
> _______________________________________________
> CFRG mailing list
> CFRG@irtf.org <mailto:CFRG@irtf.org>
> https://www.irtf.org/mailman/listinfo/cfrg <https://www.irtf.org/mailman/listinfo/cfrg>