Mfr PGP example: Difference between revisions

From SWCP Support Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 22: Line 22:
  </html>
  </html>


The username in this example is '''jk'''. They have set up gpg for the '''jk''' account and put alice@catz.com's public key on their GPG public keyring. By default GPG will create a subdirectory named .gnupg when you generate your keys. The public keyring is named ''pubring.gpg'', the private keyring is named ''secring.gpg''.
The username in this example is '''jk'''. We have set up gpg for the '''jk''' account and put alice@catz.com's public key on their GPG public keyring. By default GPG will create a subdirectory named .gnupg when you generate your keys. The public keyring is named ''pubring.gpg'', the private keyring is named ''secring.gpg''.

Revision as of 13:06, 29 May 2009

<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. We have set up gpg for the jk account and put alice@catz.com's public key on their GPG public keyring. By default GPG will create a subdirectory named .gnupg when you generate your keys. The public keyring is named pubring.gpg, the private keyring is named secring.gpg.