Package Details: howdy 2.6.1-2

Git Clone URL: https://aur.archlinux.org/howdy.git (read-only, click to copy)
Package Base: howdy
Description: Windows Hello for Linux
Upstream URL: https://github.com/boltgolt/howdy
Keywords: facial-recognition hello howdy ir pam-plugin windows-hello
Licenses: MIT
Submitter: kelleymcches
Maintainer: boltgolt (kageurufu, Raymo111, xuanruiqi, komex, myghi63)
Last Packager: komex
Votes: 40
Popularity: 0.009358
First Submitted: 2018-06-25 05:25 (UTC)
Last Updated: 2021-07-30 08:42 (UTC)

Pinned Comments

Raymo111 commented on 2024-07-12 05:45 (UTC) (edited on 2024-07-12 05:46 (UTC) by Raymo111)

For anyone getting "RuntimeError: Unsupported image type, must be 8bit gray or RGB image", downgrade python-numpy to 1.26.4-2 and all will be okay... for now. See https://github.com/boltgolt/howdy/issues/937 for further discussion.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

renyuneyun commented on 2020-12-02 11:31 (UTC) (edited on 2020-12-02 11:33 (UTC) by renyuneyun)

@noom It looks like a Python error message. Did you build pam-python in the same way I described in it? Apart from replacing the source with v1.0.8, I also commented out line 25, 26 & 28 (i.e. those replacing python with python2 & sphinx using sed).

noom commented on 2020-12-02 09:55 (UTC)

I can successfully build the package using renyuneyn intructions but howdy fails with ModuleNotFoundError: No module named 'dlib'.

renyuneyun commented on 2020-11-28 11:50 (UTC)

As in pam-python, there doesn't seem to be a need of any Python 2 components, e.g. python2-sphinx. I replaced python2-sphinx with python-sphinx, built and installed the package. Then I configured it as described in the doc, it works as expected. Probably it's time to remove all Python 2 things.

lgaboury commented on 2020-11-14 18:17 (UTC) (edited on 2020-11-14 18:20 (UTC) by lgaboury)

Here is what I did to install howdy successfully.

Edit pam_python PKGBUILD as follows:

  1. In the makedepends statement change 'python2-sphinx' to 'python-sphinx'
  2. In the prepare() statement comment or remove the line

    sed -i'' 's|sphinx-build|sphinx-build2|g' doc/Makefile

Edit howdy PKGBUILD as follows:

  1. In the makedepends statement change 'python2-sphinx' to 'python-sphinx'
  2. Add 'qt5-base' to the depends statement. If you don't do this step and you're a non KDE user, you will get the following error when running 'sudo howdy add': ImportError: libQt5Test.so.5: cannot open shared object file: No such file or directory

bob418 commented on 2020-11-05 09:38 (UTC)

@bageljr

Thank you very much! I built pam-python using your method and now howdy works as expected.

bageljr commented on 2020-11-05 02:14 (UTC)

Ok so what I did was I just removed the python2-sphinx make dependency from both howdy and pam-python. Then I uncommented the documentation line from the pam-python build file. Now it works.

bob418 commented on 2020-11-05 01:34 (UTC)

@bageljr

I tried your fix and it built howdy successfully. However it doesn't generate pam_python,so, how do you make howdy in use for authentication? Previous method is to add

auth sufficient pam_python.so /lib/security/howdy/pam.py

bageljr commented on 2020-11-04 22:10 (UTC)

Fixed the pkgbuild file (changed dependencies so it doesn't rely on python2 anymore) Idk how you suggest a change though (I'm new)

Maintainer: Frank Tackitt frank@tackitt.net
Maintainer: boltgolt boltgolt@gmail.com
Co-Maintainer: Raymo111 hi@raymond.li
Contributor: Kelley McChesney kelley@kelleymcchesney.us

pkgname=howdy pkgver=2.6.1 pkgrel=1 pkgdesc="Windows Hello for Linux" arch=('x86_64') url="https://github.com/boltgolt/howdy" license=('MIT') depends=( 'opencv' 'hdf5' 'python-pam' 'python3' 'python-pillow' 'python-dlib' 'python-face_recognition' 'python-face_recognition_models' 'python-click' 'python-numpy' ) makedepends=( 'python-sphinx' 'cmake' 'pkgfile' ) backup=('usr/lib/security/howdy/config.ini') source=( "https://github.com/boltgolt/howdy/archive/v${pkgver}.tar.gz" "https://github.com/davisking/dlib-models/raw/master/dlib_face_recognition_resnet_model_v1.dat.bz2" "https://github.com/davisking/dlib-models/raw/master/mmod_human_face_detector.dat.bz2" "https://github.com/davisking/dlib-models/raw/master/shape_predictor_5_face_landmarks.dat.bz2" ) sha256sums=('f3f48599f78fd82b049539fcfc34de25c9435cad732697bdda94e85352964794' 'abb1f61041e434465855ce81c2bd546e830d28bcbed8d27ffbe5bb408b11553a' 'db9e9e40f092c118d5eb3e643935b216838170793559515541c56a2b50d9fc84' '6e787bbebf5c9efdb793f6cd1f023230c4413306605f24f299f12869f95aa472')

package() { # Installing the proper license files and the rest of howdy cd howdy-$pkgver install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" mkdir -p "$pkgdir/usr/lib/security/howdy" cp -r src/* "$pkgdir/usr/lib/security/howdy" cp "${srcdir}/dlib_face_recognition_resnet_model_v1.dat" "$pkgdir/usr/lib/security/howdy/dlib-data/" cp "${srcdir}/mmod_human_face_detector.dat" "$pkgdir/usr/lib/security/howdy/dlib-data/" cp "${srcdir}/shape_predictor_5_face_landmarks.dat" "$pkgdir/usr/lib/security/howdy/dlib-data/" chmod 600 -R "$pkgdir/usr/lib/security/howdy" mkdir -p "$pkgdir/usr/bin" ln -s /lib/security/howdy/cli.py "$pkgdir/usr/bin/howdy" chmod +x "$pkgdir/usr/lib/security/howdy/cli.py" mkdir -p "$pkgdir/usr/share/bash-completion/completions" cp autocomplete/howdy "$pkgdir/usr/share/bash-completion/completions/howdy" }

bob418 commented on 2020-11-01 08:11 (UTC)

It cannot be built on the latest Arch Gnome:

 -> Could not find all required packages:
    python2-sphinx (Wanted by: howdy -> pam-python)
    python2-sphinx (Wanted by: howdy)