Hello!

Could you help me in decoding a signature with public key in command line.
The purpose is that I could compare the result with a fingerprint
calculated from a document (with a hash-function ie. md5), because it
would be used on a web-page, and I think nobody wanna send a private
document to the server, just a fingerprint. I thought that I compare the
fingerprint, and the decoded signature (it should be a fingerprint, too),
and if it is the same, than the document was signed the corresponding
private key.

This command works, but only with the document, not the fingerprint:
openssl dgst -verify pub.key -signature signature.txt document.txt

                                thanks:
                                     Peter

ps.: if it is possible only in C, which function should I use?
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to