ELY03029: No such key algorithm "PBEWithMD5AndDES"

68 views
Skip to first unread message

Nate

unread,
Jun 16, 2023, 3:15:16 PM6/16/23
to WildFly
I am trying to mask and unmask values in my standalone.xml with WildFly 26.1.3 on a FIPS enabled system. I get the following error:
       
java.lang.IllegalArgumentException: ELY03029: No such key algorithm "PBEWithMD5AndDES"
                at org.wildfly.security.util.PasswordBasedEncryptionUtil$Builder.deriveSecretKey(PasswordBasedEncryptionUtil.java:541)
                at org.wildfly.security.util.PasswordBasedEncryptionUtil$Builder.build(PasswordBasedEncryptionUtil.java:594)

They only (non-FIPS compliant) workaround I have found is to use the following flag when configuring and starting WildFly:
 -Djava.security.disableSystemPropertiesFile=true

Can you suggest a FIPS compliant workaround?

Thanks,
Nate

Diana Krepinska

unread,
Jun 19, 2023, 9:59:18 AM6/19/23
to WildFly
Hello Nate, the masking and unmasking of values is only an obfuscation which is not FIPS compliant. If you are looking for a FIPS compliant solution, you should check out the encrypted expression support instead.
Reply all
Reply to author
Forward
0 new messages