Date: Sun, 15 Jul 2001 05:30:02 -0700 (PDT) From: Dima Dorfman <dima@unixfreak.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/28988: We need more simple message digesting tools Message-ID: <200107151230.f6FCU2L29686@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/28988; it has been noted by GNATS. From: Dima Dorfman <dima@unixfreak.org> To: Anders Nordby <anders@fix.no> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/28988: We need more simple message digesting tools Date: Sun, 15 Jul 2001 05:26:22 -0700 Anders Nordby <anders@fix.no> writes: > >Description: > > Add tools for generating 160 bit SHA1 and RMD-160 digests. > > Obtained from OpenBSD. I'm sorry to break Ruslan's WARNS= 2, but I haven't > been able to remove all warnings (yet). Suggestions are very welcome. > > Patches are relative to 5.0-20010618-CURRENT (snapshot from > current.freebsd.org). Files added: sha1.1 and rmd160.1. > > Yes, I know openssl dgst -whatnot can do this. But the md5 program is heavily > used, and thereby I think we should have sha1 and rmd160 too. Used by whom, and why aren't they using openssl(1)? The latter is more portable and more up-to-date. I think md5(1) should be removed in favor of OpenSSL; certainly we shouldn't be adding new functionality to it to encourage its use. The only thing in the way of replacng md5(1) with oppenssl(1) completely is that openssl(1)'s output is a little different with regards to spacing. At the very least that will break the ports collection, but the latter should be adjusted to use openssl(1), anyway. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107151230.f6FCU2L29686>