simon-git: putty (master): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Mon May 14 08:45:44 BST 2018
TL;DR:
e6b06c9 Unix Pageant: options to select askpass type.
4467fa4 Unix Pageant: option to behave like ssh-askpass.
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2018-05-14 08:45:44
commit e6b06c900fd423e30eb93871152af575525dd371
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=e6b06c900fd423e30eb93871152af575525dd371;hp=a3503fd234570d72bc2c8b434514d1946c2ade74
Author: Simon Tatham <anakin at pobox.com>
Date: Mon May 14 07:36:05 2018 +0100
Unix Pageant: options to select askpass type.
Mostly for debugging purposes, because I'm tired of having to use
'setsid' to force Pageant to select the GUI passphrase prompt when I'm
trying to fix bugs in gtkask.c. But I can also imagine situations in
which the ability to force a GUI prompt window might be useful to end
users, for example if the process does _technically_ have a
controlling terminal but it's not a user-visible one (say, in the back
end of some automation tool like expect(1)).
For symmetry, I also provide an option to force the tty prompt. That's
less obviously useful, because that's already the preferred prompt
type when both methods are available - so the only use for it would be
if you wanted to ensure that Pageant didn't _accidentally_ try to
launch a GUI prompt, and aborted with an error if it couldn't use a
tty prompt.
unix/uxpgnt.c | 111 ++++++++++++++++++++++++++++++++++++++--------------------
1 file changed, 74 insertions(+), 37 deletions(-)
commit 4467fa4d2a6f5d5a2d75a37153e5cef1004c8035
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=4467fa4d2a6f5d5a2d75a37153e5cef1004c8035;hp=e6b06c900fd423e30eb93871152af575525dd371
Author: Simon Tatham <anakin at pobox.com>
Date: Mon May 14 08:08:34 2018 +0100
Unix Pageant: option to behave like ssh-askpass.
Since Pageant contains its own passphrase prompt system rather than
delegating it to another process, it's not trivial to use it in other
contexts. But having gone to the effort of coming up with my own
askpass system that (I think) does a better job at not revealing the
length of the password, I _want_ to use it in other contexts where a
GUI passphrase or password prompt is needed. Solution: an --askpass
option.
unix/uxpgnt.c | 69 +++++++++++++++++++++++++++++++++++++++--------------------
1 file changed, 46 insertions(+), 23 deletions(-)
More information about the tartarus-commits
mailing list