use text pinentry in the console

Fourhundred Thecat 400thecat at gmx.ch
Wed Feb 23 08:09:56 CET 2022


 > On 2022-02-23 07:05, Fourhundred Thecat via Gnupg-users wrote:
>  > On 2022-02-22 18:57, john doe via Gnupg-users wrote:
>> On 2/22/2022 5:28 PM, Fourhundred Thecat via Gnupg-users wrote:
>>
>> $ update-alternatives --config pinentry
>
> What I would like to achieve is, that only when I call gog from the
> commandline, (gpg -c foo.txt) is the text-based pinentry called

also, I tried adding an alias:

  gpg='gpg --pinentry-mode loopback'

but then, I have another problem. When I use

   gpg -c foo.txt

it only asks for password once, not twice. I would like to be asked
twice, to make sure the password is correct




More information about the Gnupg-users mailing list