boltgolt / boltgolt/howdy

Fedora 38 - detected unhandled Python exception in '/lib64/security/howdy/compare.py'

Open
#784 5 comments 0 reactions 0 assignees View on GitHub
v2
Dominant language
Python
Stars
7.8k
Forks
412
PR merge metrics
No merged PRs in 30d

Description

Hello!

I've just installed Howdy on a Fedora 38 installation via the copr repository. I've setup pam.d/sudo to use howdy and, after manually setting the right /dev/videoX device in the configuration, the webcam effectively activates when a sudo command is being prompted. The problem is that it will fail and fallback to the password method.

journalctl reports me the following:

```
apr 24 14:48:58 plungedcopper [14430]: Attempting facial authentication for user elegos
apr 24 14:49:01 plungedcopper python3[14432]: detected unhandled Python exception in '/lib64/security/howdy/compare.py'
apr 24 14:49:01 plungedcopper [14430]: Failure, unknown error1
apr 24 14:49:01 plungedcopper abrt-server[14498]: Package 'howdy' isn't signed with proper key
apr 24 14:49:01 plungedcopper abrt-server[14498]: 'post-create' on '/var/spool/abrt/Python3-2023-04-24-14:49:01-14432' exited with 1
apr 24 14:49:01 plungedcopper abrt-server[14498]: Deleting problem directory '/var/spool/abrt/Python3-2023-04-24-14:49:01-14432'
```

I don't know how to view that unhandled exception honestly (Fedora doesn't have `/var/log/auth.log` or similar).

May you please help me?
Thanks :)

----

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

Linux distribution (if applicable): Fedora 38

Howdy version (`sudo howdy version`): 2.6.1

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with /lib64/security/howdy/compare.py and reproduce the Fedora 38 sudo authentication flow described in the report. Use journalctl or another available Fedora diagnostic path to obtain the underlying Python exception. Done means the failure is identified and the facial-authentication attempt no longer falls back with the reported unknown error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.