Bug 1013576 - suspend/hibernate does not lock ssh and gpg keys
Summary: suspend/hibernate does not lock ssh and gpg keys
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gnome-keyring
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Zeeshan Ali
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-30 11:21 UTC by Paolo Bonzini
Modified: 2016-09-20 01:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-06 19:07:42 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Paolo Bonzini 2013-09-30 11:21:39 UTC
Description of problem:
If someone steals my laptop while it is suspended, my password lets them read my encrypted email and send signed messages that impersonate me.  They can also log into my machines.  This goes against my usage of different passphrases for ssh, gpg and machines.

Version-Release number of selected component (if applicable):
3.8

How reproducible:
100%

Steps to Reproduce:
1. Start a GNOME session
2. ssh to a machine using your public key
3. suspend and resume (or hibernate and resume)
4. ssh to a machine using your public key

Actual results:
Steps 2 prompts for the passphrase.

Expected results:
Steps 2 and 4 prompt for the passphrase.

Additional info:
The same behavior is present for the GPG agent.
The GNOME keyring is locked/unlocked at suspend/resume.

Comment 2 Zeeshan Ali 2013-12-06 19:07:42 UTC
If you enable 'Screen Lock' in gnome-control-center's 'Privacy' settings, your thief wont have access to anything unless they know your password.

Comment 3 Paolo Bonzini 2013-12-09 10:07:49 UTC
It is enabled already, of course.

But my GPG passphrase is different from my password for a reason.  If people have gotten my password by looking over my shoulder, they won't be able to impersonate me in signed pull requests, for example.  (Stealing my password over my shoulder is much easier than stealing my GPG key, since I use the GPG key much less).


Note You need to log in before you can comment on or make changes to this bug.