]
Darran Lofthouse commented on WFWIP-376:
----------------------------------------
Adding to my priorities as should be a simple fix to report a more meaningful error.
The error message from import-secret-key on credential store should
be more helpful
-----------------------------------------------------------------------------------
Key: WFWIP-376
URL:
https://issues.redhat.com/browse/WFWIP-376
Project: WildFly WIP
Issue Type: Bug
Components: Security
Reporter: Ondrej Kotek
Assignee: Darran Lofthouse
Priority: Critical
The error message from the {{import-secret-key}} operation on the {{credential store}}
resourece should be more helpful when importing invalid key (truncated in this case)
{noformat}
[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
}
{noformat}