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.

Bug 171018 - Provide combobox list of available keystore aliases
Summary: Provide combobox list of available keystore aliases
Status: NEW
Alias: None
Product: javacard
Classification: Unclassified
Component: Java Card (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: onkentes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-27 17:02 UTC by _ tboudreau
Modified: 2012-08-01 08:41 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2009-08-27 17:02:17 UTC
Have project.properties show a list of available keystore aliases in a combo box when a new keystore file is selected
and that file exists.

Note:  Should update the combo box model in a background thread while disabling the UI to do the I/O required to read
the keystore file.

Anki:  If you happen to have Java code lying around for extracting this list from a keystore, or generally know where to
start, you could probably save me an hour or two of research - I've never needed to use Java's encryption APIs this way
before, so I'd have to dig around to figure out how to do this.
Comment 1 ankinelaturu 2009-08-28 18:39:34 UTC
Check this out

http://www.exampledepot.com/egs/java.security/ListAliases.html

One thing to note is -- storepass is required to even open th keystore file :)
Comment 2 _ tboudreau 2009-09-11 05:28:11 UTC
Okay.  If a password is needed but not in nbproject/private/private.properties (perhaps a user who does not want this
info saved on disk), probably the build script should ask for it using stdin - this should work fine in NetBeans' output
window.
Comment 3 _ tboudreau 2011-05-26 01:59:28 UTC
Reassigning a bunch of bugs still assigned to me - I haven't worked for Oracle in almost a year.
Comment 4 _ tboudreau 2011-05-26 02:44:44 UTC
Uy... I *am* the default assignee for javacard...
Comment 5 J Bachorik 2012-08-01 08:41:50 UTC
changing owner