Re: NCSA Mosaic/HTTPD & PGP... Anyone got it working?
Rob McCool (robm@ncsa.uiuc.edu)
Wed, 9 Feb 1994 21:36:45 --100
/*
* 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