On Ubuntu 12.04, I was having same issue. By changing group and owner of
`.gnupg/*` resolved this issue for me:

vishal@vishal:~$ ls -la | grep .gnupg
drwx------   2 root root     4096 Apr 23 18:12 .gnupg
vishal@vishal:~$ sudo chown -R vishal .gnupg
vishal@vishal:~$ sudo chgrp -R vishal .gnupg
vishal@vishal:~$ ls -la .gnupg
total 32
drwx------   2 vishal vishal 4096 Apr 23 18:12 .
drwxr-xr-x 135 vishal vishal 4096 Aug 16 09:07 ..
-rw-------   1 vishal vishal 9398 Oct 11  2011 gpg.conf
-rw-------   1 vishal vishal 1637 Apr 23 18:12 pubring.gpg
-rw-------   1 vishal vishal 1637 Apr 23 18:12 pubring.gpg~
-rw-------   1 vishal vishal    0 Oct 11  2011 secring.gpg
-rw-------   1 vishal vishal 1200 Apr 23 18:12 trustdb.gpg

---------------------
Now I can safely create PGP key.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/321287

Title:
  Seahorse won't generate a key when .gnupg directory owned by root,
  only gives unhelpful "General error"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/seahorse/+bug/321287/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to