From owner-freebsd-bugs Sun Jul 15 5: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 2FEBC37B405 for ; Sun, 15 Jul 2001 05:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6FCU2L29686; Sun, 15 Jul 2001 05:30:02 -0700 (PDT) (envelope-from gnats) Date: Sun, 15 Jul 2001 05:30:02 -0700 (PDT) Message-Id: <200107151230.f6FCU2L29686@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: Sun, 15 Jul 2001 05:26:22 -0700 Anders Nordby 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