Mailinglist Archive: opensuse (1352 mails)

< Previous Next >
Re: [opensuse] KGPG : Serious fault
On 2018-06-03 20:14, Anton Aylward wrote:
On 03/06/18 10:43 AM, David C. Rankin wrote:
There may be a mismatch in your pinentry package, You have 3 (maybe 4)
options. On 42.3 you have

pinentry
pinentry-gtk2
pinentry-qt4

Well DUH!

/usrbin/pinrentry is a script.
Therein is code to detect what desktop you are using.
If it is looking for KDE4 and you are using KDE5 then you have a problem.
See line 47. Change that 4 to 5

I see XFCE is not listed, either. I see a pin-entry window when I type the
passphrase, but I didn't pay much attention. I'll see next time.

[Ah, it is pinentry-gtk2]

I use gpg-agent:

root \_ /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten
tcp vt7 -novtswitch
root \_ lightdm --session-child 12 19
cer \_ /usr/bin/ck-launch-session /usr/bin/dbus-launch --sh-syntax
--exit-with-session /usr/bin/ssh-agent /usr/bin/gpg-agent --sh --daemon
--keep-display --write
cer \_ /bin/sh /etc/xdg/xfce4/xinitrc --
/etc/X11/xinit/xserverrc
cer \_ /usr/bin/ssh-agent /usr/bin/gpg-agent --sh --daemon
--keep-display --write-env-file /home/cer/.gnupg/agent.info-Telcontar:0
/home/cer/.xinitrc
cer \_ /usr/bin/gpg-agent --sh --daemon --keep-display
--write-env-file /home/cer/.gnupg/agent.info-Telcontar:0 /home/cer/.xinitrc
cer \_ xfce4-session


In Session and start up, tab Application Autostart, I have marked:

"Certificate and Key Storage (Gnome Keyring: PKCS#11 Component)"
"SSH Key Agent (GNOME Keyring: SSH Agent)"
"Seahorse Agent (Remember GPG passphrases)" (I think it doesn't work :-?)
"Secret Storage Service (GNOME Keyring: Secret Service)".

I have to create a new user and find out what is started there.

I also see "KDEConnect daemon", which I disable instantly. I had a suspicion it
was there.

On a new virtual machine, created under 15 beta, I have:

"Certificate and Key Storage (Gnome Keyring: PKCS#11 Component)"
"Secret Storage Service (GNOME Keyring: Secret Service)"
"SSH Key Agent (GNOME Keyring: SSH Agent)"

But I haven't created a PGP key there yet, nor used it.

Let me see... Menu, Accessories, Passwords and Keys. It opens Seahorse.
File/New, then PGP Key.

Fine, that was trivial.

Now, create a sample encrypted file using "emacs sample.gpg". Oh, emacs is not
installed. Do it.
Grumble... no internet in VB. Change. Grumble. Reboot. Got it.

Create sample.gpg file with emacs - it is using symmetric encryption (I don't
remember if this is what I want).

Well, the key is cached for reading, but is requested twice for writing. This
is different.

The key dialog is not identified, but I see that pinentry-gtk-2 is running, was
started a minute ago.

--
Cheers / Saludos,

Carlos E. R.
(from 42.3 x86_64 "Malachite" at Telcontar)

< Previous Next >
Follow Ups