simon-git: putty (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Wed Jan 26 20:07:15 GMT 2022
TL;DR:
9d687e41 Pageant docs: improve the new OpenSSH section.
d6a83fe3 Unix Pageant: ability to build without GTK.
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2022-01-26 20:07:15
commit 9d687e417727a7583ba06e83180f2d3459e14129
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=9d687e417727a7583ba06e83180f2d3459e14129;hp=f11b20156ba10c7a7cfe55d1fa8e1cd41121c95b
Author: Simon Tatham <anakin at pobox.com>
Date: Wed Jan 26 19:59:19 2022 +0000
Pageant docs: improve the new OpenSSH section.
I tried setting this up on a different Windows machine today and had
some slightly different experiences. I found that in at least some
situations the command 'Include c:\...\pageant.conf' will cause
OpenSSH to emit a log message saying it's trying to open the file
'~/.ssh/c:\...\pageant.conf', which it then doesn't find. But 'Include
pageant.conf' works, because that's interpreted relative to the .ssh
directory that it's already found.
(I don't know why this happened on one Windows machine and not
another, since I only have a sample size of two. But an obvious guess
would be a bug fix in the Windows OpenSSH port, present in the version
on one of the machines I tried, and not in the other. Certainly that
failure mode looks to me like 'apply Unix instead of Windows rules to
decide what's an absolute pathname'.)
Also, clarified that all of this only works with the version of
OpenSSH that's available as a Windows optional feature, and not with
the MSYS-based one that ships with Windows git.
doc/pageant.but | 35 ++++++++++++++++++++++++++++++-----
1 file changed, 30 insertions(+), 5 deletions(-)
commit d6a83fe336230d60dcb166b9f9ffabe451404c5a
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=d6a83fe336230d60dcb166b9f9ffabe451404c5a;hp=9d687e417727a7583ba06e83180f2d3459e14129
Author: Simon Tatham <anakin at pobox.com>
Date: Wed Jan 26 20:02:15 2022 +0000
Unix Pageant: ability to build without GTK.
Unix Pageant is in a tricky position as a hybrid CLI/GUI application.
It has uses even in a purely CLI environment, but it won't build
without libgtk-3-dev and friends.
The solution, of course - enabled by the migration to cmake - is to
allow it to build without GTK, leaving out just the GTK askpass
functionality. That way you can still use it in any of its CLI modes,
either as a non-graphical SSH agent or as a client for an agent
elsewhere.
(You can still even use it in X lifetime mode, because its connection
to the X server is done using PuTTY's built-in X authentication and
connection setup code. It's only putting up the password prompt window
that you lose in this configuration - so you're still fine as long as
you don't try to add any encrypted keys.)
unix/CMakeLists.txt | 37 +++++++++++++++++++++++--------------
unix/noaskpass.c | 19 +++++++++++++++++++
2 files changed, 42 insertions(+), 14 deletions(-)
More information about the tartarus-commits
mailing list