ulisesbocchio / jasypt-spring-boot

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

Consider providing maven-plugin features as a standalone jar #309

Open mikomatic opened 2 years ago

mikomatic commented 2 years ago

I use the maven-plugin features to encrypt and decrypt entires property files on my local environnent, it works wonders.

I would find useful to have the same functionality as a standalone jar (or a picocli app), something like

java -jar jasypt-tool encrypt --file /path/to/application.properties --password secret --algorithm PBEWithMD5AndDES

This would be very helpful for automation scenarios were maven is not available and the jasypt CLI Tools does not offer encyption/decryption of whole files using prefix/suffix functionality.

Most of the logic is already present in EncryptionService and FileService, so my take is that it can bring more power to the users.

Regadless of the outcome of this issue: thank you for providing this great integration.