Ok! So the bug is still here but for me a little bit different. Being on
Ubuntu 19.10 with its own Gnome the situation is the following.
Originally the system has just 'gpg' not 'gpg2' BUT basically the
original 'gpg' is 'gpg2' as it's version is 'gpg (GnuPG) 2.2.12'. After
installing gpg2 there is no so much change it just gave me a symlink
from 'gpg2' to the system original 'gpg'. So basically now on 19.10 the
2 gpg is the same.
Let's check the keyring thingie. It is not too surprising that both of
them use the same home dir: 'Home: /home/{user}/.gnupg' and of course
the same keyring: /home/{user}/.gnupg/pubring.kbx. And because between
the 2 thing there is any differences.
So what about Seahorse. Ubuntu 19.10 has 'Seahorse 3.32.2'. If I import
a key from CLI through 'gpg' or 'gpg2' the key will be available int the
mentioned keyring and CLI gpg can use it. But if I import the key from
the Seahorse GUI the result what you all mentioned. Seems succeed but
after the 'successfully imported' message there is no new key in
Seahorse. Moreover the successfully imported key is also not in the gpg
keyring verifying from CLI. Seahorse tells the everything ok on the
import but the corresponding key is nowhere.
BUT! if you restart your gnome user session, VOILA the missing key
appearing in Seahorse.
Sadly restarting the seahorse daemon not do the work so we really need
to logout and login again.
This is very interesting as seems Seahorse not use directly the gpg
keyring (something like PAM in Samba processes what otherwise I never
understand completely), but a maintainer process sync their content.
So what I (we) know now that Seahorse simply not use gpg keyring as I
simply import anything in vain in Seahorse that not appear in gpg
keyring verified from CLI (and as the topic bug tells it also sadly not
appear in Seahorse itself:D but in this case who know were are
they?!...). Also in vain, if I imported anything in CLI gpg, the result
is perfect in CLI gpg, but not appear in Seahorse.
And partly therefore the other thing is the conclusion, that Seahorse
use 2 different backend for itself and those both are different from CLI
gpg keyring (what is not so nice). One backend is used by the GUI and
another is in real processes. And what I can see that the 2 backend sync
each other at user login (something like as PAM with Samba).
Very interesting working method and it would be really nice to have a
fix on it as the current result is more then uncomfortable. But if at
least the GUI could communicate this also would be more than nothing.
Thanks for your attention and efforts also in advance!
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to seahorse in Ubuntu.
https://bugs.launchpad.net/bugs/1577198
Title:
Imported gpg keys do not show up in Seahorse 3.18.0
Status in seahorse:
New
Status in seahorse package in Ubuntu:
Triaged
Bug description:
After clean install of Ubuntu-Gnome 16.04 LTS I tried to import all my
previous exported gpg keys. Although it seems the keys are imported,
they do not show up in seahorse (Passwords and Keys). Also Evolution
did not find to proper keys to decrypt messages.
It seems however that the keys have been imported under gpg1 in stead
of gpg2. This can also be confirmed with the list command (gpg --list-
key and gpg2 -- list-keys).
Importing all keys by command (gpg2 --import Multiple_Keys.asc) seems
to work.
See also the same problem already reported by Andreas Happe on:
https://www.snikt.net/blog/2016/02/27/evolution-seahorse-gpg-gpg2-woes/
To manage notifications about this bug go to:
https://bugs.launchpad.net/seahorse/+bug/1577198/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp