pinentry dialog

Amitesh Mishra amiteshmishra2005 at gmail.com
Tue Oct 25 05:06:30 CEST 2016


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 --passphrase-fd 0 --output
$CONTACTDECRYPT --yes --decrypt $CONTACTTARGET");

where
$PASSFILE = 'abc123$$';
$CONTACTTARGET = "XXX.pgp";
$CONTACTDECRYPT = "text.dat";

2. preset passphrase as shown below :
C:\Program Files (x86)\GnuPG\bin>gpg-connect-agent --homedir C:\Users\XXX\Ap
pData\Roaming\gnupg "preset_passphrase
B6938993903C4590B75FA651035A38377BE10CD8
-1 53656324537465663123313233" /bye
OK

Please suggest what i need to do so that i am able to pass on the
passphrase without the pop up.

-- 
############################
Thanks & Regards,
 Amitesh Mishra
###########################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20161024/98f79818/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 11064 bytes
Desc: not available
URL: </pipermail/attachments/20161024/98f79818/attachment.png>


More information about the Gnupg-users mailing list