jasypt-maven-plugin: Incorrect documentation
See original GitHub issueHi @rupert-madden-abbott and @ulisesbocchio, first off, thank you for providing a maven plugin for encrypting/decrypting secrets with jasypt. This is my first time using the plugin or Jasypt for that matter. So the feedback I am sharing below is from the context of a new user of your project(s).
Having said that, I am not entirely sure if you actually tested the documentation you provided for the public in the README related to using the jasypt-maven-plugin for string encryption/decryption purposes.
Here are a few issues I am running into:
- I did not find any 2.1.2 version of the plugin. I had to look at the plugin code, to figure out the correct version is
3.0.0
. - There is no encrypt:encrypt goal available. The correct goal from the code is
jasypt:encrypt
. - The plugin doesn’t appear to support multi-profile yaml documents (introduced almost 3 years ago), which is what I use in my project. If multi-profile yaml isn’t supported, it should be called out in the README.
- If the lack of support for multi-profile yaml is indeed true, I don’t see a section in the README that explains how one can actually encrypt secrets in the first place. Is the solution then to use the
jasypt-1.9.3.jar
to encrypt secrets and use yourspring-boot
orspring-boot-starter
dependencies to decrypt already encrypted secrets? As said above, this is feedback coming from a first-time user. So if this is assumed all along, it would be good to mention in the README.
If you believe the issues I have listed above are inaccurate, please share or point me to an example of using the plugin to encrypt/decrypt secrets in multi-profile yaml documents.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Java simplified encryption - Frequently Asked Questions - Jasypt
I want to encrypt passwords and I know NOTHING about encryption. What do I have to do? Can I decrypt an encrypted password?...
Read more >Chapter 9. Issues Resolved in Fuse 7.0
karaf-maven-plugin does not prefix non-bundles with the wrap: prefix when generating a ... Update Kar documentation ... Document jasypt property placeholder.
Read more >https://svn.apache.org/repos/asf/karaf/attic/karaf...
[KARAF-392] - Ability to use features-maven-plugin:add-features-to-repo without ... Incorrect behavior of backspace/delete keys in web console Gogo plugin ...
Read more >Error resolving version for plugin 'org.apache.maven.plugins ...
I had the same error, but for the maven-failsafe-plugin . With the help of a colleague, we got rid of the problem adding...
Read more >How to encrypt passwords in a Spring Boot project using Jasypt
Jasypt (Java Simplified Encryption), provides encryption support for ... Add maven dependency of jasypt: In the pom.xml file, add maven ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@prakashiit yes you are correct that this is a typo. It looks like PR #196 already fixes this one.
Remove Extra ‘/’ in filepath in Readme.md
@ulisesbocchio I faced this small problem while following the guide at “https://github.com/ulisesbocchio/jasypt-spring-boot/blob/master/README.md#file-path”. For example, running
didn’t work and after I changed the path to
-Djasypt.plugin.path="file:src/main/resources/application.yml"
(removed/
beforesrc
), it worked perfectly. I’m not sure whether this was a typo in the readme or mine is just a unique case. Please correct if this was a typo, apologies if it’s the latter. Thanks a lot for this plugin though!