Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74900 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46933 invoked from network); 14 Jun 2014 12:08:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jun 2014 12:08:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=live.webscore@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=live.webscore@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.53 as permitted sender) X-PHP-List-Original-Sender: live.webscore@gmail.com X-Host-Fingerprint: 209.85.215.53 mail-la0-f53.google.com Received: from [209.85.215.53] ([209.85.215.53:64621] helo=mail-la0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1E/75-03909-43B3C935 for ; Sat, 14 Jun 2014 08:08:21 -0400 Received: by mail-la0-f53.google.com with SMTP id b8so632865lan.40 for ; Sat, 14 Jun 2014 05:08:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=zTIlyoj24XVX8euuvGMx6zPHFljQqOV6CztUXp09OoQ=; b=QcipbPTap3dmHgyHOvyXvrytJx5IW/ynJFpxdo4T8QTsgxQ5O0J56mfvB4Eq2DqfaE Q6ORdtYiaxvnesoqiFT4O8ATtEoojA0kEWljqI9ceMUw2R7jsCYCjSs+vhz40njQkYOj YqCFhCBCRO/lZAhK8ecJBWtO5h1lT8W5uLceyJYqsymyAagJ79saPDTIxQqedKsykHfJ jRhyg9gNDc5Iew/+SUDyzeopJV70A4TTlq0FJP6hhTJJcLbw2sgWXnRFgCyu++3ddvCn 41r0762jxM2iB1QR0NirVRrADzsqsMYCbuM7ybQT9pAQTGjrG6/G7+dOPZW0kpQNk/5R 32pQ== MIME-Version: 1.0 X-Received: by 10.112.202.200 with SMTP id kk8mr5124lbc.92.1402747697479; Sat, 14 Jun 2014 05:08:17 -0700 (PDT) Received: by 10.152.120.169 with HTTP; Sat, 14 Jun 2014 05:08:17 -0700 (PDT) Date: Sat, 14 Jun 2014 14:08:17 +0200 Message-ID: To: PHP QA , "php-general@lists.php.net" , PHP Internals Content-Type: multipart/alternative; boundary=001a11c379fe37c4a304fbcaa6b1 Subject: gnupg_verify help needed From: live.webscore@gmail.com (Tsvetan Nikolov) --001a11c379fe37c4a304fbcaa6b1 Content-Type: text/plain; charset=UTF-8 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 --001a11c379fe37c4a304fbcaa6b1--