With GnuPG you can sign messages. The signature looks something below. Does this contain more than just a hash, and if so, what/how can this be made visible?
OpenPGP, which GPG implements, is a public-private key scheme. That is, it is founded on a two-part key, one of which is made publicly available and the other kept only by the owner. Messages encrypted with one of the two keys can be decrypted with the other. To send a secret message to someone, you would encrypt the message with their public key, and only they would be able to decrypt it with their private key. To digitally sign a message and demonstrate that you were the originator, you make a hash and encrypt that with your private key, and everyone would be able to decrypt it with your public key and confirm that it had to have been made with access to your private key (i.e. by you, unless something has gone terribly wrong).
Name:
Anonymous2012-12-02 16:37
Does it bother you?
Name:
Anonymous2012-12-02 16:43
>>2
Ok I understand. But what is encoded in ---BEGIN PGP SIGNATURE--- part.
Is it like a base64 encoded structure, and if so, how can I examine what is in there. In contrast, openssl has the ability to read these things and format them into human readable text so you can examine the actual values used for signing. I read the GPG documentation, searched the web, and cannot find a method to do this for GPG. It seems that it is intentional to obfuscate the the signature, but I cannot imagine this is the case.
Oh, just realized you might be asking a totally different question, that is, whether any more information than a hash is encrypted in the PGP signature.
The RFC lists a lot of potential metadata in a signature packet: http://www.ietf.org/rfc/rfc4880.txt
Not sure what GPG implements.
Name:
Anonymous2012-12-02 16:49
Thanks, that was what I was looking for. Do you perhaps know of a tool or command that textifies the signature?