6.0.0-beta1
9/24/25

[#2672] IMP hangs in creation of new key-pairs with GPG
Summary IMP hangs in creation of new key-pairs with GPG
Queue IMP
Queue Version 4.0.4-RC2
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester wmark.horde (at) hurrikane (dot) de
Created 09/24/2005 (7305 days ago)
Due
Updated 10/07/2005 (7292 days ago)
Assigned 10/02/2005 (7297 days ago)
Resolved 10/07/2005 (7292 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/07/2005 05:55:52 AM Michael Slusarz Comment #8
State ⇒ Resolved
Reply to this comment
Warning implemented in HEAD and 4.0.5.
10/02/2005 01:43:56 PM Chuck Hagenbuch Assigned to Michael Slusarz
State ⇒ Assigned
 
09/27/2005 07:59:02 AM Jan Schneider Comment #7 Reply to this comment
Maybe you should at least issue a warning that this action could take 
some time for now.
09/27/2005 06:46:10 AM Michael Slusarz Comment #6 Reply to this comment
Maybe system() or even passthru() will do the job of displaying
output (in some PRE tags).
No - PHP buffers output and, if using gzip compressed output 
buffering, this would be an absolute mess to get to work correctly (if 
even possible).  definitely not worth the extremely limited benefit we 
may get out of it.
09/24/2005 11:55:20 AM wmark (dot) horde (at) hurrikane (dot) de Comment #5 Reply to this comment
Maybe system() or even passthru() will do the job of displaying output 
(in some PRE tags).



Does it matter how long it actually takes? Users tend to becoming 
nervous if something does not change within 10-20 seconds, so you have 
to show them their wishes are executed.



This ticket's topic should be "IMP seems to be hanging at creation ....".



(It is a development and testserver and GPG works very well on that 
machine, Entropy might be the cause.)
09/24/2005 11:12:27 AM Jan Schneider Comment #4 Reply to this comment
I started the generation process and closed the window by accident.
The time I gained by that was good to eat something.
~20 minutes passed and I logged in again to start the process again -
to my surprise there were the keys!
The only explanation I have is that there is not enough entropy on the 
server. Is there anything running on that server, more users being 
logged in etc.?
- Advise the user to go eating something while generating takes place
This shouldn't happen on a sane system.
- or display a popup with GPG's output in order to show him the status.
This is probably not possible with PHP.
09/24/2005 10:41:34 AM wmark (dot) horde (at) hurrikane (dot) de Comment #3 Reply to this comment
After having written the bug report I logged in again to reproduce 
this issue with increased verbosity level of debugging.



I started the generation process and closed the window by accident. 
The time I gained by that was good to eat something.

~20 minutes passed and I logged in again to start the process again - 
to my surprise there were the keys!



In order to ensure everything was do correctly I have logged out and 
in with another user and started again generating the key-pairs and 
waited for about 6 minutes - no pair appeared. But there is one 
instance of GPG running, abviously invoked by IMP. (It ended 
successfully after ~20 minutes.)



Now, as I believe the keys will be generated successfully this time 
(again), I would recommend you one of the following:

  - Advise the user to go eating something while generating takes place

  - or display a popup with GPG's output in order to show him the status.


09/24/2005 09:20:26 AM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Works fine here. Try to track down, where it's hanging.
09/24/2005 09:04:55 AM wmark (dot) horde (at) hurrikane (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ IMP hangs in creation of new key-pairs with GPG
Queue ⇒ IMP
State ⇒ Unconfirmed
Reply to this comment
Activate GPG/PGP support and ensure it works by sending some encrypted 
emails (and receive some).



Switch to an other account which has no imported keys and try letting 
IMP generating some for your.



IMP will hang. You will wait forever for any change or new page.


Saved Queries