Commit Graph

12 Commits

Author SHA1 Message Date
Fabián Heredia Montiel
ff323ed355 treewide: vendorSha256 → vendorHash
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
2023-09-13 01:03:44 -06:00
Thomas Gerbet
dfd957c819 yubikey-agent: unstable-2022-03-17 -> 0.1.6
205a7ef255...v0.1.6
2022-12-28 17:51:55 +01:00
Benjamin Bädorf
4995a873a7
yubikey-agent: 0.1.5 -> unstable-2022-03-17
`yubikey-agent` is updated to a newer commit. It hasn't received an
official release in a while which is why the update is to an "unstable"
version.

Closes https://github.com/NixOS/nixpkgs/issues/145392

Co-authored-by: teutat3s <10206665+teutat3s@users.noreply.github.com>
Co-authored-by: hensoko <hensoko@gssws.de>
2022-06-04 21:51:26 +02:00
Mario Rodas
e5ca1b8253 yubikey-agent: add ldflags 2022-05-12 04:20:00 +00:00
zowoq
d3850e7e18 yubikey-agent: update vendorSha256 2022-01-31 11:50:28 +10:00
Thomas Gerbet
c4ed660a9e yubikey-agent: 0.1.4 -> 0.1.5
https://github.com/FiloSottile/yubikey-agent/releases/tag/v0.1.5

Dependency to pinentry_mac is no more needed:
c9e9f88ea9
2021-07-28 19:30:21 +02:00
Mario Rodas
f0636c21e0 yubikey-agent: 2021-02-18 -> 0.1.4 2021-07-06 04:20:00 +00:00
Philip Potter
dfb0999f73 yubikey-agent: fix systemd unit
I was getting problems with the unit failing to start due to NAMESPACE
or CAPABILITIES permissions.

Upstream now provides a systemd unit file in the repo, we should use that
one, and that one works for me.
2021-04-16 20:45:55 +01:00
Ben Siraphob
76f93cc731 pkgs/tools: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
zowoq
cea7cd902e buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
Philip Potter
e01583a763 yubikey-agent: fix on darwin
Mea culpa: in #92936, I did originally test on macOS but I forgot to
retest after adding the piv-go patch.  Unfortunately, the piv-go patch
was broken on macOS.  This pulls in the latest version of
go-piv/piv-go#75 which works on macOS now.
2020-07-25 22:22:23 +01:00
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