Hello, to use GnuPG to encrypt in a pipeline called from a webserver, CGI, or something else use: gpg --no-default-keyring --keyring /somewhere/keyring.gpg \ --always-trust --encrypt --recipient bla@foobar.org However, it isn't a good idea to sign the message because you must store the secret key on a public maschine and/or store the passphrase somewhere in the script. This is highly insecure. cu Michael