This is due to GnuPG 2.1 ignoring --secret-keyring:

    --secret-keyring file
        This is an obsolete option and ignored.  All secret keys are
        stored in the private-keys-v1.d directory below the GnuPG home
        directory.

But caff has its own GnuPG home (~/.caff/gnupghome by default), and
there is currently no configuration option to specify
ā€˜~/.gnupg/private-keys-v1.d’ as the location for private keys.  I'll
file a wishlist bug for that.  A dirty fix in the meantime is to symlink
the directory:

    rmdir ~/.caff/gnupghome/private-keys-v1.d
    ln -s ~/.gnupg/private-keys-v1.d ~/.caff/gnupghome

-- 
Guilhem.

Attachment: signature.asc
Description: Digital signature

Reply via email to