1PRIVATETOPUBLIC(8) PRIVATETOPUBLIC(8)
2
3
4
6 privatetopublic -- convert cjdns private keys to public keys and IP6
7
9 /usr/libexec/cjdns/privatetopublic
10
12 As private keys are very sensitive, /usr/libexec/cjdns/privatetopublic
13 reads them from stdin. If your shell, terminal, or other program keeps
14 history, please avoid echo ´key´ | /usr/libexec/cjdns/privatetopublic,
15 or similar constructs. A heredoc is suitable for use in scripts, and
16 will avoid unwanted revealing of the key in process lists, like so:
17
18
19 /usr/libexec/cjdns/privatetopublic <<EOF
20 key
21 EOF
22
23
24
25 Key should be in hex form, maximum 64 characters. Extra characters
26 will be silently ignored.
27
29 publictoip6(1)
30
31
32
33 September 2019 PRIVATETOPUBLIC(8)