summaryrefslogtreecommitdiff
path: root/kiki.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2014-08-01 00:52:33 -0400
committerjoe <joe@jerkface.net>2014-08-01 00:52:33 -0400
commitdeeaa3189ad52dc01d47e9e79b5e225e004dc549 (patch)
tree6376d5a16c25b6b55df2fe25ea266917534548c1 /kiki.hs
parentf5b586b541d6b8703a6fef3e09aabf563683c4e8 (diff)
Allow to re-use passphrases accross multiple runKeyring operations
Diffstat (limited to 'kiki.hs')
-rw-r--r--kiki.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/kiki.hs b/kiki.hs
index 607a935..b39338d 100644
--- a/kiki.hs
+++ b/kiki.hs
@@ -1216,6 +1216,7 @@ kiki "init-key" args = do
1216 , ( ArgFile ipsecpath, peminfo 1024 "strongswan" ) 1216 , ( ArgFile ipsecpath, peminfo 1024 "strongswan" )
1217 , ( ArgFile sshcpath, peminfo 2048 "ssh-client" ) 1217 , ( ArgFile sshcpath, peminfo 2048 "ssh-client" )
1218 , ( ArgFile sshspath, peminfo 2048 "ssh-server" ) ] 1218 , ( ArgFile sshspath, peminfo 2048 "ssh-server" ) ]
1219 , opPassphrases = [ PassphraseMemoizer (rtPassphrases rt) ]
1219 } 1220 }
1220 forM_ [sshcpath,sshspath,ipsecpath] mkdirFor 1221 forM_ [sshcpath,sshspath,ipsecpath] mkdirFor
1221 KikiResult rt report <- runKeyRing op2 1222 KikiResult rt report <- runKeyRing op2