[jboss-jira] [JBoss JIRA] (ELY-1093) CS tool, When we try to find out if alias exists in non-existent credential store storage file then we get success message.

Hynek Švábek (JIRA) issues at jboss.org
Wed Apr 19 09:24:00 EDT 2017


Hynek Švábek created ELY-1093:
---------------------------------

             Summary: CS tool, When we try to find out if alias exists in non-existent credential store storage file then we get success message.
                 Key: ELY-1093
                 URL: https://issues.jboss.org/browse/ELY-1093
             Project: WildFly Elytron
          Issue Type: Bug
            Reporter: Hynek Švábek
            Assignee: Darran Lofthouse


When we try to find out if alias exists in non-existent credential store storage file then we get success message.

There is expected error message rather then success with information that Alias does not exist.

*How to reproduce:*
{code}
java -jar  wildfly-elytron-tool.jar credential-store --exists secret_alias --password pass1234 --uri "cr-store:///tmp/non-existent-file.jceks?modifiable=true;create=true;keyStoreType=JCEKS" 
Alias "secret_alias" does not exist
{code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list