[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



> On 16 Nov 2015, at 02:36, Josef Stautner <hello@xxxxxxxxxxx> 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)
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev