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:sat...@pgpru.com] Sent: Saturday, January 17, 2009 4:50 AM To: Lai, Thomas Cc: Gnupg-users@gnupg.org 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 www.vladmiller.info | www.pgpru.com _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users