privatetopublic man page

privatetopublic -- convert cjdns private keys to public keys and IP6

Synopsis

/usr/libexec/cjdns/privatetopublic

Description

As private keys are very sensitive, /usr/libexec/cjdns/privatetopublic reads them from stdin. If your shell, terminal, or other program keeps history, please avoid echo ´key´ | /usr/libexec/cjdns/privatetopublic, or similar constructs. A heredoc is suitable for use in scripts, and will avoid unwanted revealing of the key in process lists, like so:

/usr/libexec/cjdns/privatetopublic <<EOF
key
EOF

Key should be in hex form, maximum 64 characters. Extra characters will be silently ignored.

See Also

publictoip6(1)

Info

December 2016