tplehman / keytool-iui

Automatically exported from code.google.com/p/keytool-iui
0 stars 0 forks source link

Opening a keystore file without extension returns an error #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to any option that opens a dialog to select an keystore file (ex: "tools 
-> Keystore manager -> JKS keystore");
2. On "File type" select "All files";
3. Select an keystore file without extension (ex.: 
"<JDK_DIR>/jre/lib/security/cacerts");
4. User gets an error

What is the expected output? What do you see instead?

As it is a valid keystore, the file should have been opened. This is a much 
bigger problem because the JDK's truststore have no extension.

Please use labels and text to provide additional information.

cacerts, extension, 

Original issue reported on code.google.com by rcsilv...@gmail.com on 7 Apr 2011 at 4:03

GoogleCodeExporter commented 8 years ago
I'll disable the extension validation.

Original comment by rcsilv...@gmail.com on 7 Apr 2011 at 4:04

GoogleCodeExporter commented 8 years ago
Commited on revision 107. I've tested on various files (including invalid ones) 
and various file types but someone should test it.

Original comment by rcsilv...@gmail.com on 7 Apr 2011 at 4:13