Re: [dev] [ii] exposed password on process monitoring

From: Ivan Kanakarakis <ivan.kanak_AT_gmail.com>
Date: Wed, 13 Jun 2012 15:44:28 +0300

On 20 April 2012 03:37, Nico Golde <nico_AT_ngolde.de> wrote:

> Hi,
> * Ivan Kanakarakis <ivan.kanak_AT_gmail.com> [2012-04-20 01:54]:
> > On 20 April 2012 02:24, Connor Lane Smith <cls_AT_lubutu.com> wrote:
> > > On 19 April 2012 23:51, Connor Lane Smith <cls_AT_lubutu.com> wrote:
> [...]
> > however if one wants to connect to more than one server
> > and has a different password for that other server then
> > the env var doesn't help, scriptwise talking.
> >
> > ofcourse one can reset the var and invoke the new ii isntance,
> > but if you're doing that in a script and you don't want to be
> > including the passwd within the script then this cant work.
>
> Why not, the script could read it from a file not? Even though I don't see
> the
> difference. Whoever can read that script likely can also read the file.
>
> > well, what I have in mind with that ^ is something like:
> > $ IRCPASS="fooo" connect.sh
> > and connect.sh fires up two ii instances to connect to
> > two different server which need a different password.
> >
> > I think a nice thing to do that would also resolve the
> > naming choice would be to have -k or some other argument
> > mean that ii should read the -k flag as an env var. so
> > $ ii -k IRCPASS
> > would getenv("IRCPASS"), and
> > $ ii -k OFTCPASS
> > would getenv("OFTCPASS")
> > etc
>
> I agree this is actually also a very nice solution! I will think about
> that a
> little before I commit.
>
>
any news on this ?
do you think any of the propused ideas will reach upstream ?



> Cheers
> Nico
>



-- 
*Ivan c00kiemon5ter V Kanakarakis*  >:3
Received on Wed Jun 13 2012 - 14:44:28 CEST

This archive was generated by hypermail 2.3.0 : Wed Jun 13 2012 - 14:48:07 CEST