gpg and apacheSSL problem

Anthony E. Greene agreene@pobox.com
Wed Apr 3 15:44:01 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 2 Apr 2002 wallis@walc.com wrote:
>I'm running gpg 1.0.6 on Linux with Apache SSL 1.3.6. I'm trying to
>set up secure email from the server to my clinet via Gnupg and
>pgpmail. However, on this system, the secure server is set to run as a
>userid other than my own, with the end result that gpg can't get the
>keyrings. Here's the output from gpg:

Create a public keyring with only one key: the key needed for this 
application. Geenrate a key pair just for this app.

>gpg: Warning: using insecure memory!

You can set gpg to suid root if you want to avoid this error message and 
ensure your plaintext is not available to other processes on the server.

>gpg: loaded digest 2
>gpg: using secondary key E9E9B0EB instead of primary key 9AA75E9D
>gpg: E9E9B0EB: no info to calculate a trust probability

Use the --always-trust option to fix this error message.

>gpg: no valid addressees
>gpg: [stdin]: encryption failed: no such user id

Put the keyring for this app in a directory that's readable by Apache and 
specify that directory on the commandline using the --homedir option.


Tony
- -- 
Anthony E. Greene <mailto:agreene@pobox.com>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Chat: TonyG05      HomePage: <http://www.pobox.com/~agreene/>
Linux: the choice of a GNU Generation. <http://www.linux.org/>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene 0x6C94239D <agreene@pobox.com>

iD8DBQE8qwcbpCpg3WyUI50RAh/QAJsHWS8BAev5WOHnrnBOptri5q4PPACghCPJ
iBXFS/0MJw1vjzHfPNrEwC8=
=TTOc
-----END PGP SIGNATURE-----