Need help for decrypt

Lai, Thomas Thomas.Lai at
Mon Jan 19 02:15:26 CET 2009

Hello Vlad "SATtva" Miller,

Your answer is very helpful. 

The first option is ok, however about the second, 
I could not find the option --passphrase-file in command gpg.
The gpg version I used is gpg (GnuPG) 1.2.1.

I find another option --passphrase-fd; I found it had the similar
function as --passphrase-file.

Anyway, really appreciated for your such good and quick reply.

Thank you and Best regards,

Thomas Lai /  FIL - Dalian

-----Original Message-----
From: Vlad "SATtva" Miller [mailto:sattva at] 
Sent: Saturday, January 17, 2009 4:50 AM
To: Lai, Thomas
Cc: Gnupg-users at
Subject: Re: Need help for decrypt

Lai, Thomas (16.01.2009 15:35):
> Is there any way to decrypt files without entering my private key's
> passphrass?

Yes. You could remove passphrase from your private key (do --edit-key
[your_key], then passwd, and finally save). Or you could write your
passphrase in some text file and supply it to gpg with --passphrase-file
parameter. Both options could be just fine or quite dangerous depending
on your security considerations and actual environment, I'll leave that
part alone.

SATtva | security & privacy consulting |

More information about the Gnupg-users mailing list