[ATrpms-users] freenx-server update - why did you need to fix openssl md5

Axel Thimm Axel.Thimm at ATrpms.net
Wed Dec 30 15:01:38 CET 2009


Hi,

On Tue, Dec 29, 2009 at 10:05:01PM -0500, Jeffrey J. Kosowsky wrote:
> Axel,
> Curious why you needed to change from openssl md5 to md5sum?

openssl md5 changed the output and broke nx. I think that md5sum is
more stable in this regard, I wouldn't want to see another breakage in
2-3 years because openssl md5 reworks the options again.

What advantages would openssl md5 have over md5sum? FWIW I don't even
know if openssl md5 -r works on older RHEL releases which use the same
nx src.rpms.

> I was able to get openssl md5 to work with only a minor config
> change
> 
> -COMMAND_MD5SUM="openssl md5"
> +COMMAND_MD5SUM="openssl md5 -r"
> 
> The '-r' flag gives it a consistent output format with md5sum.
> E.g., 
> $ openssl md5 some-file
> MD5(some-file)= c46c2468bd021d397c043c83fec45638
> 
> $ openssl md5 -r some-file
> c46c2468bd021d397c043c83fec45638 some-file
> 
> Also, as you may know I am responsible for a number of patches to get
> printing, sound, and share mounting to work on earlier versions. And I
> have a bunch of updated patches that I will send off after I get a
> chance to polish them. Without them, I don't believe that some of
> these features even work out of the box in newer Fedora/freenx
> releases.

That would be great! Thanks!
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.atrpms.net/pipermail/atrpms-users/attachments/20091230/a0533c5b/attachment.sig>


More information about the atrpms-users mailing list