So, right now I am using a stand-alone Jasypt command-line utility to encrypt
my properties, which, of course, implies that I have a separate Jasypt
distribution downloaded. Wouldn't it make sense to provide this
functionality inside the Karaf shell (unless I am missing something that is
already there) that goes along with the/ jasypt-encryption/ feature? If only
to ensure library consistencies and not require the users to download
separate distributions of Jasypt to encrypt things while Jasypt is already
provided by Karaf? 

For example, instead of downloading Jasypt and doing:

<JASYPT-HOME>\bin>encrypt.bat input="plaintext value"
algorithm=PBEWithMD5AndDES password=pwd

one could do something like this in Karaf shell (with the jasypt-encryption
feature activated):

*karaf@root()>* *jasypt:encrypt* input="plaintext value"
algorithm=PBEWithMD5AndDES password=pwd





--
View this message in context: 
http://karaf.922171.n3.nabble.com/Encrypting-values-for-properties-tp4033405p4033423.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to