Add more options to gpg-agent-spawn.sh, and remove GPG_TTY environment var.
authorW. Trevor King <wking@drexel.edu>
Sun, 25 Mar 2012 13:10:19 +0000 (09:10 -0400)
committerW. Trevor King <wking@drexel.edu>
Sun, 25 Mar 2012 13:10:19 +0000 (09:10 -0400)
commit77dca0d137bf9cb0d273915757c182c4e1cb439c
tree0b09828ac6b6dae9341d333e1bca4a844cd21d1f
parent1731f326c15294d2c26bff4104e10e5a4bffa1b7
Add more options to gpg-agent-spawn.sh, and remove GPG_TTY environment var.

The point of GPG_TTY is to tell gpg-agent what terminal to steal with
the pinentry program.  Because I like to keep my pinentry bound to the
terminal from which I ran gpg-agent-spawn.sh, it's easier to lock
gpg-agent into that terminal when I spawn it, and avoid reliance on
other terminals setting GPG_TTY appropriately.  This should also avoid
problems with GPGME, which seems to ignore GPG_TTY.
posts/gpg-agent/gpg-agent-spawn.sh