Repository navigation
Tags
Tags
fix(auth): skip keyring unlock when a desktop session is running (#270) * fix(auth): skip keyring unlock when a desktop session is running On the GNOME lock screen, gdm-password runs biopass-helper as root, so every unlock after sleep did a full TPM unseal and shadow hash check before reporting the match, though the keyring was already unlocked at login. Ask logind (D-Bus, 500 ms timeout) whether the user has a running x11/wayland/mir session and skip the keyring step if so. Any error falls back to the old behaviour. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(auth): bound the logind query and run it only with a saved password One deadline covers the bus connect and all calls. The check now runs after the sealed file is read, so users without a saved password skip it. Moved to its own library so biopass-keyring doesn't link gio. Shorter docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(keyring): note the lock screen no longer fixes a keyring locked at login Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
fix(auth): skip keyring unlock when a desktop session is running (#270) * fix(auth): skip keyring unlock when a desktop session is running On the GNOME lock screen, gdm-password runs biopass-helper as root, so every unlock after sleep did a full TPM unseal and shadow hash check before reporting the match, though the keyring was already unlocked at login. Ask logind (D-Bus, 500 ms timeout) whether the user has a running x11/wayland/mir session and skip the keyring step if so. Any error falls back to the old behaviour. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(auth): bound the logind query and run it only with a saved password One deadline covers the bus connect and all calls. The check now runs after the sealed file is read, so users without a saved password skip it. Moved to its own library so biopass-keyring doesn't link gio. Shorter docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(keyring): note the lock screen no longer fixes a keyring locked at login Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
feat(nix): add a flake with a package and a NixOS module (#258) * feat(nix): add a flake with a package and a NixOS module packages.x86_64-linux.biopass repackages the release .deb with autoPatchelf. nixosModules.biopass adds Biopass before the password rules of the chosen PAM services, turns off pam_fprintd there, and links the absolute /usr paths Biopass runs into place. Keyring unlock isn't set up yet. Usage in docs/NixOS.md. Closes #171 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(nix): address review findings Build the default package from the host's nixpkgs, refuse services with a Google Authenticator or Duo second factor, stop enabling fprintd system-wide, drop polkit-1 from the defaults (Biopass ignores it), enable polkit for pkexec, and don't replace an existing /usr/bin/pkexec. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
feat(keyring): update the saved password when the login password chan… …ges (#243) * feat(keyring): update the saved password when the login password changes pam_sm_chauthtok hands the new password to `biopass-keyring update`, which re-seals it (same PCR 7 binding) for users who saved one. The Debian/Ubuntu profile adds it as an optional "Additional" password rule; it always returns PAM_IGNORE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(keyring): fix password-change docs for Arch and AccountsService Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
PreviousNext