On Fri, Apr 30, 2010 at 12:13:07PM -0300, Helio Loureiro wrote:
> Hi linux-ha team,
> 
> I was reading project documentation, and I guess I found an typo error.
> 
> On page:
> 
> http://www.linux-ha.org/doc/s-heartbeat-authkeys.html
> 
> You can see the example code:
> 
> ( echo -ne "auth 1\n1 sha1 "; \
>   dd if=/dev/urandom bs=512 count=1 | openssl md5 ) \
>   > /etc/ha.d/authkeys
> chmod 0600 /etc/ha.d/authkeys
> 
> 
> Since key algorithm is declared as "sha1", probably you should adjust
> your openssl settings accordingly.  Or change from sha1 to md5.

Nope.

the "openssl md5" is simply used to convert the random byte string
into something ascii alphanumerical, with the welcome side effect
of being of predetermined length.

It has nothing to do with what auth method is used.

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to