SVT: Improve error message when password cannot be decrypted #29616
Labels
Acknowledged
An initial response has been provided. Remove the 'Needs member attention' label.
release bug
This bug is present in a released version of Open Liberty
serviceability
Label used to track serviceability related issues
team:Core Security
Describe the bug
A clear and concise description of what the bug is.
I am testing custom AES key as the feature is added to WebSphere/Open Liberty Operator.
I tried incorrect AES password which is not encrypted with provided AES key and I see below exceptions during startup and when accessing DB2. I think these exceptions are not clear and need to be updated. We need to clearly mentioned that password could not decrypted: AES algorithm is known to Liberty.
Steps to Reproduce
Steps to reproduce the bug
I saw the problem for Liberty application deployed in OCP cluster but it is equivalent to below steps:
[9/9/24, 20:55:20:285 UTC] 0000001e com.ibm.websphere.crypto.PasswordUtil E CWWKS1856E: The password was not processed because an unknown password algorithm exception was reported.
Expected behavior
A clear and concise description of what you expected to happen.
We need improved exception which says that provided password cannot be decrypted instead of
unknown password algorithm
Diagnostic information:
java -version
]$WLP_OUTPUT_DIR/messages.log
Liberty version 24.0.0.8
Eclipse OpenJ9 VM, version 17.0.8.1+1 (en_US)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: