Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-23015

[QE](7.4.z) Can't write/acquire credentials from a store using the elytron-tool script

    XMLWordPrintable

Details

    Description

      Trying to use the elytron-tool script to work with credentials from a credential store results in an exception similar (based on the actual operation) to this

      Exception encountered executing the command:
      org.wildfly.security.credential.store.CredentialStoreException: ELY09508: Cannot write credential to store
          at org.wildfly.security.credential.store.impl.KeyStoreCredentialStore.store(KeyStoreCredentialStore.java:412)
          at org.wildfly.security.credential.store.CredentialStore.store(CredentialStore.java:242)
          at org.wildfly.security.credential.store.CredentialStore.store(CredentialStore.java:226)
          at org.wildfly.security.tool.CredentialStoreCommand.addAlias(CredentialStoreCommand.java:502)
          at org.wildfly.security.tool.CredentialStoreCommand.execute(CredentialStoreCommand.java:415)
          at org.wildfly.security.tool.ElytronTool.main(ElytronTool.java:84)
          at org.jboss.modules.Module.run(Module.java:353)
          at org.jboss.modules.Module.run(Module.java:321)
          at org.jboss.modules.Main.main(Main.java:617)
      Caused by: java.security.NoSuchAlgorithmException: ELY08028: Invalid algorithm "clear"
          at org.wildfly.security.password.PasswordFactory.getInstance(PasswordFactory.java:122)
          at org.wildfly.security.credential.store.impl.KeyStoreCredentialStore.store(KeyStoreCredentialStore.java:286)
          ... 8 more
      
      

      There are no providers registered, so the PasswordFactory#getInstance method just immediately throws an exception.

      This is a regression against EAP 7.4.2.GA, probably caused by JBEAP-22793.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-lgao Lin Gao
              pmackay@redhat.com Peter Mackay
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: