Re: Help getting gtk or qt pinentry dialog forwarded over ssh connection

2022-01-24 Thread Werner Koch via Gnupg-users
On Sun, 23 Jan 2022 21:12, Arjun said: > I have GPG_TTY=$(tty) set in my .bashrc. However, when I ssh in > > ssh remote By default ssh does not allow X forwarding. You need to use an extra option to ssh to allow X programs on the remote to work on your (local) X-server. A quick test is to

Help getting gtk or qt pinentry dialog forwarded over ssh connection

2022-01-24 Thread Arjun via Gnupg-users
Hi I have a very basic gnupg setup on a remote server, with the following options set for the gpg-agent. Please cc me on the replies since I have not subscribed. #pinentry-program /usr/bin/pinentry-curses #pinentry-program /usr/bin/pinentry-tty #pinentry-program /usr/bin/pinentry-qt #pinentry-pr

Re: pinentry dialog

2016-10-29 Thread Peter Lebbing
On 26/10/16 19:57, Amitesh Mishra wrote: > If i remove the pinentry parameter, the same password works fine. Any > suggestions on that ? I just used $ echo test | gpg2 --no-tty --batch --pinentry-mode loopback --passphrase-fd 0 -o test.out --yes -d test.gpg as a variation on the precise invocati

Re: pinentry dialog

2016-10-26 Thread Amitesh Mishra
Thanks Peter for your reply. When i tried adding "--pinentry-mode loopback" in the argument, i dont get the pinentry dialog but it says: *gpg: encrypted with 2048-bit RSA key, ID 035A38377BE10CD8, created 2016-09-23* * "XXX Inc. "* *gpg: public key decryption failed:

Re: pinentry dialog

2016-10-26 Thread Peter Lebbing
On 25/10/16 05:06, Amitesh Mishra wrote: > 1. Added the passphrase to the perl script in the following manner > > system ("type $PASSFILE | gpg --no-tty --batch --passphrase-fd 0 --output > $CONTACTDECRYPT --yes --decrypt $CONTACTTARGET"); You need to add "--pinentry-mode loopback" to the argume

pinentry dialog

2016-10-24 Thread Amitesh Mishra
hi , I am using GnuPG 2.1.15 version installation on windows 2008 R2. [image: Inline image 1] While decryption , the pinentry pop up shows up although i have tried the following: 1. Added the passphrase to the perl script in the following manner system ("type $PASSFILE | gpg --no-tty --batch -