SSH key kept unlock after usage

Bug #175288 reported by Stéphane Graber
4
Affects Status Importance Assigned to Milestone
GNOME Keyring
Invalid
Medium
gnome-keyring (Ubuntu)
Invalid
High
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-keyring

When connecting to another computer using SSH, the gnome-keyring SSH agent window pops up and ask for my key,
I enter my key and confirm, the SSH connection is established.

Now, I close the first SSH connection and open another, it connects directly without asking for my key.
I didn't check the "Automatically unlock" box, so it should have asked for the key again.

Step to reproduce :
-Logout (so the gnome-keyring-daemon is reloaded and all keys locked again)
-Login and open a terminal
-Connect to a server using SSH
-The gnome-keyring will ask for the key, do not check the "Automatically unlock" box
-Once the SSH connection established, disconnect
-Then open a new one using the same SSH key
-It won't ask for the key and will directly open the connection

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

I have the same here.

Changed in gnome-keyring:
status: New → Confirmed
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

This is potentially exploitable (if I leave my computer someone could use my key to log in somewhere out there, when I'm expecting the key not being usable)

Changed in gnome-keyring:
importance: Undecided → High
Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in gnome-keyring:
assignee: nobody → desktop-bugs
status: Confirmed → Triaged
Changed in gnome-keyring:
status: Unknown → Incomplete
Changed in gnome-keyring:
status: Incomplete → Confirmed
Revision history for this message
Stefan Nuxoll (snuxoll) wrote :

Ideal solution would be having a choice of Forget Immediately/Remember for remainder of session/Always remember, like the nautilus dialog that appears when connecting to a network share.

Changed in gnome-keyring:
status: Confirmed → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

upstream says that's not a bug and closed the bug with explanations, you can read the GNOME bug for details, doing the same on the ubuntu task now

summary: - [Hardy] SSH key kept unlock after usage
+ SSH key kept unlock after usage
Changed in gnome-keyring (Ubuntu):
status: Triaged → Invalid
Changed in gnome-keyring:
importance: Unknown → Medium
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.