ulisesbocchio / jasypt-spring-boot

Jasypt integration for Spring boot
MIT License
2.91k stars 522 forks source link

jasypt:decrypt fails with Yaml file #288

Closed henka-rl closed 1 year ago

henka-rl commented 3 years ago

When trying to decrypt application.yml with mvn jasypt:decrypt -Djasypt.encryptor.password="{password}" -Djasypt.plugin.path="file:src/main/resources/application.yml" it fails with this error: Error Decrypting: null: EncryptionOperationNotPossibleException

mvn jasypt:encrypt -Djasypt.encryptor.password="{password}" -Djasypt.plugin.path="file:src/main/resources/application.yml" works just fine

ulisesbocchio commented 3 years ago

what type of encryption are you using? symmetric or asymmetric?

henka-rl commented 3 years ago

I run the command again today and now it works just fine...