Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 1727 invoked from network); 24 Aug 2006 06:55:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Aug 2006 06:55:40 -0000 Received: (qmail 20792 invoked by uid 500); 24 Aug 2006 06:54:21 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 20754 invoked by uid 500); 24 Aug 2006 06:54:21 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 20707 invoked by uid 99); 24 Aug 2006 06:54:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 23:54:21 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 23:54:16 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6D10371430D for ; Thu, 24 Aug 2006 06:51:08 +0000 (GMT) Message-ID: <10582550.1156402268444.JavaMail.jira@brutus> Date: Wed, 23 Aug 2006 23:51:08 -0700 (PDT) From: "Vamsavardhana Reddy (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Assigned: (GERONIMO-2280) FileKeystoreInstance.getKeyManager() fails when there is more than one privatekey in the store In-Reply-To: <31931206.1154787793865.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GERONIMO-2280?page=all ] Vamsavardhana Reddy reassigned GERONIMO-2280: --------------------------------------------- Assignee: Alan Cabrera (was: Vamsavardhana Reddy) > FileKeystoreInstance.getKeyManager() fails when there is more than one privatekey in the store > ---------------------------------------------------------------------------------------------- > > Key: GERONIMO-2280 > URL: http://issues.apache.org/jira/browse/GERONIMO-2280 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: security > Affects Versions: 1.1 > Reporter: Vamsavardhana Reddy > Assigned To: Alan Cabrera > Fix For: 1.2, 1.1.2 > > Attachments: GERONIMO-2280.patch > > > FileKeystoreInstance.getKeyManager() fails when there is more than one privatekey in the store. > Scenario 1: The method will throw UnrecoverableKeyException if the all the private key entries in the keystore do not have the same password (as the entry of our interest). > Scenario 2: Even if all the private key entries have the same password and the method returns a KeyManager, there is no control on which enrty will be used. > To overcome this, a temporary keystore (I call it a SubKeystore) can be generated and initialized with the entry corresponding to the alias and used to init the KeyManagerFactory. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira