http://qa.mandrakesoft.com/show_bug.cgi?id=2493





------- Additional Comments From [EMAIL PROTECTED]  2003-04-09 20:29 -------
>From the last xinitrc CHRPM: 
 
-=-=-=- 
Frederic Lepied <[EMAIL PROTECTED]> 2.4.4-76mdk 
 
- enable to source /etc/X11/xinit.d scripts if they contain the special 
comment "# to be sourced" (bug #2493) 
 
 
 
I guess this means that now we *can* just drop something in xinit.d. Notice it 
even references this bug. =) 
 
Okay, to summarize: 
 
In the short term, I guess the fix should be to just put a gpg-agent script in 
xinit.d -- this script should appropriately start (or not) gpg-agent and set 
the correct environment variables. This will fix this bug and also 1292. 
 
In the longer term, Buchan has recommended keychain as a way to do things 
better than ssh-agent and gpg-agent currently do. I don't know much about 
keychain at the moment, so I'll go research it some, as it sounds nice. I guess 
we probably ought to move discussion for a keychain-based solution to cooker or 
file a wishlist bug against the keychain package (for gpg-agent support). 

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: NEW
creation_date: 
description: 
It would be great if gpg-agent could be automatically started at X start when people 
use kmail AEGYTEN crypto plugins. 
 
The attached patch and script I currently use could make it. 
 
The patch ensure that if the script is installed it is run in the current shell 
context 
(this is very important to get the GPG_AGENT_INFO env variable available on the 
desktop) 
 
The script kills all previous gpg-agent process for the user login in and starts a new 
one, exporting the correct env variable.

Reply via email to