Skip to content

Race condition when an output is plugged in #16

@emersion

Description

@emersion
  1. Have a window with sensitive information
  2. Run swaylock
  3. Unplug the output so that sway runs without any output
  4. Re-plug the output
  5. sway draws the window with sensitive information
  6. swaylock notices a new output has appeared, creates a new surface and draws
  7. sway draws swaylock, occluding the sensitive data

(5) may or may not be visible during a long time, depending on various conditions. Recording the screen with a camera might allow to retrieve the screen contents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions