On Mon, Mar 14, 2011 at 2:21 AM, JiaQiang Xu <[email protected]> wrote:
> Hi,
> I want to turn on Coorsync's encryption feature. But I find that
> corosync-keygen may
> block on reading /dev/random, which is not preferred in my working
> environment.
> I want to generate the authkey in a script and don't want user intervention.
> Is it possible to generate the key from /dev/urandom? Or is there some other
> ways to
> generate a suitable auth key without blocking?

Someone actually just asked this question a couple of weeks ago.  A
new option, -l, was added to corosync-keygen to address this issue.
Check the list archives for more details.  When using this option,
corosync-keygen uses /dev/urandom instead so it won't block.

--
Russell Bryant
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to