|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
I need to execute the program gpg-agent on login under Mac OS. On execution, gpg-agent outputs a few commands which you need to execute to set various environment variables, eg: $gpg-agent --daemon --enable-ssh-support GPG_AGENT_INFO=/tmp/gpg-8xrpgL/S.gpg-agent:1013:1; export GPG_AGENT_INFO; SSH_AUTH_SOCK=/tmp/gpg-wFjfcv/S.gpg-agent.ssh; export SSH_AUTH_SOCK; SSH_AGENT_PID=1013; export SSH_AGENT_PID; I would normally take care of this with eval $(gpg-agent --daemon --enable-ssh-support). However, I would like gpg-agent to start on login as the logged in user AND for these environment variables to be accessible to all programs - particularly Thunderbird.app so that I can use gpg-agent in Thunderbird without having to start the latter from the command line. I have tried various solutions, including a login hook and adding the output from gpg-agent to .profile, but none of my attempts write to the environment such that the variables are accessible "globally". I am not that familiar with Mac OS and on my Linux machine I would add this to the X start up... I should be very grateful for any help! Take care, Ben _______________________________________________ Do not post admin requests to the list. They will be ignored. Unix-porting mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.