Skip to main content
4 of 4
deleted 10 characters in body
Gilles 'SO- stop being evil'
  • 865.5k
  • 205
  • 1.8k
  • 2.3k

Use non-default keyring with gnome-keyring

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.

netigger
  • 163
  • 1
  • 1
  • 5