[PHP-QA] gnupg_verify help needed

2014-06-14 Thread Tsvetan Nikolov
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 par

[PHP-QA] Re: gnupg_verify help needed

2014-06-14 Thread Christoph Becker
Tsvetan Nikolov wrote: > 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

[PHP-QA] Re: gnupg_verify help needed

2014-06-14 Thread Tsvetan Nikolov
Thanks Christoph, This is not sufficient. It returns false only if I enter some random string. If I try to verify signed text with random signature then it always returns an array with some data, which in my case doesn't work because I would like to varify that the text is signed with specific sig