CivicActions / guidebook

The home of policies and guidelines that make up CivicActions
https://guidebook.civicactions.com/en/latest/
Creative Commons Attribution 4.0 International
19 stars 58 forks source link

Insecure recommendation in Screen lock ("Securing Your Workspace") documentation #1367

Open rdiaz02 opened 3 months ago

rdiaz02 commented 3 months ago

In https://guidebook.civicactions.com/en/latest/common-practices-tools/security/securing-your-workspace/

you suggest

xss-lock -- i3lock -n -c 000000

exec --no-startup-id xss-lock -- i3lock -n -c 000000

That, however, is not the recommended procedure to ensure screen is locked on suspend, because the call to xss-lock is missing the argument --transfer-sleep-lock to xss-lock. See the help of i3wm itself: https://github.com/i3/i3lock?tab=readme-ov-file#running-i3lock and additional discussion here https://github.com/i3/i3lock/issues/207 (argument "-l" and "--transfer-sleep-lock" are the same).

openprivacy commented 3 months ago

@rdiaz02 - Good catch - please submit a PR to correct the page. Thanks!