Bug 51014 - Не работает аутентификация пользователя в hyprlock
Summary: Не работает аутентификация пользователя в hyprlock
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: hyprlock (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-31 21:17 MSK by Фомченков Семен
Modified: 2025-06-30 13:29 MSK (History)
3 users (show)

See Also:


Attachments
Пример конфига для hyprlock (2.97 KB, text/plain)
2024-07-31 21:17 MSK, Фомченков Семен
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Фомченков Семен 2024-07-31 21:17:42 MSK
Created attachment 16523 [details]
Пример конфига для hyprlock

Стенд с ошибкой:
=================
Система на базе репозитория Sisyphus с обновлениями за 31.07.2024

Версия программы:
=================
hyprlock-0.3.0-alt1.x86_64

Шаги, приводящие к ошибке:
==========================
1) Создать базовый конфиг ~/.config/hypr/hyprlock.conf (используемый мной конфиг во вложении)
2) Запустить в hyprland hyprlock командой: hyprlock
3) Ввести пароль пользователя для входа в систему.

Результат:
==========
Войти под учётной записью пользователя невозможно, верный пароль не принимается.

Ожидаемый результат:
====================
Получается успешно зайти под учётной записью пользователя.
Comment 1 Фомченков Семен 2024-08-01 16:04:29 MSK
Дополинтельно:
==============
Вывод в journalctl: 
авг 01 15:51:20 speaksister hyprlock[3929]: pam_tcb(hyprlock:auth): Authentication failed for test from test(uid=1000)

Вывод самого hyprlock:
[LOG] Authenticating
[ERR] auth: Authentication failed for hyprlock
[ERR] auth: Authentication failed for su
[LOG] Authentication failed: Authentication failed
[LOG] Failed attempts: 1
Comment 2 Repository Robot 2025-06-30 13:29:17 MSK
hyprlock-0.8.2-alt1 -> sisyphus:

Mon Jun 30 2025 Andrey Cherepanov <cas@altlinux> 0.8.2-alt1
- New version.
- Exclude i586 from build due to missing hyprwayland-scanner for this arch.
- Fix config files destination (thanks Nikita <sc4.nick@yandex.ru>)
- Set sgid bit to executable (ALT #51014).
Mon Jun 16 2025 Andrey Cherepanov <cas@altlinux> 0.8.2-alt1
* Thu Nov 14 2024 Andrey Cherepanov <cas@altlinux> 0.5.0-alt1
- New version.
Thu Aug 01 2024 Andrey Cherepanov <cas@altlinux> 0.3.0-alt2
- Adapt to check password stored in tcb (ALT #51014).