decrypting a file with passphrase in the command as an option

Vu, Tango TangoVu at
Thu May 3 22:10:39 CEST 2007

I tried to change the passphrase to blank but it keep giving me errors
both in Key Manager and GPA (btw, I am using GPG for Windows).  I then
tried to create a new key with blank passphrase and it wont let me.  How
do I remove a passphrase insteading of changing it?

-----Original Message-----
From: gnupg-users-bounces at
[mailto:gnupg-users-bounces at] On Behalf Of Werner Koch
Sent: Friday, April 27, 2007 3:08 AM
To: jjabour
Cc: gnupg-users at
Subject: Re: decrypting a file with passphrase in the command as an

On Thu, 19 Apr 2007 18:11, jjabour at said:

> <enter>
> please enter passphrase> ******
> and it works
> I would like to put the passphrase in the command so I wont be
prompted for
> it.  Can this be done?

Yes, the option is descriped in the man page.  But before you do that
you should think about it.  It is in almost all cases better to remove
the passphrase from the key.

We have this question here every few weeks.



Gnupg-users mailing list
Gnupg-users at

<font size="1" face="arial">This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender.

SOURCECORP, Incorporated

More information about the Gnupg-users mailing list