Home
|
FAQ
|
Feedback
|
Licence
|
Updates
|
Mirrors
|
Keys
|
Links
|
Team
Download:
Stable
·
Pre-release
·
Snapshot
|
Docs
|
Privacy
|
Changes
|
Wishlist
Currently, Unix Pageant insists on linking against GTK, so that if you run it in the context of a GUI login session, it can use GTK to put up passphrase prompts. (Either when acting as a client and adding a key, or when acting as a server and decrypting a key that was added in still-encrypted form.)
There are plenty of things Unix Pageant can still usefully do without needing to talk to GTK. So it should still be possible to compile a reduced-functionality version of it when GTK is not detected at configure time.
Now that PuTTY's build system is based on cmake, this wouldn't be
especially difficult. (In the old mkfiles.pl
system it
would probably have been more painful.)
For the case where Pageant is running in client mode, the no-GTK behaviour would be: if you need to display a passphrase prompt, you have no available options for that except the GTK prompt (i.e., there's no controlling terminal), and you don't have GTK, then fail.
When Pageant is in server mode, we could do the same thing, but that would be a bit unfortunate, because the effect would be that a user could add their encrypted key as normal, and then find they had no way at all to decrypt it. A better approach would be to reject the attempt to add the encrypted key, if Pageant realises that it would have no available way to present a passphrase prompt to decrypt it. [Our initial implementation ended up with the unhelpful behaviour.]