Jasypt Users Forum

 « Return to Thread: Applicaton COnfig file encryption

Applicaton COnfig file encryption

by demaximus :: Rate this Message:

Reply to Author | View in Thread

Hi All,
I am using JASYPT's EncryptableProperties for reading and decryoting properties files in my application. To do this we have to use a password for encrypting the values using th CLI and then use the same password to create an encryptor and pass it to the EncryptableProperties for decrypting the values while they are got form the properties file.

My questions is -- We have a need where we want to deploy our application in to a hosting environement and the properties used by our application might change due to that . The hosting providers have their own properties. In order for them to be able to encrypt the properties we would need to share the password used by the CLI to encrypt the values or they will have to give use the properrtieis to be encrypted and we would have to do the encryption. either way we are compromising information.  
Is there a solution by which we can provide them with some sort of a tool that they can call to encryot their data and not know the password or some other alternative that would allow us to provide a service or something like that which would encrypt the values for them.

 « Return to Thread: Applicaton COnfig file encryption