ANNOUNCE: x11-ssh-askpass v1.2.0

Jim Knoble jmknoble at jmknoble.cx
Wed Feb 14 21:15:08 EST 2001


Circa 2001-Feb-14 20:54:14 +1100 dixit Damien Miller:

: On Wed, 14 Feb 2001, Jim Knoble wrote:
: 
: >   - Adds the ability to display passphrase prompts with more than one
: >     line (needed for challenge-response authentication types).
: >     Requested by Markus Friedl of the OpenSSH project.
: 
: Could you explain this a little more? I should update the GNOME askpass
: to match.

Sure; a rough explanation is in the included man page and in the
ChangeLog.  Prior versions of x11-ssh-askpass would accept a single
argument on the command line (not including the standard X toolkit
options).  The argument would be displayed as text as the dialog prompt.

The only thing different in this version is that it properly interprets
newlines ('\n') embedded in the argument, so that the argument can be
displayed on multiple lines.  For example:

  $ /usr/local/libexec/openssh/x11-ssh-askpass 'line 1
  > line 2
  > line 3'

used to look like this:

  +------------------------+
  |                        |
  |  line 1 line 2 line 3  |
  |                        |
  |  == == == == == == ==  |
  |                        |
  |  +-------+ +--------+  |
  |  |  OK   | | Cancel |  |
  |  +-------+ +--------+  |
  +------------------------+

and now it looks like this:

  +------------------------+
  |                        |
  |  line 1                |
  |  line 2                |
  |  line 3                |
  |                        |
  |  == == == == == == ==  |
  |                        |
  |  +-------+ +--------+  |
  |  |  OK   | | Cancel |  |
  |  +-------+ +--------+  |
  +------------------------+

(This also works for labels specified in the app-defaults file,
including the labels on the OK and Cancel buttons).

-- 
jim knoble | jmknoble at jmknoble.cx | http://www.jmknoble.cx/





More information about the openssh-unix-dev mailing list