How to use "--print-md *"

ChingChe_Chen@asus.com.tw ChingChe_Chen@asus.com.tw
Wed Jul 18 13:21:02 2001


It seems only work on third method.

BTW, I'm curious for first method, that return `\doc', how come? Is that by
GPG default?

----- START LIST -----
I:\TEMP\d>gpg --print-md \* code.txt
gpg: invalid hash algorithm `\doc'

I:\TEMP\d>gpg --print-md '*' code.txt
gpg: invalid hash algorithm `'*''

I:\TEMP\d>gpg --print-mds code.txt
code.txt:    MD5 = 71 59 5C 0E 3A 36 CF 9B  6C 8D 1B 9A D5 0C 3D 06
code.txt:   SHA1 = D29E 2F23 F864 B099 14E9  6B40 E4B2 28F5 553A DBFD
code.txt: RMD160 = FC60 AA9D 7349 9EEE 3CC1  4945 409F B59E E648 1450

I:\TEMP\d>
----- LIST END -----

-----Original Message-----
From: Werner Koch [mailto:wk@gnupg.org]
Sent: Wednesday, July 18, 2001 6:50 PM
To: gnupg-users@gnupg.org
Subject: Re: How to use "--print-md *"

On Wed, 18 Jul 2001 18:09:48 +0800, ChingChe Chen said:


> I:\TEMP\d>gpg --print-md * code.txt
> gpg: invalid hash algorithm `code.txt'
The shell expands the '*'; to avoid that use gpg --print-md \* code.txt or gpg --print-md '*' code.txt or gpg --print-mds code.txt