boltgolt / boltgolt/howdy

when logging in on the lock screen or tty terminal interface : nknown error occurred

Open
#893 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.8k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

howdy version:Howdy 3.0.0 BETA
Linux distribution:debian 12.4 bookworm
de: gnome 43.9
dm:gdm

After entering the graphical interface, Howdy works fine, but when I lock the screen or log out and log back in, the camera flashes briefly and then shows an error.

I tried logging in using the tty interface and encountered the same error, along with an error code.

```
login:
Traceback (most recent call last):
File "/lib/security/howdy/compare.py",line 262, in
hist_total = np.sum(hist)
AttributeError: module 'numpy' has no attribute 'sum'
Password:
nknown error:
```

I have confirmed that the numpy module is installed, and executing "python3 /lib/security/howdy/compare.py" did not result in any errors.

----

I've searched for similar issues already, and my issue has not been reported yet.

Linux distribution (if applicable):

Howdy version (`sudo howdy version`):

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with /lib/security/howdy/compare.py at line 262 and reproduce the failure through the lock screen and tty, then compare that environment with running `python3 /lib/security/howdy/compare.py` directly. Trace the PAM login entry point and the reported NumPy error. Done means authentication works without the unknown error in both login contexts.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
authentication, operating-systems, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.