sha2 utilities: Print or check SHA-2 digests

David Shaw dshaw at jabberwocky.com
Sat Jun 10 14:16:01 CEST 2006


On Sat, Jun 10, 2006 at 01:15:33PM +0200, Johan Wevers wrote:
> David Shaw wrote:
> 
> >       --print-mds [files]
> >              Print message digest of algorithm ALGO for all  given files  or
> >              stdin.   With  the  second  form  (or  a deprecated "*" as algo)
> >              digests for all available algorithms are printed.
> 
> Why is * deprecated anyway? Seems usefull to me if you don't know the hash
> used and want to check quick. The chance of a file being hashed with hash 1
> being tampered with so that it produces the same hash in hash algo B seems
> pretty small to me.

"--print-md * file" is deprecated in favor of "--print-mds".  The
functionality is still there.  Just the name is different.

David



More information about the Gnupg-users mailing list