[jose] JWK defining format for OpenPGP type of keys

"Stefan Berger" <stefanb@us.ibm.com> Wed, 12 September 2018 17:46 UTC

Return-Path: <stefanb@us.ibm.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 CC641130E52 for <jose@ietfa.amsl.com>; Wed, 12 Sep 2018 10:46:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.5
X-Spam-Level:
X-Spam-Status: No, score=-1.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, HTML_MIME_NO_HTML_TAG=0.377, MIME_HTML_ONLY=0.723, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=no 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 RHrKiOsXeKSc for <jose@ietfa.amsl.com>; Wed, 12 Sep 2018 10:46:15 -0700 (PDT)
Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (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 5B0831293FB for <jose@ietf.org>; Wed, 12 Sep 2018 10:46:15 -0700 (PDT)
Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w8CH8TEb072798 for <jose@ietf.org>; Wed, 12 Sep 2018 13:11:46 -0400
Received: from smtp.notes.na.collabserv.com (smtp.notes.na.collabserv.com [158.85.210.119]) by mx0b-001b2d01.pphosted.com with ESMTP id 2mf68j9xpq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <jose@ietf.org>; Wed, 12 Sep 2018 13:11:46 -0400
Received: from localhost by smtp.notes.na.collabserv.com with smtp.notes.na.collabserv.com ESMTP for <jose@ietf.org> from <stefanb@us.ibm.com>; Wed, 12 Sep 2018 17:11:45 -0000
Received: from us1b3-smtp04.a3dr.sjc01.isc4sb.com (10.122.203.161) by smtp.notes.na.collabserv.com (10.122.182.123) with smtp.notes.na.collabserv.com ESMTP; Wed, 12 Sep 2018 17:11:44 -0000
Received: from us1b3-mail155.a3dr.sjc03.isc4sb.com ([10.160.174.76]) by us1b3-smtp04.a3dr.sjc01.isc4sb.com with ESMTP id 2018091217114342-777291 ; Wed, 12 Sep 2018 17:11:43 +0000
In-Reply-To:
From: Stefan Berger <stefanb@us.ibm.com>
To: jose@ietf.org
Date: Wed, 12 Sep 2018 17:11:43 +0000
Sensitivity:
References:
MIME-Version: 1.0
Importance: Normal
X-Priority: 3 (Normal)
X-Mailer: IBM Verse Build 16007-1287 | IBM Domino Build SCN1812108_20180501T0841 May 01, 2018 at 08:41
X-KeepSent: E886919E:A2DD2B80-00258306:005E64A7; type=4; name=$KeepSent
X-LLNOutbound: False
X-Disclaimed: 53363
X-TNEFEvaluated: 1
X-LLNXfer: False
x-cbid: 18091217-6115-0000-0000-000003E7D37C
X-IBM-SpamModules-Scores: BY=0; FL=0; FP=0; FZ=0; HX=0; KW=0; PH=0; SC=0.428813; ST=0; TS=0; UL=0; ISC=; MB=0.001141
X-IBM-SpamModules-Versions: BY=3.00009708; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000266; SDB=6.01087320; UDB=6.00561457; IPR=6.00867333; BA=6.00006098; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00023256; XFM=3.00000015; UTC=2018-09-12 17:11:45
X-IBM-AV-DETECTION: SAVI=unsuspicious REMOTE=unsuspicious XFE=unused
X-IBM-AV-VERSION: SAVI=2018-09-12 14:46:24 - 6.00008957
x-cbparentid: 18091217-6116-0000-0000-000068FED56D
Message-Id: <OFE886919E.A2DD2B80-ON00258306.005E64A7-00258306.005E7508@notes.na.collabserv.com>
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-09-12_09:, , signatures=0
X-Proofpoint-Spam-Reason: safe
Archived-At: <https://mailarchive.ietf.org/arch/msg/jose/cxoYqwHgtJYKo9TUOnVHtpHSfeU>
Subject: [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 17:46:17 -0000

Hello!

I was wondering whether it would be possible to define a JWK format for OpenPGP (RFC 4480, https://tools.ietf.org/html/rfc4880" rel="noopener nofollow" target="_blank">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" rel="noopener nofollow" target="_blank">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