Comment 21 for bug 321287

Revision history for this message
nUboon2Age (nuboon2age) wrote : Re: Seahorse will not generate a key

Confirm this on Lucid 10.04 i686

Above is requested:

"please do a 'ls -l ~/.gnupg/*.gpg'. This will will list (among other things) which user and group owns the files.

There should be 3 files, pubring.gpg, secring.gpg, and trustdb.gpg. These 3 files -- in fact, *all* under ~/.gnupg -- should be owned by your userid, your group, not by root, or any other user.

Please comment on what you find.

Thanks."

Here is my finding:

$ ls -l ~/.gnupg/*.gpg
ls: cannot access /home/<username>/.gnupg/*.gpg: Permission denied
<username>@<computername>:~$ sudo ls -l ~/.gnupg/*.gpg
ls: cannot access /home/<username>/.gnupg/*.gpg: No such file or directory

My steps were: first I tried to generate a PGP key from the command line but failed and was unable to find the steps to do it properly that way. So I installed Seahorse.

1) Started Seahorse from menu
2) Tried 'Sync and publish keys' but that seemed to stall, so I cancelled it.
3) I press on the 'new' button to generate a new key. I select PGP key and press continue. I fill out the fields for 'real name', 'email address', and 'comment'. I so NOT click on the arrow for advanced options. I click on 'Create'. It asks me for a Passphrase for New PGP Key. I enter my password two times, the same both times. I click OK.

A box pops up with an error message in it:

Couldn't generate PGP key

General error