3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs
Philip Potter e4029c34fc yubikey-agent: init at 0.1.3
This adds yubikey-agent as a package and a nixos module.

On macOS, we use `wrapProgram` to set pinentry_mac as default in PATH;
on Linux we rely on the user to set their preferred pinentry in PATH.
In particular, we use a systemd override to prefix PATH to select a
chosen pinentry program if specified.

On Linux, we need libnotify to provide the notify-send utility for
desktop notifications (such as "Waiting for Yubikey touch...").

This might work on other flavors of unix, but I haven't tested.

We reuse the programs.gnupg.agent.pinentryFlavor option for
yubikey-agent, but in doing so I hit a problem: pinentryFlavour's
default value is specified in a mkDefault, but only conditionally.  We
ought to be able to pick up the pinentryFlavour whether or not gpg-agent
is running.  As a result, this commit moves the default value to the
definition of programs.gnupg.agent.enable.
2020-07-16 15:29:33 +01:00
..
applications Revert "webtorrent_desktop: 0.20.0 -> 0.21.0" 2020-07-10 13:38:10 +02:00
build-support dockerTools.buildLayeredImage: fix created=now 2020-07-09 09:34:18 +02:00
common-updater
data Merge pull request #92336 from romildo/upd.marwaita 2020-07-09 19:53:16 -03:00
desktops gnome3.gnome-notes: 3.36.1 -> 3.36.2 2020-07-10 05:28:38 +02:00
development coqPackages.coq-extensible-records: remove at 1.2.0 2020-07-10 11:26:41 +02:00
games Merge pull request #92584 from r-ryantm/auto-update/springlobby 2020-07-07 16:37:14 +02:00
misc Merge pull request #92663 from r-ryantm/auto-update/xlockmore 2020-07-08 23:46:40 +02:00
os-specific linux/hardened/patches/5.7: 5.7.7.a -> 5.7.8.a 2020-07-10 09:37:28 -04:00
servers mautrix-whatsapp: 0.1.2 -> 0.1.3 2020-07-10 15:31:31 +02:00
shells Merge pull request #92718 from KyleOndy/enable-spaceship-prompt-on-darwin 2020-07-10 00:15:57 -05:00
stdenv
test
tools yubikey-agent: init at 0.1.3 2020-07-16 15:29:33 +01:00
top-level yubikey-agent: init at 0.1.3 2020-07-16 15:29:33 +01:00