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

teor teor2345 at gmail.com
Mon Nov 16 00:39:36 UTC 2015


> On 16 Nov 2015, at 02:36, Josef Stautner <hello at veloc1ty.de> wrote:
> 
> EOF is false of course.
> I mean < /dev/null of course :-)
> 
>> Am 15.11.2015 um 16:28 schrieb Josef Stautner:
>> Maybe:
>> 
>> echo "" | whatyouwanttodo --keygen
>> 
>> or
>> 
>> whatyouwanttodo --keygen < EOF

These alternatives will produce different outputs:

The /dev/null alternative produces no input data.
The echo "" alternative produces a newline on most platforms.

Consistent "no password" passwords are another reason to have a --no-pass option.

Tim (teor)


More information about the tor-dev mailing list