If you keep gpg configurations in location different than default one (which is ~/.gnupg/) then you may need to tell gpg where is that configuration by using gpg --homedir <config-directory> and setting default key in gpg.conf by adding default-key 5D89...