1 |
On 01/17/2018 07:20 AM, Mick wrote: |
2 |
> On Wednesday, 17 January 2018 13:51:20 GMT thelma@×××××××××××.com wrote: |
3 |
>> On 01/16/2018 11:47 PM, Alexander Ben Nasrallah wrote: |
4 |
>>> On Tue, Jan 16, 2018 at 10:51:40PM -0700, thelma@×××××××××××.com wrote: |
5 |
>>>> When I try to decrypt a file I get: |
6 |
>>>> |
7 |
>>>> gpg2 text.asc |
8 |
>>>> ... |
9 |
>>>> gpg: public key decryption failed: No pinentry |
10 |
>>>> gpg: decryption failed: No secret key |
11 |
>>>> |
12 |
>>>> app-crypt/pinentry-1.0.0-r2 is installed |
13 |
>>> |
14 |
>>> Sometime you have to set one of the following. |
15 |
>>> |
16 |
>>> # PIN entry program |
17 |
>>> pinentry-program /usr/bin/pinentry-curses # no X |
18 |
>>> pinentry-program /usr/bin/pinentry-qt |
19 |
>>> pinentry-program /usr/bin/pinentry-kwallet |
20 |
>>> pinentry-program /usr/bin/pinentry-gtk-2 |
21 |
>>> |
22 |
>>> to whatever suits you in ~/.gnupg/gpg-agent.conf. |
23 |
>>> |
24 |
>>> Hope that helps. |
25 |
>> |
26 |
>> OK, "gpg2 text.asc" it works now at the computer terminal but when I |
27 |
>> log-in over "ssh" |
28 |
>> it still giving me same error. |
29 |
> |
30 |
> Have you logged in as a user which has a key pair configured on the PC? |
31 |
|
32 |
I just copied 'scp' entire subfolder ".gnupg/" from one system to |
33 |
another. It works when I click on the file at the computer but not over |
34 |
ssh. |