Doc #55307 [Fbk->NoF]: openssl_pkcs7_verify - detached process failure
| From: | php-bugs at lists dot php dot net | Date: | Mon, 18 Feb 2013 00:34:57 +0000 |
| Subject: | Doc #55307 [Fbk->NoF]: openssl_pkcs7_verify - detached process failure | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-9542@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55307&edit=1
ID: 55307
Updated by: php-bugs@lists.php.net
Reported by: g dot monika at nic dot in
Summary: openssl_pkcs7_verify - detached process failure
-Status: Feedback
+Status: No Feedback
Type: Documentation Problem
Package: OpenSSL related
Operating System: ubuntu linux
PHP Version: 5.3.6
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2012-12-03 02:08:32] philip@php.net
What's the problem here? Is $input_content set to a valid filename?
------------------------------------------------------------------------
[2011-07-28 07:05:17] g dot monika at nic dot in
Description:
------------
---
From manual page: http://www.php.net/function.openssl-pkcs7-verify%23Return%20Values
---
// $file - signed message
// $ca - Array of Trusted Certificate
// $input_content - Actual Input Data for verification
$res= openssl_pkcs7_verify($file,PKCS7_DETACHED,
"certverify.pem",$ca,$ca[1],$input_content);
Test script:
---------------
For the code, $input_content i have passed the input value for detached type. it shows the Error as,
error:2107507A:PKCS7 routines:PKCS7_verify:no content
it doesnot consider the input content will be in $input_content. It overwrite the null value for
that text file.
For attached signed content ,the above code works fine.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55307&edit=1