GPGME: Signature summary

Werner Koch wk at gnupg.org
Thu Oct 15 21:37:28 CEST 2009


On Thu, 15 Oct 2009 17:32, mat69 at gmx.net said:

> I do a verification of a file and what baffles me is the summary of the 
> signature. If I use a wrong file it correctly outputs
> GPGME_SIGSUM_RED, yet if

There are a couple of reasons for this.  I took this opportunity to
write a litte test program which prints almost all information we get
back from a signature verification.  Maybe the output will be helpful.

  $ ./run-verify foo.sig foo
  Original file name: [none]
  Signature 0
    status ....: Success
    summary ...: valid green
    fingerprint: 7B96D396E6471601754BE4DB53B620D01CE0C630
    created ...: 1255634851
    expires ...: 0
    validity ..: full
    val.reason : Success
    pubkey algo: 1
    digest algo: 2
    pka address: [none]
    pka trust .: n/a
    other flags:
    notations .: no
  

Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run-verify.c
Type: text/x-csrc
Size: 6696 bytes
Desc: not available
URL: </pipermail/attachments/20091015/dc5e7147/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run-support.h
Type: text/x-chdr
Size: 4624 bytes
Desc: not available
URL: </pipermail/attachments/20091015/dc5e7147/attachment.h>


More information about the Gnupg-devel mailing list