boltgolt / howdy

🛡️ Windows Hello™ style facial authentication for Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ubuntu 24.04 - camera authentication will not start

Tegaf opened this issue · comments

Hi,

I manually installed the beta version Howdy 3.0.0 BETA on Ubuntu 24.04.

After installation I needed this command:
sudo pip install --break-system-packages dlib-bin

Everything works fine. I can add a profile, I can make a screenshot, I can make a test.

Howdy is enabled in PAW settings.
obrazek

But when I try sudo -i or login, the camera authentication doesn't start.

Is there anything else I need to set?

Thanks!

I have the same problem. Everything works fine except that the system does not try to even use howdy, although it is activated in PAM. I install howdy with the apt-repository and did a sudo apt install howdy. Additionally I tried installing dlib through different ways but that did not make any difference.

I have the same problem

This fixed the issue for me.

#799

Thanks that fixed it! But there is a new warning:

lib/security/howdy/compare.py:57: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
  "Date: " + datetime.datetime.utcnow().strftime("%Y/%m/%d %H:%M:%S UTC"),

But I'll look into that if there is already a fix for it

Thanks that fixed it! But there is a new warning:

lib/security/howdy/compare.py:57: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
  "Date: " + datetime.datetime.utcnow().strftime("%Y/%m/%d %H:%M:%S UTC"),

But I'll look into that if there is already a fix for it

A quick and dirty fix:

in /lib/security/howdy/compare.py, after
from recorders.video_capture import VideoCapture
add:
from datetime import datetime, timezone
edit:
"Date: " + datetime.datetime.utcnow().strftime("%Y/%m/%d %H:%M:%S UTC"),
into:
"Date: " + datetime.now(timezone.utc).strftime("%Y/%m/%d %H:%M:%S UTC"),