diff options
Diffstat (limited to 'lib/GnuPGAgent.hs')
-rw-r--r-- | lib/GnuPGAgent.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/GnuPGAgent.hs b/lib/GnuPGAgent.hs index d73ceed..e5f91a2 100644 --- a/lib/GnuPGAgent.hs +++ b/lib/GnuPGAgent.hs | |||
@@ -18,7 +18,8 @@ import Data.Bool | |||
18 | import Data.Char | 18 | import Data.Char |
19 | import Data.Maybe | 19 | import Data.Maybe |
20 | import Data.OpenPGP | 20 | import Data.OpenPGP |
21 | import Data.OpenPGP.Util | 21 | import qualified Data.OpenPGP.Util |
22 | ;import Data.OpenPGP.Util hiding (fingerprint) | ||
22 | import Data.Word | 23 | import Data.Word |
23 | import Network.Socket | 24 | import Network.Socket |
24 | import System.Directory | 25 | import System.Directory |
@@ -35,6 +36,8 @@ import ProcessUtils | |||
35 | import Control.Monad.Fix | 36 | import Control.Monad.Fix |
36 | import Control.Concurrent (threadDelay) | 37 | import Control.Concurrent (threadDelay) |
37 | 38 | ||
39 | fingerprint = show . Data.OpenPGP.Util.fingerprint | ||
40 | |||
38 | data GnuPGAgent = GnuPGAgent { agentHandle :: Handle } | 41 | data GnuPGAgent = GnuPGAgent { agentHandle :: Handle } |
39 | 42 | ||
40 | launchAgent :: FilePath -> Maybe [(String,String)] -> IO (Maybe GnuPGAgent) | 43 | launchAgent :: FilePath -> Maybe [(String,String)] -> IO (Maybe GnuPGAgent) |