bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [PATCH v2] wget: Add --use-askpass support


From: Liam R. Howlett
Subject: [Bug-wget] [PATCH v2] wget: Add --use-askpass support
Date: Mon, 25 Jul 2016 14:28:21 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

This adds the --use-askpass option which is disabled by default.

--use-askpass will request the username and password for a given URL by
executing the external program pointed to by the environment variable
WGET_ASKPASS.  If the environment variable is not set, SSH_ASKPASS is
used.  If neither environment variable are set, an error is returned.
If an error occurs requesting the username or password, wget will exit.

Changes from V1:
 - Removed debug strace command.
 - Removed fork in favour of posix_spawnp.
 - Changed option from --ssh-askpass to --use-askpass.
 - Check WGET_ASKPASS then fall back to SSH_ASKPASS.
 - Updated documentation

Liam R. Howlett (1):
  wget: Add --use-askpass support

 ChangeLog     |  15 ++++++++
 doc/wget.texi |   5 +++
 src/init.c    |   5 +++
 src/main.c    | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/options.h |   2 ++
 src/url.c     |   6 ++++
 src/url.h     |   1 +
 7 files changed, 145 insertions(+)

-- 
1.9.1

Attachment: v2-0001-wget-Add-use-askpass-support.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]