-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Sean Walmsley wrote: > Micah:
Hi Sean, I prefer to keep discussions on the main Wget mailing list where possible, so we benefit from the input of anyone else who's able to contribute; I've Cc'd the list with my response. >>From the GNU webpage, I understand that you are the current > wget maintainer. > > We're currently having some trouble preventing wget from displaying > the --http-password and --http-user arguments in the output of the > ps command. > > Unfortunately, we can't use the workaround suggested in the wget FAQ > (include the username/password in the URL and pass it via the -i flag) > because our corporate proxy server blocks http traffic containing > passwords. this blocking is done because, according to recent > versions of the URL specification Have you considered the other workaround suggested by the FAQ (though, I see now, it was poorly written; I'll fix that after this send): to put the password information in a wgetrc? You could place it in a separate wgetrc than your normal one, and use the WGETRC environment variable to give wget it's location (I'd like to add a --wgetrc option at some point). > My suggestion is to have wget check for the presence of the > following environment variables and use them if they > are present and the corresponding command line arguments are > not: > > http_user (--http-user arg and .wgetrc value would override) > http_password (--http-password and .wgetrc value arg would > override) > > These would be analagous to http_proxy which is read from the > $http_proxy environment variable unless it is overridden by the > .wgetrc file. > > This would allow each calling process to set the values of these > variables and then call wget without having the values show up in > the output of ps. Well, the currently planned ask-user-to-input-password feature (which the FAQ mentions, but only in the Wgiki, which you may not have been reading, since I just announced/started redirecting to it) would also accomplish that, and I'm not sure I see the utility in creating environment variables for this purpose... plus, if I add these, I'd really need to add user, password, ftp_user, and ftp_password as well. For now, I'd recommend placing them in a file you specify as your WGETRC; then, when Wget 1.12 is release, you can switch to having Wget ask for the password up-front. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG4hcy7M8hyUobTrERCLrFAJ4uKJjKWH7wr6bI01PkqwQX7rzMdgCdGDGL NSeVeLloGslGEI6CRwxtnAU= =QSq5 -----END PGP SIGNATURE-----
