[Bug 69] Generalize SSH_ASKPASS

Jim Knoble jmknoble at pobox.com
Thu Mar 27 07:32:49 EST 2003


Circa 2003-03-26 12:59:49 +0000 dixit David Woodhouse:

: > as to typing "YES", this is intentional, since users should _think_
: > not click.
: 
: I agree. And it's not really hard for the ssh-askpass program to
: recognise the question text and do something other than the normal 'ask
: for textual input' anyway.

Actually, i would rather not have ssh-askpass try to do anything with
the text it's given except display it.  Right now, x11-ssh-askpass only
displays 8-bit text in the POSIX locale (i.e., ISO-8859-1), but i have
plans in the works to make it work with whatever the locale is and
whatever fontset is configured for that locale, so that eventually it
will be able to display at least UTF-8 text.

If you want a separate behavior, that request should be explicit:
either an explicit option to ssh-askpass (e.g., 'ssh-askpass --yesno')
or (probably better) a separate program (e.g., 'ssh-confirm').

Care to come up with a specification?

As for difficulty, once i've internationalized x11-ssh-askpass,
creating x11-ssh-confirm isn't difficult, but it is a matter of time,
which is in short supply for me at the moment.

A current alternative for x11-ssh-confirm might be a suitable wrapper
around Xdialog:

  http://freshmeat.net/projects/xdialog/

-- 
jim knoble  |  jmknoble at pobox.com  |  http://www.pobox.com/~jmknoble/
(GnuPG fingerprint: 31C4:8AAC:F24E:A70C:4000::BBF4:289F:EAA8:1381:1491)
Stop the War on Freedom ... Start the War on Poverty!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 256 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20030326/b9790652/attachment.bin 


More information about the openssh-unix-dev mailing list