Re: NCSA Mosaic/HTTPD & PGP... Anyone got it working?

robm@ncsa.uiuc.edu (Rob McCool)
Errors-To: secret@www0.cern.ch
Date: Wed, 9 Feb 1994 21:36:45 --100
Message-id: <9402092033.AA09461@void.ncsa.uiuc.edu>
Errors-To: secret@www0.cern.ch
Reply-To: www-talk@www0.cern.ch
Originator: www-talk@info.cern.ch
Sender: www-talk@www0.cern.ch
Precedence: bulk
From: robm@ncsa.uiuc.edu (Rob McCool)
To: Multiple recipients of list <www-talk@www0.cern.ch>
Subject: Re: NCSA Mosaic/HTTPD & PGP... Anyone got it working?
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
Content-Length: 1666
/*
 * NCSA Mosaic/HTTPD & PGP... Anyone got it working?  by David Bianco
 *    written on Feb  9,  8:59pm.
 *
 * I've edited the pgp-{dec,enc} scripts, and set up PGP keyrings for 
 * the webmaster.  However, I get only authorization errors when I try to
 * use it:
 * 
 * || Escape character is '^]'.
 * || GET / HTTP/1.0
 * || Authorized: PGP entity="d.j.bianco@larc.nasa.gov"
 
That should be Authorization...
 
 * || Content-type: application/x-www-pgp-request
 * || 
 * || HTTP/1.0 401 Unauthorized
 * || Date: Wednesday, 09-Feb-94 19:51:53 GMT
 * || Server: NCSA/1.1
 * || MIME-version: 1.0
 * || WWW-Authenticate: PGP entity="webmaster@ice-www.larc.nasa.gov"
 * || 
 * || <HEAD><TITLE>Authorization Required</TITLE></HEAD>
 * || <BODY><H1>Authorization Required</H1>
 * || Browser not authentication-capable or 
 * || authentication failed.
 * || </BODY>
 * || Connection closed by foreign host.
 * 
 * I don't even get a chance to input my PGP-encrypted request...
 * 
 * I've verified that the webmaster and I can exchange encrypted messages
 * properly via email, so I know we have our PGP keys exchanged properly.
 * Does anyone have any ideas on this (or is it still too early? 8-)
 */

Have you tried from Mosaic? Did you get any errors either from Mosaic or
from httpd (in error_log)?

Something else you might want to try while troubleshooting is to take a
file, and pgp-enc from the command line, it into another file. If this
works, take that file over to your server, and pgp-dec it, and see if it
works. Both pgp-enc and pgp-dec work as filters, i.e. file on stdin is
transformed to stdout, and they take the remote entity name as argv[1].

--Rob