Edit report at http://pear.php.net/bugs/bug.php?id=18526&edit=1
ID: 18526
Updated by: [email protected]
Reported By: dustin at dustinfineout dot com
Summary: Hang on file decryption
-Status: Open
+Status: Duplicate
Type: Bug
Package: Crypt_GPG
Operating System: RHEL
Package Version: 1.2.0
PHP Version: 5.3.6
Roadmap Versions:
New Comment:
-Status: Open
+Status: Duplicate
Thanks for your report.
This is a duplicate of Bug #18618, which has a better description of the
issue.
Previous Comments:
------------------------------------------------------------------------
[2011-05-11 14:58:50] dustinfineout
Description:
------------
Most files decrypt with no problem. However some hang at a
certain point and won't continue. Here is debug output when
attempting to decrypt with a private key (this is the same
exact code/key that executes error free for other files, also
this same file decrypts fine from the command line).
Crypt_GPG DEBUG: OPENING SUBPROCESS WITH THE
FOLLOWING COMMAND:
Crypt_GPG DEBUG: /usr/bin/gpg --status-fd '3' --command-fd
'4' --no-secmem-warning --no-tty --no-default-keyring --no-
options --no-use-agent --no-permission-warning --exit-on-
status-write-error --trust-model always --homedir
'/root/.gnupg' --decrypt
Crypt_GPG DEBUG: BEGIN PROCESSING
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 1
Crypt_GPG DEBUG: input stream is ready for reading
Crypt_GPG DEBUG: => about to read 8192 bytes from input
stream
Crypt_GPG DEBUG: => read 8192 bytes
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 2
Crypt_GPG DEBUG: GPG is ready for input
Crypt_GPG DEBUG: => about to write 8192 bytes to GPG
input
Crypt_GPG DEBUG: => wrote 8192 bytes
Crypt_GPG DEBUG: input stream is ready for reading
Crypt_GPG DEBUG: => about to read 8192 bytes from input
stream
Crypt_GPG DEBUG: => read 8192 bytes
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 1
Crypt_GPG DEBUG: input stream is ready for reading
Crypt_GPG DEBUG: => about to read 8192 bytes from input
stream
Crypt_GPG DEBUG: => read 2835 bytes
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 1
Crypt_GPG DEBUG: GPG is ready for input
Crypt_GPG DEBUG: => about to write 8192 bytes to GPG
input
At this point the script hangs and never continues.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=18526&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.