Have also tried setting the combinations of these
jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator
Default algorithm : jasypt.encryptor.algorithm=PBEWithMD5AndDES
jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator
org.jasypt.salt.RandomSaltGenerator
with/out provider and classname.
it was working with 2.1.x and jasypt 1.18,
The provider as BC, clasname : org.bouncycastle.jce.provider.BouncyCastleProvider
jasypt.encryptor.algorithm=${encryption_algorithm:PBEWITHSHAAND256BITAES-CBC-BC}
jasypt.encryptor.provider=BC
we upgraded spring boot version to 2.7.7 from 2.1.x , when we use
spring.datasource.password=${datasource_password:ENC(xxxxxxxxxxxxxxxx)} it fails to get a DBconnection.
However, with clear text in password, it works.
Did some search on the web and tried most of the suggestions as below:
jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator org.jasypt.salt.RandomSaltGenerator
it was working with 2.1.x and jasypt 1.18, The provider as BC, clasname : org.bouncycastle.jce.provider.BouncyCastleProvider jasypt.encryptor.algorithm=${encryption_algorithm:PBEWITHSHAAND256BITAES-CBC-BC} jasypt.encryptor.provider=BC
Any pointers on this are highly appreciated.