Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security] After dpms on it unlocks sometimes without entering password #53

Open
Y0ngg4n opened this issue Dec 8, 2023 · 5 comments
Open
Labels
E-hyprland This issue is related to Hyprland compositor.

Comments

@Y0ngg4n
Copy link

Y0ngg4n commented Dec 8, 2023

I have the issue that it sometimes unlocks after dpms on when i just press my touchpad and don´t enter a password. This does not seem secure and sometimes it gives me a redscreen when doing nothing. But i rather have a redscreen instead of letting everybody in without typing in the password. I dont set grace and i even tried to turn of touch with the flags but did not worked out eiter. This is my command:

swaylock \
  --daemonize \
  --grace-no-touch \
  --grace-no-mouse \
  --fade-in 0.1 \
  --image ~/Pictures/Lockscreen2.png \
  --clock \
  --datestr "%a, %e %b" \
  --timestr "%H:%M %p" \
  --indicator \
  --key-hl-color FF6666 \
  --line-color 99B3FF \
  --ring-color 7043AA \
  --text-color FFFFFF \
  --inside-color 111111 \
  --line-clear-color 111111 \
  --ring-clear-color 111111 \
  --text-clear-color 111111 \
  --inside-clear-color 111111 \
  --line-wrong-color FF3333 \
  --ring-wrong-color FF3333 \
  --text-wrong-color FFFFFF \
  --inside-wrong-color 111111 \
  --line-ver-color 6666FF \
  --ring-ver-color 6666FF \
  --text-ver-color FFFFFF \
  --inside-ver-color 111111
@jirutka
Copy link
Owner

jirutka commented Dec 8, 2023

Which compositor do you use?

@Y0ngg4n
Copy link
Author

Y0ngg4n commented Dec 8, 2023

Hyprland. Thanks for that fast response :)

@jirutka jirutka added the E-hyprland This issue is related to Hyprland compositor. label Dec 8, 2023
@Y0ngg4n
Copy link
Author

Y0ngg4n commented Dec 8, 2023

@jirutka it also works sometimes with keyboard presses.

@JaKooLit
Copy link

JaKooLit commented Dec 9, 2023

@jirutka

Im sure this one is connected as well... but closing and opening of laptop lid also unlocks the swaylock....

Same hyprland

@JaKooLit
Copy link

@jirutka

Im sure this one is connected as well... but closing and opening of laptop lid also unlocks the swaylock....

Same hyprland

just a small update here. I found out that the unlocking is caused by this. I hope that this will help you figure out about the unlocking issue when closing and opening of laptop lid.

bindl = , switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, preferred, auto, 1"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-hyprland This issue is related to Hyprland compositor.
Projects
None yet
Development

No branches or pull requests

3 participants