Decrypt without entering passphrase?

Berkant Özdemir
Thu, 15 Jun 2000 23:14:31 +0200

Hello list!
Is it somehow possible to decrypt a document without entering the
unlock-passphrase for secret keys?
I`m working on a php-script which automatically encrypts and then decrypts
Php lets you execute anything on commandline-level, just like typing into a
I already used "-batch" for batchmodus and trusted the key "fully", but gpg
still wants me to enter the phrase.
Anybody know how to skip/automate this? Is there a option where the
passphrase can be entered together
with the "--decrypt" command?

Ok, thank you for helping me!