summaryrefslogtreecommitdiff
path: root/lib/Kiki.hs
diff options
context:
space:
mode:
authorJoe Crayne <joe@jerkface.net>2019-07-01 03:08:58 -0400
committerJoe Crayne <joe@jerkface.net>2019-07-01 03:08:58 -0400
commitb418ea873b6390bee1247e5a1e9cd868fcc638f1 (patch)
tree75442e4e5d9aa5af73d40861639f385e172f52be /lib/Kiki.hs
parentbc0458ee540da677a04eeddf9b4e0fe8a8991e93 (diff)
More merging of 0bc53f99cfd70f3a18802604d7ef3174d004db4c.
Diffstat (limited to 'lib/Kiki.hs')
-rw-r--r--lib/Kiki.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Kiki.hs b/lib/Kiki.hs
index 27ebbcd..828a251 100644
--- a/lib/Kiki.hs
+++ b/lib/Kiki.hs
@@ -45,7 +45,7 @@ import qualified SSHKey as SSH
45import CommandLine 45import CommandLine
46import DotLock 46import DotLock
47import GnuPGAgent (Query (..)) 47import GnuPGAgent (Query (..))
48import KeyRing 48import KeyRing hiding (pemFromPacket)
49 49
50withAgent :: [PassphraseSpec] -> [PassphraseSpec] 50withAgent :: [PassphraseSpec] -> [PassphraseSpec]
51withAgent [] = [PassphraseAgent] 51withAgent [] = [PassphraseAgent]
@@ -171,7 +171,7 @@ importAndRefresh root cmn cipher = do
171 171
172 let passfd = cap_passfd cmn 172 let passfd = cap_passfd cmn
173 173
174 (torgen,pwds) <- bool id (const $ return (Generate 0 $ GenRSA $ 1024 `div` 8, [])) $ do 174 (torgen,pwds) <- bool id (const $ return (Generate 0 $ GenRSA $ 1024 `div` 8, [])) gotsec $ do
175 {- ssh-keygen to create master key... 175 {- ssh-keygen to create master key...
176 let mkpath = home ++ "/master-key" 176 let mkpath = home ++ "/master-key"
177 mkdirFor mkpath 177 mkdirFor mkpath