nixpkgs/pkgs/tools/security/yubikey-agent/use-piv-go-75.patch
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

22 lines
567 B
Diff

From 547695fff9cbfc4037168cdeb07cfe16bd89b6db Mon Sep 17 00:00:00 2001
From: Philip Potter <philip.g.potter@gmail.com>
Date: Sat, 25 Jul 2020 21:59:50 +0100
Subject: [PATCH] Pull in piv-go#75
---
go.mod | 2 ++
1 file changed, 2 insertions(+)
diff --git a/go.mod b/go.mod
index d4d13c8..f75be2d 100644
--- a/go.mod
+++ b/go.mod
@@ -7,3 +7,5 @@ require (
github.com/gopasspw/gopass v1.9.1
golang.org/x/crypto v0.0.0-20200429183012-4b2356b1ed79
)
+
+replace github.com/go-piv/piv-go => github.com/rawkode/piv-go v1.5.1-0.20200725154545-1c3200c75a28
--
2.27.0