Date: Mon, 16 Jul 2001 22:30:01 -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: <200107170530.f6H5U1H28783@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: Mon, 16 Jul 2001 22:20:00 -0700 Anders Nordby <anders@fix.no> writes: > On Sun, Jul 15, 2001 at 05:26:22AM -0700, Dima Dorfman wrote: > >> 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)? > > MD5 checksums are quite heavily used in FreeBSD, and AFAIK most people > use the md5 program for generating MD5 fingerprints of files. At least, > I do, and I haven't heard about anyone using openssl(1) for it in > FreeBSD until recently. :-) > > > The latter is more portable and more up-to-date. > > More portable? That too. > md5(1) is just a frontend for libmd. If I make md5(1) use > libcrypto instead, would that be better? Why? What's wrong with: ln -s /usr/bin/openssl md5 works for sha, sha1, ripemd160, and a few other algorithms. The only thing wrong with it is that openssl doesn't support some of the options md5(1) does, and has a slightly different output format. 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?200107170530.f6H5U1H28783>