diff --git a/.gitignore b/.gitignore index 6af4659..e0bd171 100644 --- a/.gitignore +++ b/.gitignore @@ -124,4 +124,7 @@ debian/howdy .history/ # Built Visual Studio Code Extensions -*.vsix \ No newline at end of file +*.vsix + +# Meson +subprojects/ diff --git a/README.md b/README.md index 21e5800..042df7f 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,6 @@ ![](https://boltgolt.nl/howdy/banner.png)

- - - @@ -13,6 +10,12 @@ + + + + + +

Howdy provides Windows Helloâ„¢ style authentication for Linux. Use your built-in IR emitters and camera in combination with facial recognition to prove who you are. diff --git a/howdy/debian/postinst b/howdy/debian/postinst index ebfdfdd..692c66f 100755 --- a/howdy/debian/postinst +++ b/howdy/debian/postinst @@ -186,8 +186,8 @@ for line in fileinput.input(["/etc/howdy/config.ini"], inplace=1): print("Camera ID saved") # Secure the howdy folder -handleStatus(sc(["chmod 744 -R /lib/security/howdy/"], shell=True)) -handleStatus(sc(["chmod 744 -R /etc/howdy/"], shell=True)) +handleStatus(sc(["chmod 755 -R /lib/security/howdy/"], shell=True)) +handleStatus(sc(["chmod 755 -R /etc/howdy/"], shell=True)) # Allow anyone to execute the python CLI os.chmod("/lib/security/howdy", 0o755) diff --git a/howdy/src/cli/config.py b/howdy/src/cli/config.py index 1582e8c..7106483 100644 --- a/howdy/src/cli/config.py +++ b/howdy/src/cli/config.py @@ -18,6 +18,5 @@ if "EDITOR" in os.environ: elif os.path.isfile("/etc/alternatives/editor"): editor = "/etc/alternatives/editor" -config_path = "/etc/howdy" # Open the editor as a subprocess and fork it -subprocess.call([editor, os.path.dirname(config_path) + "/config.ini"]) +subprocess.call([editor, "/etc/howdy/config.ini"]) diff --git a/howdy/src/pam/README.md b/howdy/src/pam/README.md index 23d1804..bfd627c 100644 --- a/howdy/src/pam/README.md +++ b/howdy/src/pam/README.md @@ -19,7 +19,7 @@ it will be automatically pulled from git at the subproject's pinned version. ``` sh meson setup build -meson compile -C build +ninja -C build ``` ## Install