seahorse hangs generating PGP, if the computer does not have enough entropy

Bug #552616 reported by Ara Pulido
56
This bug affects 11 people
Affects Status Importance Assigned to Milestone
seahorse
Expired
Medium
seahorse (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: seahorse

Steps to reproduce:

* Create a new clean virtual machine with Lucid
* Try to generate a PGP key using gpg --gen-key. You will receive the following error:

Not enough random bytes available. Please do some other work to give
the OS a chance to collect more entropy! (Need 300 more bytes)

* But, if you try to do the same with Seahorse, instead of showing the error to the users, it just hangs with the dialog "Generating key"

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: seahorse 2.29.91-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-17.26-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-17-generic i686
Architecture: i386
Date: Wed Mar 31 17:13:24 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100324)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: seahorse

Revision history for this message
Ara Pulido (ara) wrote :
Changed in seahorse (Ubuntu):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
summary: seahorse hangs generating PGP, if the computer does not have enough
- entrophy
+ entropy
Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue doesn't seem to affect an action normal users will do often, not sure it should be team assigned this way, I would recommend sending the bug to GNOME there

Changed in seahorse (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Angel Abad (angelabad)
Changed in seahorse:
importance: Undecided → Unknown
status: New → Unknown
Changed in seahorse:
status: Unknown → New
Revision history for this message
Pablo Castellano (pablocastellano) wrote :

I was wondering if this is still an issue since some user has reported upstream that the issue has disappeared with seahorse 2.30.
If so, how can I reproduce it in order to fix it?

Revision history for this message
Prototype-T4286 (t-ato) wrote :

I have seahorse version 2.30 and this bug is still present for me. While the dialog box remains "generating key" if after a while I close it and restart the app I do see the key that was supposed to be made, and it functions as expected. So seahorse is creating working keys again, but the dialog box still hangs, at least that's what I experienced.

Revision history for this message
Sebastien Bacher (seb128) wrote :

is anybody still getting that issue in lucid?

Changed in seahorse (Ubuntu):
assignee: Canonical Desktop Team (canonical-desktop-team) → nobody
status: Confirmed → Incomplete
Revision history for this message
Alexander Gnodtke (gnodtke) wrote :

I am running Lucid with Seahorse 2.30 and I get a similar behavior as described by Prototype-T4286.
The "Generating key" dialog hangs but I have the "My personal keys" tab selected and eventually my new PGP key shows up without having to restart the application. I terminate the "Generating key" dialog manually.

Revision history for this message
Alexander Gnodtke (gnodtke) wrote :

UPDATE to my last comment: I took another look at the problem (Lucid, Seahorse 2.30 on VBox) and it turns out that the dialog is not hanging. On my machine it takes between 5-20mins for the key to be generated the dialog then closes properly. The "cancel" button on the dialog does not work and closing the dialog via the "x" lets the key be generated in the background that is why it pops up eventually. Sorry for the wrong conclusion earlier.

Changed in seahorse:
importance: Unknown → Medium
Revision history for this message
Andreas Moog (ampelbein) wrote :

On current precise, seahorse still doesn't show any information that more entropy is needed.

Changed in seahorse (Ubuntu):
status: Incomplete → Triaged
Changed in seahorse:
status: New → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.