[tor-dev] possible to run --keygen non-interactively?

nusenu nusenu at openmailbox.org
Sun Nov 15 15:46:13 UTC 2015

> Maybe:
> echo "" | whatyouwanttodo --keygen
> or
> whatyouwanttodo --keygen < EOF

Yes I tried that already, but no it does not work.

That would require the program (tor) to read from sdtin - which it doesn't.

generate master keys non-interactively:
tor --datadir data --orport 1234 --list-fingerprint

More information about the tor-dev mailing list