From owner-freebsd-bugs Mon Jul 16 22:30: 5 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C007C37B406 for ; Mon, 16 Jul 2001 22:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6H5U1H28783; Mon, 16 Jul 2001 22:30:01 -0700 (PDT) (envelope-from gnats) Date: Mon, 16 Jul 2001 22:30:01 -0700 (PDT) Message-Id: <200107170530.f6H5U1H28783@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Dima Dorfman Subject: Re: bin/28988: We need more simple message digesting tools Reply-To: Dima Dorfman Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/28988; it has been noted by GNATS. From: Dima Dorfman To: Anders Nordby 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 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