summaryrefslogtreecommitdiff
path: root/PROTOCOL.u2f
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2019-11-18 15:05:04 +1100
committerDamien Miller <djm@mindrot.org>2019-11-18 15:22:40 +1100
commitb497e920b409250309c4abe64229237b8f2730ba (patch)
treead8f12463b4743c0ef9e0db1e132a57ee0a9b1bf /PROTOCOL.u2f
parent857f49e91eeae6feb781ef5f5e26c38ca3d953ec (diff)
downloadopenssh-git-b497e920b409250309c4abe64229237b8f2730ba.tar.gz
Teach the GTK2/3 ssh-askpass the new prompt hints
ssh/ssh-agent now sets a hint environment variable $SSH_ASKPASS_PROMPT when running the askpass program. This is intended to allow the askpass to vary its UI across the three cases it supports: asking for a passphrase, confirming the use of a key and (recently) reminding a user to touch their security key. This adapts the gnome-ssh-askpass[23] to use these hints. Specifically, for SSH_ASKPASS_PROMPT=confirm it will skip the text input box and show only "yes"/"no" buttons. For SSH_ASKPASS_PROMPT=none (used to remind users to tap their security key), it shows only a "close" button. Help wanted: adapt the other askpass programs in active use, including x11-ssh-askpass, lxqt-openssh-askpass, etc.
Diffstat (limited to 'PROTOCOL.u2f')
0 files changed, 0 insertions, 0 deletions