[Devel] remove gen_ha1 tool

Daniel-Constantin Mierla daniel at voice-system.ro
Wed Mar 15 14:48:53 CET 2006


Hello,

gen_ha1 (openser_gen_ha1) can be replaced by using some other common 
tools on unix/linux.

gen_ha1 user realm password

is the same as:

echo -n 'user:realm:password' | md5sum | awk  '{ print $1 }

I would suggest to remove the code for gen_ha1 from openser, the 
question is: are you aware that on some distros md5sum cannot be found?

awk is already used by all scripts that use gen_ha1, so this should not 
be a problem.

Cheers,
Daniel



More information about the Devel mailing list