On 01/02/2018 08:39 PM, the...@sys-concept.com wrote: > I've copied gpg key from one computer to another: > scp -r ~/.gnupg user@remotehost:~/ > > But when I try to decrypt a file it does not recognize a secret key > ... > gpg: public key decryption failed: No pinentry > gpg: decryption failed: No secret key >
The solution was to run: killall -9 gpg-agent