summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kiki.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/kiki.hs b/kiki.hs
index cf4089a..32aad70 100644
--- a/kiki.hs
+++ b/kiki.hs
@@ -1478,6 +1478,17 @@ kiki "init-key" args = do
1478 HomePub 1478 HomePub
1479 ( encode $ Message [] ) 1479 ( encode $ Message [] )
1480 1480
1481 -- Private
1482 -- pem tor /var/lib/tor/samizdat/private_key
1483 -- pem ssh-client %(home)/.ssh/id_rsa
1484 -- pem ssh-server /etc/ssh/ssh_host_rsa_key
1485 -- pem ipsec /etc/ipsec.d/private/%(onion).pem
1486
1487 -- Public
1488 -- ssh-client %(home)/.ssh/id_rsa.pub
1489 -- ssh-server /etc/ssh/ssh_host_rsa_key.pub
1490 -- ipsec /etc/ipsec.d/certs/%(onion).pem
1491
1481 -- TODO: These should be read from a configuration file. 1492 -- TODO: These should be read from a configuration file.
1482 -- (use SimpleConfig) 1493 -- (use SimpleConfig)
1483 let torpath = fromMaybe "" rootdir ++ "/var/lib/tor/samizdat/private_key" 1494 let torpath = fromMaybe "" rootdir ++ "/var/lib/tor/samizdat/private_key"