Closed diegonobrega closed 1 year ago
yep, same, really not sure what the current version is...
Having the same problem here with Spring Boot 2.6.11 and Jasypt Spring Boot 3.0.4. Defaults never worked. I had to set the following to application.properties:
jasypt.encryptor.password=${JASYPT_PASSWORD:XXXX}
jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator
jasypt.encryptor.algorithm=PBEWithMD5AndTripleDES
It didn't even worked passing jasypt.encryptor.password
any other way (eg. using -D switch).
Plase make defaults work with recent versions of Spring Boot and Java 8/11.
3.0.5 is out. Reopen if still an issue
Hello. I know that this problem already is knowed but I literally followed all suggestions but even that I couldn't fix this yet. I'm using Java 11, Spring Boot 2.5.6. Could the reason for that be the Spring Boot version? The readme project file says that it supports until the 2.0.x version.
I followed all sugestions from this Issue: https://github.com/ulisesbocchio/jasypt-spring-boot/issues/154/ and specially this one: 154/#issuecomment-776315949
I just encrypted the plain text using >
encrypt.bat input="myinput" password=mypassword algorithm=PBEWithMD5AndTripleDES
. After that I added the gradle dependence of the 3.0.4 version and put the output generated in the application.properties file:After that I started the Spring Boot app with embedded Tomcat and I can see this in the console (what means that the dependence was recognized) but the error blows up failed to bind properties under.. to java.lang.String:
The problem is the version right? Because I run a lot of tutorials and that #154 Issue completely and even that couldnt solve this :(