Re: Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-20 Thread Antoine Levy-Lambert
<[EMAIL PROTECTED]> An: Ant Users List Betreff: Re: Ant tasks to encrypt or decrypt passwords from property files > Dominique Devienne wrote: > >> we would be interested in encrypting. > > > > > > But then it's a chicken-and-egg problem, no? > > &g

Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-20 Thread Antoine Levy-Lambert
Hello Alexey, I have written something based on your code. Actually, I wrote an ant task to create the key first. I wanted to create filters (pluggable into filterchains) to encrypt and decrypt, but I do not get that to work. I might do an ant task to encrypt and a sort of loadproperties clone whi

Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-20 Thread Steve Loughran
Dominique Devienne wrote: we would be interested in encrypting. But then it's a chicken-and-egg problem, no? Where are you going to store the passwords to decrypt the passwords read from properties files? --DD I keep my password properties out of SCM, in a bit of the filesystem that is NT

Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread danch
And if you can keep the keystore secret and protected, couldn't you keep the password secret and protected? Dominique Devienne wrote: OK, I see your point, although the key store has to remain 'secret' somehow, using file-system dependent permissions I guess, otherwise it's exposed as well. --D

Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread danch
The classic response to the classic topic: if you can protect the decryption key adequately, why not simply protect the password adequately? Using encryption to enhance data security isn't a simple matter of "turning it on" - you have to consider these sorts of issues or all you'll be doing is

RE: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread Anderson, Rob (Global Trade)
t Users List > Subject: Re: Ant tasks to encrypt or decrypt passwords from > property files > > This can be done by requiring a key store in user home. Only > people that have some special certificates, can > encrypt/decrypt date (SSH style security). The decryption can >

Re: Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread Antoine Levy-Lambert
passphrases by agents is supported by BouncyCastle. Regards, Antoine Original-Nachricht Datum: Mon, 19 Jun 2006 13:20:26 -0700 Von: "Alexey N. Solofnenko" <[EMAIL PROTECTED]> An: Ant Users List Betreff: Re: Ant tasks to encrypt or decrypt passwords from property f

Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread Dominique Devienne
OK, I see your point, although the key store has to remain 'secret' somehow, using file-system dependent permissions I guess, otherwise it's exposed as well. --DD On 6/19/06, Alexey N. Solofnenko <[EMAIL PROTECTED]> wrote: This can be done by requiring a key store in user home. Only people that

Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread Alexey N. Solofnenko
This can be done by requiring a key store in user home. Only people that have some special certificates, can encrypt/decrypt date (SSH style security). The decryption can be easily done with . This is a corresponding Java code: SecretKeySpec skeySpec=new SecretKeySpec(readAll("key"), "A

Re: Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread Dominique Devienne
we would be interested in encrypting. But then it's a chicken-and-egg problem, no? Where are you going to store the passwords to decrypt the passwords read from properties files? --DD - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread Jeffrey E Care
- Original-Nachricht > Datum: Mon, 19 Jun 2006 13:48:29 -0400 > Von: Jeffrey E Care <[EMAIL PROTECTED]> > An: Ant Users List > Betreff: Re: Ant tasks to encrypt or decrypt passwords from property files > > > Encrypt or encode? > > > > If you just

Re: Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread Antoine Levy-Lambert
Hello Jeffrey, we would be interested in encrypting. do you have any suggestions ? Regards, Antoine Original-Nachricht Datum: Mon, 19 Jun 2006 13:48:29 -0400 Von: Jeffrey E Care <[EMAIL PROTECTED]> An: Ant Users List Betreff: Re: Ant tasks to encrypt or decrypt pas

Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-19 Thread Jeffrey E Care
Encrypt or encode? If you just need them to not be in clear-text you could always use a simple encoding: rot13, base64, etc.; depends on how strong your requirements are. JEC Jeffrey E. (Jeff) Care