gnupg_verify help needed
| From: | Tsvetan Nikolov | Date: | Sat, 14 Jun 2014 12:08:17 +0000 |
| Subject: | gnupg_verify help needed | ||
| Groups: | php.general php.internals php.qa | ||
| Request: | Send a blank email to internals+get-74900@lists.php.net to get a copy of this message | ||
Hi PHPers,
I've been fighting with gnupg_verify for days now and cannot understand how
it works. It returns an array in the form of:
array ( 0 => array ( 'fingerprint' => 'BLABLABLA' 'validity'
=> 0
'timestamp' => 1402666925 'status' => 117440521 'summary' =>
128 ) )
I don't understand which part of the array actually shows us that the
verification went well. Do I have to compare the fingerprint or the status
is enough. But then I get different statuses and don't know what they all
mean. Same with summary. On other occasions I get different unexplainable
results like status=>0 validity=>4. There is no documentation on what each
of these means.
Thanks for you help!
Regards,
Tsvetan