Re: sha2 utilities: Print or check SHA-2 digests

2006-06-10 Thread Qed
On 06/10/2006 12:35 AM, rmyster wrote:
--print-md algo [files]
--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.
 
 Oh...I never would have made the connection.  I can see what it
 refers to now but when I read it, the algorithm ALGO was one I had
 never heard of.  Realistically, I wouldn't have caught it even if it was
 written as   --print-md algorithm [files] 
Ever heard of the funny story about the user calling helpdesk because
cannot find the any key on his keyboard? ;-)
-- 

  Q.E.D.

ICQ UIN: 301825501
OpenPGP key ID: 0x58D14EB3
Key fingerprint: 00B9 3E17 630F F2A7 FF96  DA6B AEE0 EC27 58D1 4EB3
Check fingerprints before trusting a key!



___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: sha2 utilities: Print or check SHA-2 digests

2006-06-10 Thread rmyster
On Sat, 2006-06-10 at 11:27 +0200, Qed wrote:
 --print-md algo [files]
 --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.
  
  Oh...I never would have made the connection.  I can see what it
  refers to now but when I read it, the algorithm ALGO was one I had
  never heard of.  Realistically, I wouldn't have caught it even if it was
  written as   --print-md algorithm [files] 
 Ever heard of the funny story about the user calling helpdesk because
 cannot find the any key on his keyboard? ;-)

Yes, and supposedly it's causing problems for support departments.   On
the other hand, if you're looking for the command to calculate sha256
and sha512 hashes, what are the odds you will be targeting words like
ALGO?  HASH maybe, but algo?  I'd be curious as to how many users
even know that gpg can do sha256 and sha512 hashes based on what is
written in the docs.  MD5SUM and SHA1SUM are spelled out as clear as day
in contrast to the ones I was trying to use.  I had been using other
applications to get the values.  

Still, does anyone know what the coreutils docs are referring to when it
implies that sha512 hashes can be obtained with a command called
sha512sum in the same manner of usage as md5sum and sha1sum?
(i.e sha512sum file)


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: sha2 utilities: Print or check SHA-2 digests

2006-06-10 Thread rmyster

 
  Still, does anyone know what the coreutils docs are referring to when it
  implies that sha512 hashes can be obtained with a command called
  sha512sum in the same manner of usage as md5sum and sha1sum?
  (i.e sha512sum file)
 Maybe you could try to tell us what version of coreutils do you have
 installed and what OS are you using, we don't have a magic ball to ask.
 Two of your headers:
  X-Mailer: Evolution 2.6.0
  Message-Id: [EMAIL PROTECTED]
 so I suppose you are using SuSE Linux, version 10.1 includes Evolution
 2.6.0. Incidentally I am using the same version of this nice
 distribution, I have coreutils-5.93 here and there is no trace of sha2
 support in documentation.
 
 However you should have noticed that this is not a linux mailing list.
 - --
Yes, suse 10.1 with coreutils-5.93-20.  In the info manual, sha2 is
mentioned under section 6.6 (sha2 utilities) and all it says is 
The usage and options of these commands are precisely the same as for
`md5sum'.

While this isn't a linux mailing list, md5sum is part of gnupg.  The
closest other choice was the coreutils bug lists and this didn't seem
like a bug related question.  I'll take your hint and drop the topic.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: sha2 utilities: Print or check SHA-2 digests

2006-06-10 Thread Todd Zullinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

rmyster wrote:
 Yes, suse 10.1 with coreutils-5.93-20.  In the info manual, sha2 is
 mentioned under section 6.6 (sha2 utilities) and all it says is The
 usage and options of these commands are precisely the same as for
 `md5sum'.
 
 While this isn't a linux mailing list, md5sum is part of gnupg.

No, it's not.  md5sum is part of the coreutils package.  You're using
suse, which is an rpm based distro, so if I may extend the slightly
off-topic posts a little, here's a handy way for you to find out what
package a file belongs to:

$ rpm -qf /usr/bin/md5sum

On my FC5 system this returns coreutils-5.93-7.2.

 The closest other choice was the coreutils bug lists and this didn't
 seem like a bug related question.

How not?  If the docs state an application is available and it's not
it's a bug - either in the docs or in the packaging.  In any case, I
took a blind leap of faith and searched for the string sha2 on the
coreutils mailing list and the very first item returned[1] was titled:

Re: Not finding sha256sum

It's a documentation bug in coreutils.  Total time spent, 30 secs. :)

[1] http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00170.html

- -- 
ToddOpenPGP - KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
==
A diplomat is a person who can tell you to go to Hell in such a way
that you actually look forward to the trip.
-- Anonymous

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iG0EARECAC0FAkSK+zkmGGh0dHA6Ly93d3cucG9ib3guY29tL350bXovcGdwL3Rt
ei5hc2MACgkQuv+09NZUB1pfBwCfQpESyyiX4VaoB3PxkUfu6tmgzHYAoMtHAQz9
86lV+58Vw46GWqxG5S0s
=BkqK
-END PGP SIGNATURE-

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


sha2 utilities: Print or check SHA-2 digests

2006-06-09 Thread rmyster

From the coreutils documentation, it states:
6.6 sha2 utilities: Print or check SHA-2 digests

The commands sha224sum, sha256sum, sha384sum and sha512sum compute
checksums of various lengths (respectively 224, 256, 384 and 512 bits),
collectively known as the SHA-2 hashes...
-


Coreutils is installed but there isn't any sha224sum, sha256sum,
sha384sum or sha512sum commands available.  Is sha2 utilities part of
some other package?

TIA



___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: sha2 utilities: Print or check SHA-2 digests

2006-06-09 Thread David Shaw
On Fri, Jun 09, 2006 at 12:07:44AM -0600, rmyster wrote:
 
 From the coreutils documentation, it states:
 6.6 sha2 utilities: Print or check SHA-2 digests
 
 The commands sha224sum, sha256sum, sha384sum and sha512sum compute
 checksums of various lengths (respectively 224, 256, 384 and 512 bits),
 collectively known as the SHA-2 hashes...
 -
 
 
 Coreutils is installed but there isn't any sha224sum, sha256sum,
 sha384sum or sha512sum commands available.  Is sha2 utilities part of
 some other package?

I'm not sure if I fully understand your question (coreutils has
nothing to do with GnuPG), but GnuPG does have the SHA2 hashes:

gpg --print-md sha256 (thefile)
gpg --print-md sha384 (thefile)
gpg --print-md sha512 (thefile)

The next version of GPG will add:

gpg --print-md sha224 (thefile)

David

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: sha2 utilities: Print or check SHA-2 digests

2006-06-09 Thread rmyster
On Fri, 9 Jun 2006 at 08:04:35 -0400, David Shaw wrote:

  Coreutils is installed but there isn't any sha224sum, sha256sum,
  sha384sum or sha512sum commands available.  Is sha2 utilities part
 of  some other package?
 
 I'm not sure if I fully understand your question (coreutils has
 nothing to do with GnuPG), but GnuPG does have the SHA2 hashes:
 
 gpg --print-md sha256 (thefile)
 gpg --print-md sha384 (thefile)
 gpg --print-md sha512 (thefile)
 
 The next version of GPG will add:
 
 gpg --print-md sha224 (thefile)
 
 David
 

The question was how to obtain these values with the commands listed in
the coreutils documentation. Could point me to where you obtained these
options since they aren't listed in the gpg docs(man gpg,info gpg,
etc)? 


In any event, thanks.  I'll just create some scripts to alias yours to
what I was trying to use from the coreutils manual.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users