ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57954] Unable to read encrypted values from properties file
Date Thu, 11 Jun 2015 07:00:08 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=57954

--- Comment #9 from Jan Mat <jan@materne.de> ---
If you store encrypted values in a properties file you cant mix encrypted+plain
values in one file without additional to specify which values are encrypted.
<property file="">
  <encrypted-values prefix="encrypted"/>
  <encrypted-values match=".*\.md5$"/>
  ...

Having different encryption algorithm would encrease that amount of work.


Another approach is having a Decrypt/EncryptFilter, so you could load one
value.
<loadfile property="password" srcFile="encrypted">
  <filterchain>
    <decrypt algorithm="base64"/>

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message