summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Crayne <joe@jerkface.net>2020-05-19 09:34:19 -0400
committerJoe Crayne <joe@jerkface.net>2020-05-19 12:50:49 -0400
commit006c3ace87a52d4ae4cc0e501d2fdd2a10aa7af0 (patch)
tree2d46edd336d284a52ccf86ce4a9b293b4edf823f
parent9a289d6029f73624b0215d100b6295b51993ebee (diff)
Use only 40-digit fingerprints when talking to gpg-agent.
-rw-r--r--lib/GnuPGAgent.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/GnuPGAgent.hs b/lib/GnuPGAgent.hs
index e5f91a2..f1d1552 100644
--- a/lib/GnuPGAgent.hs
+++ b/lib/GnuPGAgent.hs
@@ -36,7 +36,8 @@ import ProcessUtils
36import Control.Monad.Fix 36import Control.Monad.Fix
37import Control.Concurrent (threadDelay) 37import Control.Concurrent (threadDelay)
38 38
39fingerprint = show . Data.OpenPGP.Util.fingerprint 39fingerprint :: Packet -> String
40fingerprint = take 40 . show . Data.OpenPGP.Util.fingerprint
40 41
41data GnuPGAgent = GnuPGAgent { agentHandle :: Handle } 42data GnuPGAgent = GnuPGAgent { agentHandle :: Handle }
42 43