I'm using Gnome Keyring with GPG. Whenever I need to sign something, the keyring daemon takes over and does it for me.
However, if I do: export GNUPGHOME=/path/to/keyring from a Bash script and use gpg in that script, the keyring daemon doesn't take over.
Why is this? How can I change this, so that the keyring is used for other $GNUPGHOMEs as well?
If I run seahorse, I can see that the password for the keys that exists in /path/to/keyring is there.