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
###########################
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to