Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Question about configuring gpg-agent

2 views
Skip to first unread message

laredotornado

unread,
Oct 28, 2009, 1:22:02 PM10/28/09
to
I'm new to gpg and I just installed gpg and gpg-agent for Mac OS
10.5.6. Whenever I run the gpg command, I'm prompted for the
passphrase. Is there any skip that if I am running the command as a
particular user for a particular key? Here is an example interaction
below ...


ocho:~ dalvarado$ /opt/local/bin/gpg --trust-model always --sign --
force-mdc -e -a --homedir /Users/dalvarado/.gnupg --recipient 23AC19FF

You need a passphrase to unlock the secret key for
user: "Dave Alvarado <dalv...@www.colorado.gov>"
2048-bit RSA key, ID A34ED8DD, created 2009-09-30

gpg: gpg-agent is not available in this session
Enter passphrase:


What is also odd is that I'm told, "gpg: gpg-agent is not available in
this session" but I just installed the agent. Any help in
troubleshooting is appreciated, - Dave

David W. Hodgins

unread,
Oct 28, 2009, 7:45:34 PM10/28/09
to
On Wed, 28 Oct 2009 13:22:02 -0400, laredotornado <laredo...@zipmail.com> wrote:

> gpg: gpg-agent is not available in this session

The gpg-agent daemon needs to be started prior to running gpg. Normally
gpg-agent is run from a file that's executed once per login, such as
~/.profile.

I'm not sure what startup files are used in the Mac system. In bash,
it's /etc/profile followed by one of ~/.bash_profile, ~/.bash_login, or
~/.profile (only running the first one found). See man gpg-agent for
details.

If the keychain package is available, It can automate the startup of
gpg-agent and/or ssh-agent.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)

laredotornado

unread,
Oct 30, 2009, 9:48:17 AM10/30/09
to
On Oct 28, 5:45 pm, "David W. Hodgins" <dwhodg...@nomail.afraid.org>
wrote:

Thanks. I'm fairly certain the agent is running, my question is, how
do I tell it not to prompt me for passphrases for files encrypted with
a certain key?

- Dave

PsiloKephalos.MegaloGaster

unread,
Jan 10, 2010, 4:25:24 AM1/10/10
to
Am 28.10.2009 18:22, schrieb laredotornado:
> I'm new to gpg and I just installed gpg and gpg-agent for Mac OS
> 10.5.6. Whenever I run the gpg command, I'm prompted for the
> passphrase. Is there any skip that if I am running the command as a
> particular user for a particular key? Here is an example interaction
> below ...
>
That prompt is the price for the security of your private key. Thus,
skipping it woukd mean you can't use your private key securely. It has
to be that way, if you want a secure keyring.

PK.MG.

0 new messages