Skip to content

proton-pass-agent: adapt the services to match the documentation#9059

Open
delafthi wants to merge 1 commit intonix-community:masterfrom
delafthi:delafthi/rpvyspksolkm
Open

proton-pass-agent: adapt the services to match the documentation#9059
delafthi wants to merge 1 commit intonix-community:masterfrom
delafthi:delafthi/rpvyspksolkm

Conversation

@delafthi
Copy link
Copy Markdown
Contributor

@delafthi delafthi commented Apr 7, 2026

Description

Adapts the defined services (both systemd and launchd) to match the examples in the documentation. See https://protonpass.github.io/pass-cli/commands/ssh-agent/#setting-ssh_auth_sock-automatically-on-login section 'Starting the daemon automatically on login'.

Enhances service stability by reducing manual restarts, reducing operational disruption. Especially, on MacOS. I still face issues on Linux with the keyring, which usually involves a manual login and restarting the service after reboot.

Checklist

  • Change is backwards compatible.

  • Code formatted with nix fmt or
    nix-shell -p treefmt nixfmt deadnix keep-sorted nixf-diagnose --run treefmt.

  • Code tested through nix run .#tests -- test-all or
    nix-shell --pure tests -A run.all.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.
    • Generate a news entry. See News
    • Basic tests added. See Tests
  • If this PR adds an exciting new feature or contains a breaking change.

    • Generate a news entry. See News

@github-actions github-actions bot added the password-manager rbw, bitwarden, 1password label Apr 7, 2026
@delafthi delafthi marked this pull request as draft April 7, 2026 22:10
@delafthi delafthi force-pushed the delafthi/rpvyspksolkm branch 2 times, most recently from beeb4e1 to ed76bb0 Compare April 8, 2026 11:55
@delafthi delafthi marked this pull request as ready for review April 8, 2026 12:17
@delafthi delafthi requested a review from khaneliman April 8, 2026 12:18
@delafthi delafthi force-pushed the delafthi/rpvyspksolkm branch from ed76bb0 to c6858bb Compare April 13, 2026 22:02
Crashed = true;
SuccessfulExit = false;
};
ProcessType = "Background";
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it still be preferred to stay Background this will adjust how macOS handles the resources better as a background daemon.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initially, I thought that too, but as a background service, it often stopped running when I reopened the lid or after waking up from sleep/suspend. Declaring it as a normal service resolves these issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

password-manager rbw, bitwarden, 1password

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants