Re: [jose] JPSK: JWKs with private RSA/EC params only?

Justin Richer <jricher@mitre.org> Mon, 18 March 2013 18:47 UTC

Return-Path: <jricher@mitre.org>
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 3B6F421F9077 for <jose@ietfa.amsl.com>; Mon, 18 Mar 2013 11:47:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.732
X-Spam-Level:
X-Spam-Status: No, score=-4.732 tagged_above=-999 required=5 tests=[AWL=1.867, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ByvkclnzewGp for <jose@ietfa.amsl.com>; Mon, 18 Mar 2013 11:47:47 -0700 (PDT)
Received: from smtpksrv1.mitre.org (smtpksrv1.mitre.org [198.49.146.77]) by ietfa.amsl.com (Postfix) with ESMTP id 05F8521F8FFA for <jose@ietf.org>; Mon, 18 Mar 2013 11:47:47 -0700 (PDT)
Received: from smtpksrv1.mitre.org (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 980AA1F0659; Mon, 18 Mar 2013 14:47:46 -0400 (EDT)
Received: from IMCCAS02.MITRE.ORG (imccas02.mitre.org [129.83.29.79]) by smtpksrv1.mitre.org (Postfix) with ESMTP id 68D661F062A; Mon, 18 Mar 2013 14:47:46 -0400 (EDT)
Received: from [10.146.15.29] (129.83.31.58) by IMCCAS02.MITRE.ORG (129.83.29.79) with Microsoft SMTP Server (TLS) id 14.2.342.3; Mon, 18 Mar 2013 14:47:46 -0400
Message-ID: <514760FF.7070101@mitre.org>
Date: Mon, 18 Mar 2013 14:46:23 -0400
From: Justin Richer <jricher@mitre.org>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130221 Thunderbird/17.0.3
MIME-Version: 1.0
To: Vladimir Dzhuvinov / NimbusDS <vladimir@nimbusds.com>
References: <20130318024001.cc40c4f3d92d2001859047cd8cabb9ab.36405e633c.wbe@email07.europe.secureserver.net>
In-Reply-To: <20130318024001.cc40c4f3d92d2001859047cd8cabb9ab.36405e633c.wbe@email07.europe.secureserver.net>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [129.83.31.58]
Cc: jose@ietf.org
Subject: Re: [jose] JPSK: JWKs with private RSA/EC params only?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 18 Mar 2013 18:47:57 -0000

For what it's worth, my reading of the spec was that a JWK would be a 
keypair or a public key, but never just the private key on its own. 
(Symmetric keys are their own thing, of course.)

  -- Justin

On 03/18/2013 05:40 AM, Vladimir Dzhuvinov / NimbusDS wrote:
> Hi guys,
>
> Justin and I began an implementation of
> draft-jones-jose-json-private-and-symmetric-key-00 for the Nimbus
> library. We're now able to represent the regular public RSA/EC JWKs as
> well as JWKs that contain both public+private RSA/EC params. Does the
> draft also envision JWK objects which include only private key
> parameters? I.e. a JWK object for the public params and then another for
> the private params? My reading of the spec couldn't answer this
> question. Please advise.
>
> Thanks,
>
> Vladimir
> --
> Vladimir Dzhuvinov : www.NimbusDS.com : vladimir@nimbusds.com
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose