You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by vi...@wipro.com on 2014/08/08 09:24:03 UTC

Using encrypted passwords in config file managed by config-admin

Using Karaf 3.0.1. In my application deployed in karaf as OSGi service, I am storing database passwords in properties files managed config-admin service. Does config-admin support reading encrypted files ? Topic [1] says that it is not supported. Just wanted to know if its same case in version 3.0.1 also ?

[1] http://karaf.922171.n3.nabble.com/Encryption-of-passwords-td3632948.html

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com

Re: Using encrypted passwords in config file managed by config-admin

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Vinaj,

ConfigAdmin doesn't yet support encrypted values "out of the box".

We are evaluating a solution to reuse the mechanism that we use for user 
(in users.properties) when encryption is enabled.
The idea is to use a prefix on a value (like {CRYPT}) to identify the 
encrypted values.
There is no plan for a release including it for now (I have a PoC quite 
ready).

Regards
JB

On 08/08/2014 09:24 AM, vinuraj.maroli@wipro.com wrote:
> Using Karaf 3.0.1. In my application deployed in karaf as OSGi service,
> I am storing database passwords in properties files managed config-admin
> service. Does config-admin support reading encrypted files ?Topic [1]
> says that it is not supported. Just wanted to know if its same case in
> version 3.0.1 also ?
>
> [1]http://karaf.922171.n3.nabble.com/Encryption-of-passwords-td3632948.html
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s)
> and may contain proprietary, confidential or privileged information. If
> you are not the intended recipient, you should not disseminate,
> distribute or copy this e-mail. Please notify the sender immediately and
> destroy all copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com