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

Ubuntu 24.04 - camera authentication will not start #913

Open
Tegaf opened this issue May 3, 2024 · 5 comments
Open

Ubuntu 24.04 - camera authentication will not start #913

Tegaf opened this issue May 3, 2024 · 5 comments

Comments

@Tegaf
Copy link

Tegaf commented May 3, 2024

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!

@l3ifk
Copy link

l3ifk commented May 8, 2024

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.

@ssljr
Copy link

ssljr commented May 17, 2024

I have the same problem

@mikeywoll
Copy link

This fixed the issue for me.

#799

@l3ifk
Copy link

l3ifk commented May 17, 2024

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

@andygev35
Copy link

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"),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants