[Bug 480034] [NEW] Seahorse corrupts trustdb.gpg databse when no password is given while creating an openGPG key
mahen
mahen.listes at tallur.net
Tue Nov 10 14:45:06 UTC 2009
Public bug reported:
Binary package hint: seahorse
Ubuntu 9.10, AMD64.
Well, this bug is quite easy to trigger.
Seahorse -> File -> New -> GPG Key
when a password is asked, don't choose any, just validate (it is accepted by seahorse as both (empty) passwords are the same :)
Then a popup window "key generation / primegen" is displayed for a very short time,
then the error windows is displayed : "general error".
OK, so far it's not an issue because it wasn't supposed to work.
BUT THEN all subsequent attempts to create a GPG key will fail. After
"key generation / primegen" is displayed for several minutes, you also
get "general error".
When I tried to create a key via the terminal I obtained :
gpg: fatal: /home/sandra/.gnupg/trustdb.gpg: base de confiance invalide
So I figured out that the .gnupg files were corrupted by my first
attempt to create a key while not providing any password. Indeed, there
were even some data in "pubring.gpg" with my name in it, that had been
added during my failed attempts.
Anyway, after deleting .gnupg, everything worked as expected. I still think, though, that this behaviour is a bug :)
Cheers, thanks for reading ;)
** Affects: seahorse (Ubuntu)
Importance: Undecided
Status: New
--
Seahorse corrupts trustdb.gpg databse when no password is given while creating an openGPG key
https://bugs.launchpad.net/bugs/480034
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list