ID:               41590
 Updated by:       [EMAIL PROTECTED]
 Reported By:      noah at rave dot ca
-Status:           Open
+Status:           Bogus
 Bug Type:         Output Control
 Operating System: Windows
 PHP Version:      5.2.3
 New Comment:

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.




Previous Comments:
------------------------------------------------------------------------

[2007-06-04 19:29:55] 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 <[EMAIL PROTECTED]>"
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:
--------------
""


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41590&edit=1

Reply via email to