From eb36b3920fd768fdc59d8fdfa43a252aeccc76e7 Mon Sep 17 00:00:00 2001 From: joe Date: Tue, 26 Apr 2016 18:15:53 -0400 Subject: "init" now exports secret tor key. --- lib/Kiki.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/Kiki.hs') diff --git a/lib/Kiki.hs b/lib/Kiki.hs index 8a1878b..be15224 100644 --- a/lib/Kiki.hs +++ b/lib/Kiki.hs @@ -271,6 +271,10 @@ refreshCache rt rootdir = do (mkpath "ssh_host_rsa_key") "missing ssh host key?" + writeSecret "tor" + (mkpath "tor/private_key") + "missing tor key?" + -- Finally, export public keys if they do not exist. either warn (write $ mkpath "root/.ssh/id_rsa.pub") $ show_ssh' "ssh-client" grip (rtKeyDB rt) -- cgit v1.2.3