karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Encrypting property values in .cfg files
Date Tue, 06 Nov 2018 05:01:54 GMT
Hi Scott,

You want to use it blueprint, SCR or directly ConfigAdmin ?

If you use the {enc:} format, it should work at least with blueprint
jasypt namespace.

For a generic way, we have a Jira about that. Basically, it would be a
ConfigListener to do intercepting the {enc:} prefix in property values.
I can work on this one.


On 05/11/2018 23:25, Leschke, Scott wrote:
> I’m looking to encrypt passwords the are currently in plaintext in a few
> of my .cfg files.  I’ve looked at how to do that and it seemed
> reasonably straightforward although I’ve had some difficulty getting it
> working.  I’m wondering if there’s anything that prevents me from just
> supplying a service myself that implements the
> */org.jasypt.encryption.StringEncryptor/* interface rather than using
> the Karaf jasypt-encryption service.
> I’ve tried it but that doesn’t seem to want to work either so I’m
> wondering if there’s a reason it doesn’t.
> Scott

Jean-Baptiste Onofré
Talend - http://www.talend.com

View raw message