How to avoid Passphrase prompt

Aneesh Varghese aneesh at
Thu Feb 1 05:03:20 CET 2018

Hi Peter,
We need passphrase, but passphrase should be enter via code not from windows popup prompt.

Thanks & Regards

Aneesh Varghese

From: Peter Lebbing <peter at>
Sent: Wednesday, January 31, 2018 6:42 PM
To: Aneesh Varghese; gnupg-users at
Subject: Re: How to avoid Passphrase prompt

On 31/01/18 13:19, Aneesh Varghese wrote:
> is it possible to avoid the windows popup for entering the passphrase?

The simplest way to avoid the popup is to remove the passphrase from the
private key.

The private key is stored on your hard disk. If there is no passphrase
on the private key, anybody with access to your hard disk can decrypt
files. They can also do anything else with your key.

So you need to make sure that only you have access to the hard disk.

Is this acceptable?



I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <>

More information about the Gnupg-users mailing list