You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, jasypt encryptor is fixed to new RandomIvGenerator().
Would be great to have an option to choose IvGenerator class when creating the encryptor.
At least among RandomIvGenerator (default) and NoIvGenerator (optionally changed in the config).
Suggestion for a new property: smallrye.config.secret-handler.jasypt.iv-generator.enabled
Default value: true
When nothing is set then the legacy behavior is in action: encryptor.setIvGenerator(new RandomIvGenerator());
and in case when new property set to false then the line above replaced with: encryptor.setIvGenerator(new NoIvGenerator());
The text was updated successfully, but these errors were encountered:
smallrye-config/utils/jasypt/src/main/java/io/smallrye/config/jasypt/JasyptSecretKeysHandler.java
Line 16 in b39e112
At the moment, jasypt encryptor is fixed to
new RandomIvGenerator()
.Would be great to have an option to choose IvGenerator class when creating the encryptor.
At least among
RandomIvGenerator
(default) andNoIvGenerator
(optionally changed in the config).Suggestion for a new property:
smallrye.config.secret-handler.jasypt.iv-generator.enabled
Default value:
true
When nothing is set then the legacy behavior is in action:
encryptor.setIvGenerator(new RandomIvGenerator());
and in case when new property set to
false
then the line above replaced with:encryptor.setIvGenerator(new NoIvGenerator());
The text was updated successfully, but these errors were encountered: