Bug 102326 - Feature and Fragment Export JarSigning dialog needs keypass field.
Summary: Feature and Fragment Export JarSigning dialog needs keypass field.
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M6   Edit
Assignee: Chris Aniszczyk CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on: 100534 219832
Blocks:
  Show dependency tree
 
Reported: 2005-06-30 10:34 EDT by Ted Habeck CLA
Modified: 2009-02-24 17:50 EST (History)
2 users (show)

See Also:


Attachments
org.eclipse.pde.patch (6.71 KB, patch)
2009-02-24 17:43 EST, Chris Aniszczyk CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ted Habeck CLA 2005-06-30 10:34:06 EDT
Java keystores ( JKS, JCEKS format), and keytool allow for creating signing
certificates with a keypass.   If a signing certificate has been stored in the
keystore with a keypass, it can not be used for signing with the present
implementation.   The keypass field value can be optionally supplied (i.e. can
be left blank if the associated keyEntry value has not been stored with a keypass).

Please add a keypass field to the JarSigning Wizard page, and update any ant
build templates as specified in "Bugzilla Bug 100534 Support for jarsigning in
PDE scripts".
Comment 1 Chris Aniszczyk CLA 2009-02-24 16:54:36 EST
Andrew, from a PDE UI prov, what do we need to do here to support a keypass?
Comment 2 Andrew Niefer CLA 2009-02-24 17:16:35 EST
FeatureExportOperation#createAntBuildProperties
fAntBuildProperties.put("sign.keypass", theKeyPass);

If you want constants, they are
IXMLConstants.PROPERTY_SIGN_ALIAS = "sign.alias"; 
IXMLConstants.PROPERTY_SIGN_KEYSTORE = "sign.keystore"; 
IXMLConstants.PROPERTY_SIGN_STOREPASS = "sign.storepass";
IXMLConstants.PROPERTY_SIGN_KEYPASS = "sign.keypass"; 
Comment 3 Chris Aniszczyk CLA 2009-02-24 17:43:55 EST
Created attachment 126637 [details]
org.eclipse.pde.patch

Here's a patch that adds a UI item for this and hooks up with PDE Build.

Anyone have recommendations on what to call this new field?

"Keypass" is in the winner so far.
Comment 4 Chris Aniszczyk CLA 2009-02-24 17:50:39 EST
done.

> 20090224