views:

29

answers:

1

I need to store authentication information and I rather not have the password in plain text:

<property name="user"      value="theUser"/>  
<property name="password"  value="secret"/>

Has anyone figured out a way to encrypt property values in Nant?
I've looked in Nant and Nantcontrib docs but no mention of encryption. I am considering going the route of creating my own Nant Task.

Any suggestions?

+1  A: 

Not exactly what You asked for but here is a similar SO question dealing with passwords in NAnt. The accepted answer presents a solution that prompts for passwords interactively.

The Chairman
yea, not really what I am looking for. Prompting a password defeats the purpose of the automation process. Thanks for trying though :)
Diego C.