php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41590 Output Missing
Submitted: 2007-06-04 19:29 UTC Modified: 2007-06-04 19:41 UTC
From: noah at rave dot ca Assigned:
Status: Not a bug Package: Output Control
PHP Version: 5.2.3 OS: Windows
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: noah at rave dot ca
New email:
PHP Version: OS:

 

 [2007-06-04 19:29 UTC] noah at rave dot ca
Description:
------------
While running the shell_exec for GnuPG it works (decrypts) in the background but shows no output while running through shell_exec.

http://www.gnupg.org/ <-- encryption software

Reproduce code:
---------------
echo shell_exec("C:/PROGRA~1/GNU/GnuPG/gpg.exe --yes --no-tty --no-secmem-warning --no-options --no-default-keyring --batch --homedir C:/websites/site.com/website/include/thirdparty/eb-atip-sdk --keyring=pubring.gpg --secret-keyring=secring.gpg --armor --batch --passphrase 1234567890 --output C:/websites/site.com/website/include/thirdparty/eb-atip-sdk/xml/filename.xml --decrypt C:/websites/site.com/website/include/thirdparty/eb-atip-sdk/enc/filename.enc");

Expected result:
----------------
C:\PROGRA~1\GNU\GnuPG>gpg --yes --no-tty --no-secmem-warning --no-options --no-default-keyring --batch --homedir C:\Progra~1\GNU\GnuPG --keyring=pubring.gpg --secret-keyring=secring.gpg --armor --batch --passphrase 0000000000 --output output.txt --decrypt input.txt
gpg: anonymous recipient; trying secret key 00000000 ...
gpg: okay, we are the anonymous recipient.
gpg: encrypted with RSA key, ID 00000000
gpg: Signature made 06/04/07 12:34:28 using RSA key ID 00000000
gpg: Good signature from "eBullion ATIP <000000@e-bullion.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 0000 0000 0000 0000 0000  0000 0000 0000 0000 0000

Actual result:
--------------
""

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-04 19:41 UTC] tony2001@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 20:01:31 2024 UTC