[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [PATCH] wget: Add --ssh-askpass support
From: |
Liam R. Howlett |
Subject: |
Re: [Bug-wget] [PATCH] wget: Add --ssh-askpass support |
Date: |
Mon, 25 Jul 2016 10:06:58 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
* ?ngel Gonz?lez <address@hidden> [160724 13:15]:
> I don't think the name --ssh-askpass is appropriate. It would be better to
> have a parameter to --ask-password like --ask-password=external or receive
> the name of the environment variable to use.
I wanted to use the SSH_ASKPASS variable since this variable is used
beyond ssh at this point, notably by git. Although, admittedly after
checking GIT_ASKPASS and a git config entry first.
I did not want to add to --ask-password since the username can be
requested as well and I don't believe this is the case with
--ask-password. I also didn't want to affect the existing
functionality.
>
> Plus I also agree that something like popen would be preferable.
Do you have a strong preference towards popen over posix_spawn? Jeremie
expressed concern of popen and metacharacters in the environment
variable so I was going to try and use posix_spawn.
Thanks,
Liam