Mailinglist Archive: opensuse-factory (355 mails)

< Previous Next >
[opensuse-factory] Re: Changes in gpg-agent / Plasma? SSH-Key no longer available in gpg-agent...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 3/12/20 4:23 AM, Johannes Kastl wrote:

was there a change recently that affects gpg-agent in Plasma?

I don't think so.

I just noticed this today, while I tried out Plasma+Wayland. Now it
is no longer working in Plasma (without Wayland), too.

That's your recent change -- using Wayland.

With Wayland, gpg-agent is not automatically started as part of your
desktop startup. Instead, it is started on demand. The effect is
that it cannot share environment variables with your desktop.
Software that uses gpg-agent depends on the socket being in a standard
place. But ssh clients don't know about that.

With X11, gpg-agent is still started as part of session startup.

If you login with Wayland, and then use a gpg command, gpg-agent will
be started at that time. If you now logout, and login with X11, the
left-over gpg-agent will still be running and will block the start of
gpg-agent as part of your X11 session. So maybe try rebooting and
then login to X11 before you conclude that it isn't working there.

There's probably a way to start gpg-agent with a script in
"$HOME/.config/plasma-workspace/env" so that it shares its environment
with your desktop session.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEv7/MJoKYXv2p0PaIZJcsjNEnCIUFAl5qVt8ACgkQZJcsjNEn
CIXCIQf/QZHF4bias6UbxWiHGndy1s41Lp5npRM9/zwrt7EQ4Ks2OntsVOr5lbpW
5CYKfS8EIm5p2hMAMx4/0tI8Ti04S0TRc/bQOBCmI2d8P7xIrzTXoujQRNwnjRjF
+P5jUXnWigOx/hha8y/68Qy1hNARD94lpuMmXc7ZUOE1nhvxOLzvHF4hJf6Kla4Q
pTAIJhBsrZRtbMDTN7+wQWuJCoKYuT6KsNaFNDhJx3uW/JmfyGdZqpNmtLrgDBlK
o81VN1p1UbxKjaJ+iQ9K/y6I+oPz+1tdg3lFcge2sSlKSINCD0u7cdUikFU2Tfcg
XKKyMmMi9Xu1FtfZjK5/77nq475hBw==
=dLVD
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
References