Mfr PGP example

From SWCP Support Wiki
Revision as of 13:03, 29 May 2009 by Jamii (talk | contribs)
Jump to navigationJump to search
<html>
<head>
<title>Test new Mail Form Results</title>
</head>
<body bgcolor=#dce5ec>
<h1>Testing it</h1>
<form action="http://pages.swcp.com/cgi-bin/mail-form-results" method="POST">
<input type="hidden" name="required-fields" value="name">
<input type="hidden" name="form-owner" value="jk@swcp.com">
<input type="hidden" name="pgp-encrypt" value="alice@catz.com">
<input type="hidden" name="gpg-keyring" value="/users/jk/.gnupg/pubring.gpg">
<input type="hidden" name="subject-field" value="subject">
<input type="hidden" name="subject" VALUE="Order - One Cat">
<input type="hidden" name="return-link-name" value="Return to me">
<input type="hidden" name="return-link-url"
      value="http://pages.swcp.com/~jk/">
Name:<input type="text" name="name"><br>
Type:<input type="text" name="type"><br>
<input type="submit"  value="Submit">
</form>
</body>
</html>

The username in this example is jk. They have set up gpg and put alice@catz.com's public key on their GPG public keyring.