diff options
author | Joe Crayne <joe@jerkface.net> | 2019-07-01 03:08:58 -0400 |
---|---|---|
committer | Joe Crayne <joe@jerkface.net> | 2019-07-01 03:08:58 -0400 |
commit | b418ea873b6390bee1247e5a1e9cd868fcc638f1 (patch) | |
tree | 75442e4e5d9aa5af73d40861639f385e172f52be /lib/Kiki.hs | |
parent | bc0458ee540da677a04eeddf9b4e0fe8a8991e93 (diff) |
More merging of 0bc53f99cfd70f3a18802604d7ef3174d004db4c.
Diffstat (limited to 'lib/Kiki.hs')
-rw-r--r-- | lib/Kiki.hs | 4 |
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 | |||
45 | import CommandLine | 45 | import CommandLine |
46 | import DotLock | 46 | import DotLock |
47 | import GnuPGAgent (Query (..)) | 47 | import GnuPGAgent (Query (..)) |
48 | import KeyRing | 48 | import KeyRing hiding (pemFromPacket) |
49 | 49 | ||
50 | withAgent :: [PassphraseSpec] -> [PassphraseSpec] | 50 | withAgent :: [PassphraseSpec] -> [PassphraseSpec] |
51 | withAgent [] = [PassphraseAgent] | 51 | withAgent [] = [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 |