HARDY: gnome-ssh-askpass does *not* grab keyboard or focus if contested with other apps

Bug #236988 reported by Evan Carroll
4
Affects Status Importance Assigned to Milestone
ssh-askpass (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: gnome-keyring

This bug is not a bug about gnome-ssh-askpass simply failing to popup.

If another gnome app already has the locks that gnome-ssh-askpass is attempting to obtain, gnome-ssh-askpass will fail. And often as a bunk side effect it will destroy the IO of what ever other app previously had the locks. This is easy to see in any gnome application that utilizes full-screen for example gnome-terminal.

Steps to reproduce with a locked key:
* open gnome-terminal
* fullscreen it (f11)
* ssh to something

Type and you will see some characters (mainly whitespace) pass through to gnome-terminal.
gnome-ssh-askpass will never obtain focus over the gnome-terminal which is already running full-screen. It will however eat pty's IO.

*****You can not exit, without killing it from a non-x TTY.*****

Revision history for this message
Evan Carroll (evancarroll) wrote :

This is exploitable in a very easy fashion using the following command

gnome-terminal --hide-menubar --full-screen -e "ssh host-with-passkey"

On the flip side can this agent easily be disabled, I'd prefer to explicitly opt-in to agent with ssh-add are there any disadvantages to yanking it

Revision history for this message
Evan Carroll (evancarroll) wrote :

irc.freenode.net/#ubuntu-bugs
02:14 < nicolasvw> EvanCarroll: I can confirm I didn't get the prompt when in fullscreen. Killing gnome-keyring-ask I
                   was able to regain control of the terminal.
02:14 < EvanCarroll> yea, but you had to drop to tty to do it right?
02:15 < nicolasvw> EvanCarroll: yes
02:15 < EvanCarroll> that's all i need. thanks a ton moving to confirmed

Revision history for this message
Sebastien Bacher (seb128) wrote :

gnome-ssh-askpass is not a gnome-keyring thing

Revision history for this message
Craig73 (funrun73) wrote :

Evan - I see you confirmed Nicolas was also having the issue (although this ticket was never changed to confirmed). Have you tried the latest version of Ubuntu (8.10 Intrepid)? Are you still experiencing this issue?

(There is an older ticket logged that seems to be similar, although it has not be responded to, so I'm seeking more details. I need to check upstream to see if this has been reported.)

Revision history for this message
Caspar Clemens Mierau (leitmedium) wrote :

moving this bug to ssh-askpass where -gnome is a part of.

Changed in openssh:
status: New → Incomplete
Revision history for this message
Alex Denvir (coldfff) wrote :

We are closing this bug report because it has not been updated for some time. Please reopen it if you have more information to submit, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in ssh-askpass (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.