This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Support passwords/passphrases for individual entries in keystores | ||
---|---|---|---|
Product: | javacard | Reporter: | _ tboudreau <tboudreau> |
Component: | Java Card | Assignee: | _ tboudreau <tboudreau> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | ankinelaturu |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 170646, 170656 |
Description
_ tboudreau
2009-08-19 17:34:33 UTC
There is a property "sign.bundle" which is set to true/false based on the checkbox selected in the security tab of project properties. ${keystore.resolved} contains the file selected. We need more information storepass : password for the keystore alias : alias (of the private key and certificate) name in the keystore passkey : password to read the info in the alias. How about the property names as following sign.storepass sign.alias sign.passkey I'll try to change the build script/ant tasks to use these properties. Note: A keystore can have more than one aliases. each is identified using a simple string. And each alias is protected by a password. Think that keystore file is a database of aliases. There will be a password for the keysotre itself and another password for each alias. The UI should accpet this information. Nice to have: We can populate all aliases from a keystore and use a dropdown box to select one. To populate the aliases storepassword needs to be entered and then we need to refresh the list. To store the password I go with the option 4 or 5. May be 4 seems to be easy enough. BASE64 is not a strong protective thing anyway. No point to get ourself doing encoding/decoding int ant build or somewhere. And this kind of signing is only for RI. Fixed in changeset 250b7f20de16 - build-script support (issue 171017 pending). Integrated into 'main-golden', will be available in build *200908311509* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/250b7f20de16 User: Tim Boudreau <tboudreau@netbeans.org> Log: #170647, #170650, #170652 - project properties support for keystore alias and master/alias password. Build script support pending. |