Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5296

The error message from import-secret-key on (secret-key-)credential-store should be more helpful

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 15.0.0.Final
    • None
    • Security
    • None

      The error message from the import-secret-key operation on the credential-store and secret-key-credential-store resources should be more helpful when importing invalid key (truncated in this case)

      [standalone@localhost:9990 /] /subsystem=elytron/credential-store=a:import-secret-key(alias=a2,key=RUxZA)
      {
          "outcome" => "failed",
          "failure-description" => "COM00501: Expected padding",
          "rolled-back" => true
      }
      

      The same message appears when loading a file with a corrupted key.

            darran.lofthouse@redhat.com Darran Lofthouse
            okotek@redhat.com Ondrej Kotek
            Ondrej Kotek Ondrej Kotek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: