decrypting a file with passphrase in the command as an option

Werner Koch wk at gnupg.org
Fri Apr 27 10:07:39 CEST 2007


On Thu, 19 Apr 2007 18:11, jjabour at nshs.edu 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.


Salam-Shalom,

   Werner





More information about the Gnupg-users mailing list