Usage of gnupg to automatically decrypt messages.

Naik, Sachin (Global Repo Systems)
Fri Aug 15 22:50:02 2003

I need to automatically decrypt messages. I don't want to pass in the passphrase in the options as it will then be highly visible to everybody.

Can there be a way just as we register the public key of using the secret key with the user name. So, it is as if we run the decrypt command and specify a keyId or name of the user and the registered
secret key gets picked up and the decryption takes place. Thereby I don't need to write down the passphrase.

Thanks in advance, 

Sachin Naik