[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] QgpgME
From:       Matthias Fuchs <mat69 () gmx ! net>
Date:       2009-10-11 15:12:08
Message-ID: 200910111712.08812.mat69 () gmx ! net
[Download RAW message or body]

On Sunday 11 October 2009 12:16:22 Frank Osterfeld wrote:
> I think there are some cases where gpgme_verify_result_t says both
>  "signature green" but also has some error set. I ran into a similar case
>  (untrusted key, iirc), where I didn't know how to interpret the
>  verification result correctly. You could debug into it until you have the
>  gpgme_verify_result_t, "print" it in gdb and send the output.
> 
> Frank
> 

Ok, I tried around a little and it seems that I get correct summary-messages 
as long as there is an error, like the keys are not available or they are Red, 
but if the key should be correct it returns None and in 
GpgME::Signature::summary() gpgme_sigsum_t sigsum is also 0.

So what I wonder is, should I use summary only if there was an error 
(signature.status() == true), because status reports correctly?

Cheers!
matthias
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic