|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #55307 openssl_pkcs7_verify - detached process failure
Submitted: 2011-07-28 07:05 UTC Modified: 2013-02-18 00:34 UTC
From: g dot monika at nic dot in Assigned:
Status: No Feedback Package: OpenSSL related
PHP Version: 5.3.6 OS: ubuntu linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: g dot monika at nic dot in
New email:
PHP Version: OS:


 [2011-07-28 07:05 UTC] g dot monika at nic dot in
From manual page:

// $file -  signed message 
// $ca - Array of Trusted Certificate
// $input_content - Actual Input Data for verification

$res= openssl_pkcs7_verify($file,PKCS7_DETACHED,

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. 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-12-03 02:08 UTC]
-Status: Open +Status: Feedback
 [2012-12-03 02:08 UTC]
What's the problem here? Is $input_content set to a valid filename?
 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
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.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Jun 03 04:03:39 2023 UTC