How to start gpg-agent? / Fwd: Re: startkde script modification question

Moritz Moeller-Herrmann mmh@gmx.net
Tue Jan 28 12:19:07 2003


--Boundary-02=_GE+J+m9YplG072a
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Description: signed data
Content-Disposition: inline



=46orwarded Message:

>  Ralf Nolden wrote:

>  > while working myself (again) through the gpg/aegypten/smime stuff for
>  > debian packages (which we at credativ where I work will use for an
>  > installation),
>  > the thing for using KMail with Aegypten  depends much on proper
>  > configuration of the system. Now; one critical thing is to make the
>  > gpg-agent start up, so

>  > http://kmail.kde.org/kmail-pgpmime-howto.html

>  > advises to start it in ~/.xsession or in startkde. I'd prefer to have a
>  > test for gpg-agent in the PATH and start it properly as the example sa=
ys
>  > during KDE startup if it is there:

>  > Before using gpg, you need to start gpg-agent:

>  > eval "$(gpg-agent --daemon)"


>  > (gpg-agent outputs a little shell script that sets the environment
>  > variable GNUPG_AGENT_INFO). You may want to add this to your ~/.xsessi=
on
>  > or startkde so that all programs see the environment variable.

> This approach sucks, IMHO, because if I start kmail via remote x (ssh -X
> user@host.com kmail), neither the bashrc nor statkde is ever used. Can't=
=20
> kmail just start the agent if it is not running? have the agent create a=
=20
> pid file somewhere in /var, and check for existance on startup...

> Environment variables suck for gui programs, there is no way to set them
> globally, once the desktop is running.

Mir brauchst du das nicht zu sagen :-) Schick das doch mal an Marc Mutz,
gpa-dev@gnupg.org und an kde-core-devel / kmail@kde.org :-)


=2D-=20
Moritz Moeller-Herrmann mmh@gmx.net wiss. Mitarbeiter, IMGB
	La loi, dans un grand souci d'=E9galit=E9, interdit aux riches comme aux
	pauvres de coucher sous les ponts, de mendier dans les rues et de voler
	du pain.=20
	(ANATOLE FRANCE)
=20

--Boundary-02=_GE+J+m9YplG072a
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+J+EGNK5F2s9Xe10RAmwzAKDBqmgGAnOCsOeSr4SLltmJtn/roQCdGwrS
0fyF+R58JY9PrA+DJTzK7AU=
=jVmB
-----END PGP SIGNATURE-----

--Boundary-02=_GE+J+m9YplG072a--