GnuPG will infer those from homedir, and newer versions of GnuPG (2.1.x and later, IIRC) do not store secret keys in secring.gpg but under private-keys-v1.d/.
This caused decryption failures for me, as the gpg subprocess couldn't find any private keys.
GnuPG will infer those from
homedir
, and newer versions of GnuPG (2.1.x and later, IIRC) do not store secret keys insecring.gpg
but underprivate-keys-v1.d/
.This caused decryption failures for me, as the
gpg
subprocess couldn't find any private keys.