Skip to content

Releases

2.0.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 02:58
30c4cf4

This release candidate introduces a security-focused change to Biopass data storage. Please test it and report any issues before the stable 2.0 release.

Breaking changes

Settings, enrolled faces and models now live in the root-owned /var/lib/biopass store. After upgrading from 1.x, face and fingerprint login are disabled until you migrate or set up Biopass again. Password login continues to work. (#266)

Run once for each account:

sudo biopass-migrate

The migration moves settings, faces and built-in models and deletes the old copies that were moved. Use --keep to retain them, or --user NAME to migrate another account. Custom models must be added again in AI Models. If a custom model was selected, face login will remain disabled until you pick a new one. /var is to support POSIX ACLs. See the data and migration guide for details.

New features

  • Live camera previews show detected face boxes and highlight the face that will be captured. (#267)

Improvements

  • Authentication messages include clearer guidance and success or failure feedback. (#265)
  • The keyring guide documents the tested oo7 setup. (#262)
  • Installation guide has been updated in REAME.md. RPM & Deb repositories are now supported.

Bug fixings

  • Skip keyring unlock when a graphical desktop session is already running, avoiding unnecessary work on lock-screen unlock. (#270)
  • Long camera names now fit within profile selectors. (#269)

Full changelog: 1.6.0...2.0.0-rc1

2.0.0-rc1

2.0.0-rc1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 29 Nov 18:44
30c4cf4

This release candidate introduces a security-focused change to Biopass data storage. Please test it and report any issues before the stable 2.0 release.

Breaking changes

Settings, enrolled faces and models now live in the root-owned /var/lib/biopass store. After upgrading from 1.x, face and fingerprint login are disabled until you migrate or set up Biopass again. Password login continues to work. (#266)

Run once for each account:

sudo biopass-migrate

The migration moves settings, faces and built-in models and deletes the old copies that were moved. Use --keep to retain them, or --user NAME to migrate another account. Custom models must be added again in AI Models. If a custom model was selected, face login will remain disabled until you pick a new one. /var is to support POSIX ACLs. See the data and migration guide for details.

New features

  • Live camera previews show detected face boxes and highlight the face that will be captured. (#267)

Improvements

  • Authentication messages include clearer guidance and success or failure feedback. (#265)
  • The keyring guide documents the tested oo7 setup. (#262)

Bug fixings

  • Skip keyring unlock when a graphical desktop session is already running, avoiding unnecessary work on lock-screen unlock. (#270)
  • Long camera names now fit within profile selectors. (#269)

Full changelog: 1.6.0...2.0.0-rc1

1.6.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 18:25
cf7c8fa

New features

  • NixOS support. The repo now has a flake with a biopass package and a NixOS module: set programs.biopass.enable = true and pick the PAM services. See NixOS.md. (#258, closes #171)
  • Logitech BRIO IR camera works. Biopass captures the BRIO's IR stream directly and shows its device node in settings. (#251)

Bug fixes

  • Fedora: the keyring unlocks with SELinux enforcing. The RPM installs a small SELinux module that lets the login screen read the TPM and /etc/shadow. Biopass also logs a clear message when SELinux blocks it. (#257, fixes #252)
  • Fedora: the RPM now pulls in libxcrypt-compat. Without it, the helper failed to start with libcrypt.so.1 missing. (#254)
  • Plasma Login Manager (KDE): KWallet unlocks after a face or fingerprint login. (#256, fixes #247)
  • Arch: the system-auth example in PAM.md is fixed. The old one shifted the success= jumps, which broke greetd and autologin with pam_setcred: PERM_DENIED. If you copied it, update your file. (#255, fixes #188)
  • Building from source works again. ONNX Runtime now comes from Microsoft's NuGet package, pinned by SHA256, after the old download link went away. (#260, fixes #259)

Full Changelog: 1.5.1...1.6.0

1.5.1

Choose a tag to compare

@github-actions github-actions released this 03 Nov 04:19
dcebf50

What's fixed

  • Changing your password no longer breaks keyring unlock. If you saved your password in Biopass so your keyring opens after a face or fingerprint login, it now updates by itself when you change your password with passwd or in GNOME Settings. On Arch and other manual setups, add one line to your PAM config first: see Keyring.md. (#243)
  • The "Lock to Secure Boot settings" switch now shows the real setting. Before, it always showed "on", even when your password was saved without it. Setting up your password now happens in a small dialog. If you saved your password in 1.5.0, save it again to see this setting. (#242)

Arch Linux (AUR)

  • biopass-bin is now on 1.5.1 (it was still on 1.4.2).

Full Changelog: 1.5.0...1.5.1

1.5.0

Choose a tag to compare

@phucvinh57 phucvinh57 released this 02 Nov 17:35

Highlights

  • Keyring unlock after biometric login. Save your login password once in the app; it is checked against /etc/shadow, sealed with the TPM, and used to unlock GNOME Keyring / KWallet after a face or fingerprint login on the login screen. Opt-in via the PAM authtok option. See docs/Keyring.md. (#241, refs #87)
  • Camera profiles with stable paths. Cameras are saved as /dev/v4l/by-id / by-path links instead of /dev/videoN, and you can define an ordered list of {camera, IR camera} profiles — the first one present is used, so docking/undocking no longer breaks face unlock. Cameras are labelled by USB interface, maker and port. (#240, closes #177)
  • More cameras supported.
    • Direct V4L2 fallback for devices libcamera does not list (custom DKMS drivers like gc2607, v4l2loopback). (#237, closes #142)
    • NV12 / NV21 / YUV420 decoding, and the IR sensor can be used as the main camera. (#236, closes #109)
    • SoftISP cameras (IPU6/MIPI) via packed RGB and the simple pipeline. (#185, #169)
  • PAM prompts: scanner-active prompt and a covered-camera message. (#184, #82)

Security & reliability

  • PAM: the helper runs under a fixed deadline below the PAM timeout and is killed through a pidfd if stuck; fails closed on argument or auth errors; exits PAM_IGNORE when no method could run. (#202, #203, #207)
  • The helper reads config, models and enrolled faces, and writes logs and debug images, as the user, not root. (#196, #200)
  • Config is parsed atomically and validated; out-of-range retry, delay, timeout and threshold values are clamped or rejected. (#204, #205)
  • Fingerprint: bounded fprintd calls, VerifyStatus pinned to fprintd's unique name, no C++ exceptions across FFI. (#201, #211)
  • Face/camera: bounds-checked image and MJPEG sizes, safer libcamera buffer handling, fail closed on invalid anti-spoof output. (#198, #206, #208)
  • App: strict CSP, webview permission requests denied, HTTPS-only and hash-pinned model downloads, private data directory. (#209, #212, #213)
  • ONNX Runtime telemetry disabled.

Improvements

  • Camera prefers MJPEG, caps RGB size, picks the brightest of N IR frames. (#183, #168, #116)
  • MiniFASv2 gets the context crop it was trained on; AI anti-spoofing is off by default. (#186, #182)
  • The colour camera and anti-spoofing model are opened once per auth session. (#225)
  • Face preview runs off the main thread and starts/stops once per state. (#210, #214)
  • Bundled libcamera no longer links libcrypto/gnutls. (#181, #176)

Packaging

  • Bundled libraries are found through RUNPATH instead of ld.so.conf.d. (#226)
  • The PAM profile is refreshed on deb upgrade and removed from common-auth on uninstall. (#226, #228)
  • Dropped curl from deb depends.

Internal

  • Config types and Tauri bindings generated from Rust with specta. (#227)
  • Large refactors of face auth, camera capture and app settings; new C++ (ctest), Rust and TS (bun test) unit tests. (#195, #215–#219, #223, #224, #229)
  • Dependency updates. (#234)

Full Changelog: 1.4.2...1.5.0

1.5.0-rc2

1.5.0-rc2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Nov 11:26
1.5.0-rc2

1.5.0-rc1

1.5.0-rc1 Pre-release
Pre-release

Choose a tag to compare

@phucvinh57 phucvinh57 released this 01 Nov 06:06
cd099de

New features

  • Support SoftISP cameras (IPU6/MIPI) via packed RGB and the simple pipeline (#185)
  • PAM: scanner-active prompt and covered-camera message (#184)

Security & reliability

  • PAM helper: fixed deadline below the PAM timeout, killed through a pidfd; fail closed on argument/auth errors
  • Helper reads config, models, enrolled faces and writes logs as the user, not root
  • Config: never use half-parsed configs; clamp retry/delay/timeout and threshold values
  • Fingerprint: bounded fprintd calls, pinned VerifyStatus sender, no C++ exceptions across FFI
  • Face/camera: bounds-checked image and MJPEG sizes, safer libcamera request handling, fail closed on invalid anti-spoof output
  • App: strict CSP, denied webview permissions, HTTPS-only and hash-pinned model downloads, private data directory

Improvements

  • Camera prefers MJPEG, caps RGB size, brightest-of-N IR frames (#183)
  • MiniFASv2 gets the context crop it was trained on (#186); AI anti-spoofing off by default (#182)
  • Colour camera and anti-spoofing model opened once per auth session
  • Bundled libcamera no longer links libcrypto/gnutls (#181)

Packaging

  • Bundled libraries found through RUNPATH instead of ld.so.conf.d
  • PAM profile refreshed on deb upgrade (#228) and removed from common-auth on uninstall
  • Dropped curl from deb depends

Internal

  • Config types and Tauri bindings generated from Rust (#227)
  • Large refactors of face auth, app settings and hooks; new C++, Rust and TS unit tests (#229)

Full Changelog: 1.4.2...1.5.0-rc1

1.4.2

Choose a tag to compare

@github-actions github-actions released this 28 Oct 17:57

What's Changed

Features

  • feat: add --version/-v flag to biopass-helper and biopass, plus a version badge in the UI by @skjerns in #147

Bug fixes

  • fix: download default models in the app on first run, per user (#165) by @phucvinh57 in #180
  • fix: store the anti-spoofing architecture in the model registry and honour the configured anti-spoofing model type (#149) by @phucvinh57 in #179
  • fix: keep preview session stdout clean for the preview protocol (#170) by @phucvinh57 in #178
  • fix(deb): accept Ubuntu's libturbojpeg package name by @jose-dias-fernandes in #173

Other

  • The repository moved to phucvinh57/biopass. Links and the default model download URL now point there.
  • Release builds pin the default model download URL to the matching release (e.g. releases/download/1.4.2) instead of latest.
  • New app logo and refreshed icon set.
  • Dependency updates.

New Contributors

Full Changelog: 1.4.1...1.4.2

1.4.1

Choose a tag to compare

@phucvinh57 phucvinh57 released this 12 Jul 09:48

What's Changed

  • fix(polkit integration): infinite loop occur when debug log is on by @phucvinh57 in #143.
    • Debug logs are under ~/.local/share/com.ticklab.biopass/logs.
    • Polkit users are supposed to update polkit-agent-helper@.service to change ProtectHome='s value from read-only to no. Please read Polkit.md for more detail.

Full Changelog: 1.4.0...1.4.1

1.4.0

Choose a tag to compare

@phucvinh57 phucvinh57 released this 11 Jul 19:19

Features

  • Camera backend migrated from openpnp-capture to libcamera for wider camera compatibility (#132)
  • Native camera capture in the app, with device selection and a live preview via event-driven frame streaming (#90)
  • Anti-spoofing: added MiniFASv2 model alongside MobileNetV3 (#119)
  • Config migrated to a v2 schema: the model registry and fingerprint enrollment metadata moved out of config.yaml into a new biopass.db SQLite database, referenced from config.yaml via model_id (#135).
  • Model management UI: add, delete, and rename models, with builtin/system models tagged as distinct from custom-imported ones
  • Linux desktop entry now correctly tagged under the System category (#138)

Fixes

  • IR cameras that only expose MJPG (no V4L2 GREY) are now supported (#132)
  • Fixed inability to type a comma into the ignore-PAM-service input field (#110)
  • Fixed bun.lock corruption and a Cargo.lock package mismatch that broke builds (#123)
  • Dropped a stale cached fingerprint table left over from the config v2 migration (#137)

Contributors

Thanks to everyone who contributed to this release: