Re: [jose] JWK defining format for OpenPGP type of keys

Jim Schaad <ietf@augustcellars.com> Wed, 12 September 2018 19:10 UTC

Return-Path: <ietf@augustcellars.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 80EB0130DCA for <jose@ietfa.amsl.com>; Wed, 12 Sep 2018 12:10:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 YXHcVozSS4XU for <jose@ietfa.amsl.com>; Wed, 12 Sep 2018 12:10:42 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 74D56130DC3 for <jose@ietf.org>; Wed, 12 Sep 2018 12:10:42 -0700 (PDT)
Received: from Jude (73.180.8.170) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 12 Sep 2018 12:06:18 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Stefan Berger' <stefanb@us.ibm.com>, jose@ietf.org
References: <OFE886919E.A2DD2B80-ON00258306.005E64A7-00258306.005E7508@notes.na.collabserv.com>
In-Reply-To: <OFE886919E.A2DD2B80-ON00258306.005E64A7-00258306.005E7508@notes.na.collabserv.com>
Date: Wed, 12 Sep 2018 12:10:13 -0700
Message-ID: <01e001d44acc$3d800190$b88004b0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_01E1_01D44A91.9121ECE0"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQG8eT0kPz1FXuZJnmfCRmYru8pts6Ucn/cQ
Content-Language: en-us
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/jose/3C4JuWFV32MILnJGgUxpmaKvR3g>
Subject: Re: [jose] JWK defining format for OpenPGP type of keys
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Sep 2018 19:10:45 -0000

The JOSE working group has closed, so that avenue is not available for you to bring in a document up in the IETF.  The procedure to do this would be to write up a draft which both justifies the work and provides the details for how to do it.  I would assume that the details would be quite easy but you might have some problems getting a decent justification created.

 

I would go ahead and use this mailing list for discussions and you would really need to recruit one or two people who are familiar with PGP and can provide review of the document.  When you think that you have a final version then you would either need to get a Security Area director to sponsor the document or take it to the Independent Submission Editor to get published as an RFC.

 

Jim

 

 

From: jose <jose-bounces@ietf.org> On Behalf Of Stefan Berger
Sent: Wednesday, September 12, 2018 10:12 AM
To: jose@ietf.org
Subject: [jose] JWK defining format for OpenPGP type of keys

 

Hello!

I was wondering whether it would be possible to define a JWK format for OpenPGP (RFC 4480,  <https://tools.ietf.org/html/rfc4880> https://tools.ietf.org/html/rfc4880) type of keys.

In particular I would be interested in a JWK representation of OpenPGP type of keys representing an asymmetric key to which a session key was encrypted to. This is following section "5.1.  Public-Key Encrypted Session Key Packets (Tag 1)" ( <https://tools.ietf.org/html/rfc4880#page-17> https://tools.ietf.org/html/rfc4880#page-17). In JWK format this could look like this:

{
"kty": "OpenPGP"
"kid": "0x1234567890abcdef",
"ver": 3,
}

Other representations of OpenPGP types of keys are those typical for public and private keys, though it's not clear whether RSA for example then should be some form of subtype of PGP.

Regards,
   Stefan Berger