Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] gnupg
Date: Wed, 03 Jan 2018 03:42:49
Message-Id: a42674b3-d0eb-2fd8-c6f0-a0c12883129e@sys-concept.com
In Reply to: [gentoo-user] gnupg by thelma@sys-concept.com
1 On 01/02/2018 08:39 PM, thelma@×××××××××××.com wrote:
2 > I've copied gpg key from one computer to another:
3 > scp -r ~/.gnupg user@remotehost:~/
4 >
5 > But when I try to decrypt a file it does not recognize a secret key
6 > ...
7 > gpg: public key decryption failed: No pinentry
8 > gpg: decryption failed: No secret key
9 >
10
11 The solution was to run:
12 killall -9 gpg-agent