gpg-agent

Pollywog lists-fbsd at shadypond.com
Wed Jul 11 05:18:54 UTC 2007


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.



More information about the freebsd-questions mailing list