Hello,

Yesterday and today i tried many things to get the gpg plugin work on my vps server, i came to the conclusion that plugin itself could maybe be the cause.

I'll use squirrelmail version 1.4.22-2.el6, and with the last versions of gpg plugin i am unable to create key pairs, well when i use an older version gpg.2.0.1-1.4.2.tar.gz, suddenly i am able to create as many key pairs as i want, but it seems to be unable to encrypt the mail itself.

With the never versions(2.1 and 2.1.1), like i said in the other mails the generation won't work at all. In gpg_local_prefs.txt i changed debug=0 to debug=1. then i get a lot of messages and the last one seems to keep repeating:

Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 0


For further details i'll include the whole debug process:

Adding homedir to parameter list. /var/lib/squirrelmail/prefs/info@uweigenbedrijfonline.nl.gnupg
Executing action generateKey with SquirrelMail_GnuPG Object.
Using pipes to communicate with gpg.
Saving previously set environmental variable LC_ALL=nl_NL.UTF-8
Setting environmental variable LC_ALL=en_US
Setting environmental variable LC_LANG=en_US
Setting environmental variable LC_LANGUAGE=en_US
opengpg - executing "/usr/bin/gpg --command-fd 7 --status-fd 5 --no-tty --yes --openpgp --homedir /var/lib/squirrelmail/prefs/info@uweigenbedrijfonline.nl.gnupg --gen-key"
Resetting environmental variable LC_ALL=nl_NL.UTF-8
proc_open commandline executed, pipes open
Closing Pipe 0
readStatus()
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 1
Reading Status
readStatus: [GNUPG:] GET_LINE keygen.algo
entering writeData
Pipe 7 open for writing, checking to see if it would block on write
Sending Data!... (2)
Data written 2 of 2
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 1
Reading Status
readStatus: [GNUPG:] GOT_IT
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 1
Reading Status
readStatus: [GNUPG:] GET_LINE keygen.size
entering writeData
Pipe 7 open for writing, checking to see if it would block on write
Sending Data!... (5)
Data written 5 of 5
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 1
Reading Status
readStatus: [GNUPG:] GOT_IT
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 1
Reading Status
readStatus: [GNUPG:] GET_LINE keygen.valid
entering writeData
Pipe 7 open for writing, checking to see if it would block on write
Sending Data!... (3)
Data written 3 of 3
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 1
Reading Status
readStatus: [GNUPG:] GOT_IT
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 1
Reading Status
readStatus: [GNUPG:] GET_LINE keygen.name
entering writeData
Pipe 7 open for writing, checking to see if it would block on write
Sending Data!... (5)
Data written 5 of 5
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 1
Reading Status
readStatus: [GNUPG:] GOT_IT
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 1
Reading Status
readStatus: [GNUPG:] GET_LINE keygen.email
entering writeData
Pipe 7 open for writing, checking to see if it would block on write
Sending Data!... (14)
Data written 14 of 14
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 1
Reading Status
readStatus: [GNUPG:] GOT_IT
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 1
Reading Status
readStatus: [GNUPG:] GET_LINE keygen.comment
entering writeData
Pipe 7 open for writing, checking to see if it would block on write
Sending Data!... (39)
Data written 39 of 39
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 1
Reading Status
readStatus: [GNUPG:] GOT_IT
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 1
Reading Status
readStatus: [GNUPG:] NEED_PASSPHRASE_SYM 2 3 2
Writing new passphrase.
entering writeData
Pipe 7 open for writing, checking to see if it would block on write
Sending Data!... (5)
Data written 5 of 5
entering writeData
Pipe 7 open for writing, checking to see if it would block on write
Sending Data!... (5)
Data written 5 of 5
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 0
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 0
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 0
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 0
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 0
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 0
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 0
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 0
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 0
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 0
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 0
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 0
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 0
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 0
Starting read status loop.
Checking if read would block on pipes
Streams read for reading: 0
Starting read status loop.
Checking if read would block on pipes