Community
Participate
Working Groups
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".
Andrew, from a PDE UI prov, what do we need to do here to support a keypass?
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";
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.
done. > 20090224