1 |
On 01/16/2018 11:47 PM, Alexander Ben Nasrallah wrote: |
2 |
> On Tue, Jan 16, 2018 at 10:51:40PM -0700, thelma@×××××××××××.com wrote: |
3 |
>> When I try to decrypt a file I get: |
4 |
>> |
5 |
>> gpg2 text.asc |
6 |
>> ... |
7 |
>> gpg: public key decryption failed: No pinentry |
8 |
>> gpg: decryption failed: No secret key |
9 |
>> |
10 |
>> app-crypt/pinentry-1.0.0-r2 is installed |
11 |
> |
12 |
> Sometime you have to set one of the following. |
13 |
> |
14 |
> # PIN entry program |
15 |
> pinentry-program /usr/bin/pinentry-curses # no X |
16 |
> pinentry-program /usr/bin/pinentry-qt |
17 |
> pinentry-program /usr/bin/pinentry-kwallet |
18 |
> pinentry-program /usr/bin/pinentry-gtk-2 |
19 |
> |
20 |
> to whatever suits you in ~/.gnupg/gpg-agent.conf. |
21 |
> |
22 |
> Hope that helps. |
23 |
|
24 |
OK, "gpg2 text.asc" it works now at the computer terminal but when I |
25 |
log-in over "ssh" |
26 |
it still giving me same error. |
27 |
|
28 |
gpg2 text.asc |
29 |
... |
30 |
gpg: public key decryption failed: End of file |
31 |
gpg: decryption failed: No secret key |
32 |
|
33 |
In my other boxes I don't have any entry in ~/.gnupg/gpg-agent.conf |
34 |
and it works OK even over ssh. |
35 |
|
36 |
Joseph |