CREATING PGP SIGNED WEB PAGES

CREATING PGP SIGNED WEB PAGES

To PGP sign a web page (assume name is WEBPAGE.HTM) do the following:

	1) Add ' -->' (without the quotes) as the first line of the page.
	2) Add '<TT>-----BEGIN PGP SIGNED WEB PAGE-----</TT>' as 
the next line after the <BODY> tag.
	3) Remove the </BODY> and </HTML> tags from the end of 
the page.
	4) Add '<PRE>' at the end of the page. 
	5) Check the page to ensure that there are no lines starting 
with a hyphen. If there are, insert a space before the hyphen as in 1).
	6) Sign the page, PGP -sat WEBPAGE.HTM with ClearSig=on either 
in the command line or in CONFIG.TXT or PGP.INI. This will produce 
WEBPAGE.ASC
	7) Edit WEBPAGE.ASC by adding '<!--' as the first line, and the 
tags '</PRE>', '</BODY>', and '</HTML>' at the end. 
Overwrite WEBPAGE.HTM with this modified file.
	8) Check the result by running PGP WEBPAGE.HTM. A successful 
result will also produce WEBPAGE.
	9) Upload WEBPAGE.HTM, and wipe WEBPAGE and WEBPAGE.ASC.

To modify a signed web page, first remove the first 3 lines, leaving the line added in 1) above; remove all after the <PRE> tag added in 4), make the changes, and start with 5) above.