Verifying signcrypted data with detached signature/ Setting Hash for verify

Harakiri harakiri_23 at yahoo.com
Wed Feb 25 10:31:08 CET 2004


Hi,

when i try to verify signcrypted data which has a
detached signature gpg always ask for a DATA file.

Now i dont have this file yet (obviously) since the
decrypt process is not finished yet.

How should i verify this ?

I found a way through --output myfile.txt, gpg seems
to write as soon as decryption is finished in this
file and i can tell the data file to be myfile.txt.

Why is gpg unable to handle detached signatures
without the --output param. Also, can i save the *.sig
within the encrypted data - i need both - the data
file and the sig file, but i only recieve the data
file in the end of the decryption.


Finally, is it possibily to specify a HASH ALG (i.e.
SHA1) while verifying - for example if the header of a
pgp block is not set and i just wish to use it like
this way :

gpg --verify mydata.txt --verify-with-hash SHA1


Thanks

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools



More information about the Gnupg-devel mailing list