Skip to content

Commit 2360515

Browse files
authored
release: v0.3.2 (#34)
Bug-fix release covering two real shipping-user issues in v0.3.0: - **PAM control keyword corrected.** `success=end` was not a valid `pam.conf(5)` value-keyword — libpam treated it as `ignore` and dropped Visage's authentication result, so face auth was silently falling through to the password prompt since v0.1.0. Swept across all 9 affected sites (README, docs, NixOS module, Debian pam-auth-update profile, research docs). Reported-by @SelfRef in #27. Debian/Ubuntu users auto-recover on next `.deb` upgrade via `postinst`'s `pam-auth-update --package` call; Arch and NixOS users get the fix from the new install. - **`visaged` SIGTERM handler.** The shutdown signal was using `tokio::signal::ctrl_c()`, which is SIGINT-only on Unix. `systemctl stop|restart` and `visage-resume.service` post-hibernate send SIGTERM, which the daemon ignored — systemd then waited the default `TimeoutStopSec=90s` before SIGKILL. Fixes #26. Daemon now handles both SIGINT and SIGTERM via `tokio::signal::unix::signal` and `tokio::select!`, matching the pattern used elsewhere in our daemons. `visaged.service` adds `TimeoutStopSec=10s` as defense in depth. Workspace version bumped 0.3.0 → 0.3.2 across `Cargo.toml`, `Cargo.lock`, `packaging/aur/PKGBUILD`, and `packaging/nix/default.nix`. CHANGELOG section renamed from `[Unreleased]` and dated. Skipping v0.3.1 — that number was reserved for the dependency-bump cohort (image, nix, tokio, uuid, GitHub Actions) plus the community fork PRs (#25 Arch LTO fix, #29 X1 Carbon quirk). Those are still blocked on fork-PR CI approval and will land as v0.3.3 once unblocked.
1 parent 6c0e789 commit 2360515

5 files changed

Lines changed: 12 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
## v0.3.2 — 2026-05-28
6+
57
### Fixed
68

79
- **PAM control keyword corrected: `success=end``success=done` across all 9 sites.**

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ members = [
1010
]
1111

1212
[workspace.package]
13-
version = "0.3.0"
13+
version = "0.3.2"
1414
edition = "2021"
1515
license = "MIT"
1616
repository = "https://github.com/sovren-software/visage"

packaging/aur/PKGBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# https://github.com/sovren-software/visage
33

44
pkgname=visage
5-
pkgver=0.3.0
5+
pkgver=0.3.2
66
pkgrel=1
77
pkgdesc="Linux face authentication via PAM — persistent daemon, IR camera support, ONNX inference"
88
arch=('x86_64')
@@ -16,7 +16,7 @@ install="$pkgname.install"
1616
# Preserve user data and face database across upgrades
1717
backup=('var/lib/visage/faces.db')
1818
source=("$pkgname-$pkgver.tar.gz::https://github.com/sovren-software/visage/archive/refs/tags/v$pkgver.tar.gz")
19-
# TODO: compute real sha256sum at release time: sha256sum visage-0.3.0.tar.gz
19+
# TODO: compute real sha256sum at release time: sha256sum visage-0.3.2.tar.gz
2020
sha256sums=('SKIP')
2121

2222
build() {

packaging/nix/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
rustPlatform.buildRustPackage {
2121
pname = "visage";
22-
version = "0.3.0";
22+
version = "0.3.2";
2323

2424
src = lib.cleanSource ../..;
2525

0 commit comments

Comments
 (0)