Re: gpg-agent
On Tuesday 10 July 2007 19:24:33 Matt Emmerton wrote: > > I have been having trouble getting gpg-agent to work. kgpg complained > > about > > > the agent not running. I added this to my ~/.bashrc: > > > > GPG_TTY=`tty` > > export GPG_TTY > > > > This seems to have taken care of the problem but it only works when my > > default > > > shell is bash. If my shell is tcsh, it doesn't work. This is what I > > have > > in > > > my ~/.cshrc: > > > > setenv GPG_TTY tty > > > > Apparently this is wrong. Any ideas as to what I can try? > > I noticed that you're using backticks, so GPG_TTY gets set to the output of > the tty command - not the text "tty" itself. > Perhaps you want this? > > setenv GPG_TTY `tty` > Thanks, I forgot to put in the backticks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gpg-agent
> I have been having trouble getting gpg-agent to work. kgpg complained about > the agent not running. I added this to my ~/.bashrc: > > GPG_TTY=`tty` > export GPG_TTY > > This seems to have taken care of the problem but it only works when my default > shell is bash. If my shell is tcsh, it doesn't work. This is what I have in > my ~/.cshrc: > > setenv GPG_TTY tty > > Apparently this is wrong. Any ideas as to what I can try? I noticed that you're using backticks, so GPG_TTY gets set to the output of the tty command - not the text "tty" itself. Perhaps you want this? setenv GPG_TTY `tty` -- Matt Emmerton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gpg-agent problems...
One of you said something that go me thinking. I checked the value of GPG_AGENT_INFO, and noticed that it referenced an old instance of gpg-agent. I fixed this, now it works. Thanks! -- Aleph-null bottles of beer on the wall, Aleph-null bottles of beer, You take one down, and pass it around, Aleph-null bottles of beer on the wall. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gpg-agent problems...
On Thursday 20 May 2004 21:22, Eric Crist wrote: > On Thursday 20 May 2004 14:11, you wrote: > > On Thursday 20 May 2004 19:23, Eric Crist wrote: > > > Hello list, > > > > > > First off, please respond to me in a CC, as I'm not subscribed to this > > > list. > > > > > > Secondly, I've set this up a few times now, and it's always just > > > worked, but this time I've got errors. I'm trying to set up the > > > pgp/MIME plugin. Everything is working fine, except I never get the > > > pinentry-qt window. When I try to run the test, listed on > > > http://kmail.kde.org/kmail-pgpmime-howto.html, I get the following: > > > > > > %echo "test" | gpg -ase -r 0x3290089C | gpg > > > > > > You need a passphrase to unlock the secret key for > > > user: "Eric F Crist <[EMAIL PROTECTED]>" > > > 1024-bit DSA key, ID 33114086, created 2004-01-06 > > > > Does the window open when you use your default key? It's defined in > > ~/.gnupg/gpg.conf or whatever name you choosed for the config file. > > > > Try %echo "test" | gpg -ase -r 0x33114086 | gpg > > Well, that's basically the same thing I mentioned in my email, but here's > the out put of that, and no windows popped open. > > %echo "test" | gpg -ase -r 0x33114086 | gpg > > You need a passphrase to unlock the secret key for > user: "Eric F Crist <[EMAIL PROTECTED]>" > 1024-bit DSA key, ID 33114086, created 2004-01-06 > > gpg: problem with the agent - disabling agent use > Enter passphrase: Ok, then check your gpg-agent.conf file. You need to restart the gpg-agent if you add or change the gpg-agent.conf file. %cat ~/.gnupg/gpg-agent.conf pinentry-program /usr/local/bin/pinentry-qt no-grab default-cache-ttl 1800 If that doesn't work, you can give the gtk window a try. change the line pinentry-program /usr/local/bin/pinentry-qt in your gpg-agent.conf to pinentry-program /usr/local/bin/pinentry-gtk -- Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x941B6B0B OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu pgpYzuTEcPM2V.pgp Description: signature
Re: gpg-agent problems...
On Thursday 20 May 2004 14:11, you wrote: > On Thursday 20 May 2004 19:23, Eric Crist wrote: > > Hello list, > > > > First off, please respond to me in a CC, as I'm not subscribed to this > > list. > > > > Secondly, I've set this up a few times now, and it's always just worked, > > but this time I've got errors. I'm trying to set up the pgp/MIME plugin. > > Everything is working fine, except I never get the pinentry-qt window. > > When I try to run the test, listed on > > http://kmail.kde.org/kmail-pgpmime-howto.html, I get the following: > > > > %echo "test" | gpg -ase -r 0x3290089C | gpg > > > > You need a passphrase to unlock the secret key for > > user: "Eric F Crist <[EMAIL PROTECTED]>" > > 1024-bit DSA key, ID 33114086, created 2004-01-06 > > Does the window open when you use your default key? It's defined in > ~/.gnupg/gpg.conf or whatever name you choosed for the config file. > > Try %echo "test" | gpg -ase -r 0x33114086 | gpg Well, that's basically the same thing I mentioned in my email, but here's the out put of that, and no windows popped open. %echo "test" | gpg -ase -r 0x33114086 | gpg You need a passphrase to unlock the secret key for user: "Eric F Crist <[EMAIL PROTECTED]>" 1024-bit DSA key, ID 33114086, created 2004-01-06 gpg: problem with the agent - disabling agent use Enter passphrase: -- Mosher's Law of Software Engineering: Don't worry if it doesn't work right. If everything did, you'd be out of a job. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gpg-agent problems...
On Thursday 20 May 2004 19:23, Eric Crist wrote: > Hello list, > > First off, please respond to me in a CC, as I'm not subscribed to this > list. > > Secondly, I've set this up a few times now, and it's always just worked, > but this time I've got errors. I'm trying to set up the pgp/MIME plugin. > Everything is working fine, except I never get the pinentry-qt window. > When I try to run the test, listed on > http://kmail.kde.org/kmail-pgpmime-howto.html, I get the following: > > %echo "test" | gpg -ase -r 0x3290089C | gpg > > You need a passphrase to unlock the secret key for > user: "Eric F Crist <[EMAIL PROTECTED]>" > 1024-bit DSA key, ID 33114086, created 2004-01-06 Does the window open when you use your default key? It's defined in ~/.gnupg/gpg.conf or whatever name you choosed for the config file. Try %echo "test" | gpg -ase -r 0x33114086 | gpg -- Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x941B6B0B OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu pgpX05f9qR1go.pgp Description: signature