* ?ngel Gonz?lez <[email protected]> [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
