Skip to content

gnupg agent module: Added extra and browser sockets to GnuPG agent, and added dirmngr, also made SSH support false by default due to programs.ssh.startAgent defaulting to true #26295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 15, 2017

Conversation

CMCDragonkai
Copy link
Member

I cloned gnupgs source code to lookup how they are doing systemd integration and ported it to the new gnupg.nix program module.

I had a variation of this already running on my desktop nixos.

@fpletz I changed ssh support to default to false because the ssh start agent defaults to true, I think it would be a better UX if enabling GPG agent doesn't automatically require ssh support and thus result in a nixos rebuild error. Happy to change it back though if you really want it that way.

…nd added dirmngr, also made SSH support false by default due to programs.ssh.startAgent defaulting to true
@CMCDragonkai
Copy link
Member Author

@fpletz Ping

Copy link
Member

@fpletz fpletz left a comment

Choose a reason for hiding this comment

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

Thanks for the reminder and these additions. LGTM! 👍

My reasoning behind the ssh support was that if you enable the gpg-agent, you might not want to run two separate agents for gpg and ssh. So if an user enables the gpg-agent, it would get the informed by the error that there is a choice between ssh-agent and gpg-agent as an ssh agent (which is not obviously exposed in the module system).

But defaulting to false is also fine by me. I wonder, though, if we should disable ssh-agent by default too.

@CMCDragonkai
Copy link
Member Author

CMCDragonkai commented Jun 15, 2017 via email

@fpletz
Copy link
Member

fpletz commented Jun 15, 2017

I've created a PR to change the ssh-agent default: #26605

@fpletz fpletz merged commit 1b6176e into NixOS:master Jun 15, 2017
@fpletz
Copy link
Member

fpletz commented Jun 15, 2017

Thanks!

@CMCDragonkai CMCDragonkai deleted the gpg branch August 8, 2018 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants