Bug #15640

Suspend button shown when screen is locked

Added by Gaff 2018-06-08 04:24:08 . Updated 2019-05-06 18:15:40 .

Status:
Resolved
Priority:
Normal
Assignee:
segfault
Category:
Target version:
Start date:
2018-06-08
Due date:
% Done:

100%

Feature Branch:
feature/14556-show-suspend-button
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

When the screen is locked a suspend button is shown in the top right menu. It seems that tails doesn’t normally allow suspend so this is at-best inconsistent. At worst it would allow an attacker to suspend the machine and then perform advanced forensic attacks later.

Personally I think that the regular shutdown and restart options should be available even if the screen is locked - this would allow for emergency situations.


Subtasks


Related issues

Related to Tails - Feature #14556: Show a suspend to RAM button in the status menu Resolved 2017-08-30

History

#1 Updated by Gaff 2018-06-08 04:25:53

I presume this is a ‘feature’ of gdm? I had a quick look to try and figure if it’s customisable but I didn’t get very far. Happy to dig further if anyone can point me in the right direction?

#2 Updated by mercedes508 2018-06-08 16:40:13

  • Assignee set to Gaff

Hey,

The suspend to ram feature will be implemented officially in Tails as described here: https://labs.riseup.net/code/issues/14556

And when the screen is locked the emergency shutdown feature works, so it’s appropriate for emergency situations, right?

#3 Updated by Gaff 2018-06-08 16:46:38

Hmm - well the odd thing is that when unlocked it shows “restart” and “power off”. When it’s locked it shows “pause”. The difference is certainly unexpected!

I think it also presents a risk - the user would probably assume the machine was powered off rather than suspended and so might assume his machine was protected when it wasn’t. I can see few upsides for allowing suspend.

I did dig a bit further - there’s a custom gnome javascript extension that provides the unlocked powerdown options. My guess is that this javascript doesn’t cover the locked case.

#4 Updated by intrigeri 2018-06-10 10:05:49

  • related to Feature #14556: Show a suspend to RAM button in the status menu added

#5 Updated by intrigeri 2018-06-10 10:08:18

  • Status changed from New to Confirmed
  • Assignee changed from Gaff to segfault
  • QA Check set to Info Needed
  • Type of work changed from User interface design to Code

Indeed, that’s inconsistent. It would be nice to fix this if it’s super cheap (and skip that otherwise because we’ll soon have a suspend button in the regular session too so any change we make here will have to be reverted at some point). segfault, can you please have a quick look and tell me whether it’s easy to fix it?

#6 Updated by intrigeri 2018-06-10 10:19:08

mercedes508:
> And when the screen is locked the emergency shutdown feature works, so it’s appropriate for emergency situations, right?

Meta: Gaff reported a UI inconsistency. IMO this is a valid UX problem.

#7 Updated by sajolida 2018-06-10 14:11:24

My 2 cents. I think that this behavior is inherited from GNOME.

In the context of GNOME, it makes sense to make it harder for someone who doesn’t have the password to shutdown the system. Let’s say you’re in the library and lock your screen, you want to make it harder for someone else to shutdown your computer without your consent.

In the context of Tails, on the other hand, it makes sense to provide shortcuts to shutdown as a security feature.

So I wouldn’t say that the UX problem here is inconsistency (because it makes sense in the context of GNOME in general) but yeah, it’s more about the quick access to shutdown as a security feature :)

NB: Suspend to RAM already works on laptop. I use it all the time :)

#8 Updated by segfault 2019-03-23 19:39:48

  • Status changed from Confirmed to In Progress

Applied in changeset commit:tails|1616d490fa2a700a029eda2946969fc3287bccc7.

#9 Updated by intrigeri 2019-04-04 07:29:04

  • Target version set to Tails_3.14
  • QA Check changed from Info Needed to Pass
  • Feature Branch set to feature/14556-show-suspend-button

Tested, works fine!

#10 Updated by segfault 2019-04-05 17:19:07

  • Status changed from In Progress to Fix committed
  • % Done changed from 0 to 100

Same as Feature #14556

#11 Updated by intrigeri 2019-05-05 08:23:58

  • Target version changed from Tails_3.14 to Tails_3.13.2

#12 Updated by anonym 2019-05-06 15:00:43

  • Status changed from Fix committed to Resolved

#13 Updated by anonym 2019-05-06 15:03:16

  • Target version changed from Tails_3.13.2 to Tails_3.14

#14 Updated by intrigeri 2019-05-06 18:15:40

  • Target version changed from Tails_3.14 to Tails_3.13.2