How to avoid Passphrase prompt

Aneesh Varghese aneesh at
Wed Jan 31 13:19:49 CET 2018

Hi Peter,

Currently I am able to decrypt the file using passphrase (passphrase entered via windows popup), is it possible to avoid the windows popup for entering the passphrase?

Thanks & Regards

Aneesh Varghese

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

On 31/01/18 12:47, Aneesh Varghese wrote:
> Thanks for your reply..
> How can we decrypt a file without passphrase prompt?

I don't understand what you want me to explain.

A file is decrypted by using the private key. If the private key is
passphrase-protected, you will need to enter that passphrase. I
explained how to remove the passphrase from the key.

The private key is stored as a file on your hard disk. If there is no
passphrase to protect it, anybody with access to the file can use the
private key. They can also decrypt files, and use the key however they
want. This is why it has passphrase protection normally.

> Passphrase is entered via code.

I don't understand what you mean.



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