From: noah at rave dot ca Operating system: Windows PHP version: 5.2.3 PHP Bug Type: Output Control Bug description: Output Missing
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 bug report at http://bugs.php.net/?id=41590&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41590&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41590&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41590&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41590&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41590&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41590&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41590&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41590&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41590&r=support Expected behavior: http://bugs.php.net/fix.php?id=41590&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41590&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41590&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41590&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41590&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41590&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41590&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41590&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41590&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41590&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41590&r=mysqlcfg