Mfr PGP example: Difference between revisions
From SWCP Support Wiki
Jump to navigationJump to search
New page: OK, this article was copied from an older article which talked about using PGP. We're now using GPG, and the tutorial hasn't been written just yet. Should be soon. |
|||
| (11 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
==Example of using mail-form-results with gpg== | |||
By the way, we are now using gpg as our PGP generator. You may see items named pgp, | |||
and items named gpg in the following example. This is as a result of our previous | |||
pgp strategy in which we provided both pgp 2.6.3 and gpg support. PGP 2.6.3 has been | |||
end of lifed for sometime and isn't available on modern system, so we're now only | |||
providing gpg support. | |||
<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''. | |||
Latest revision as of 13:22, 29 May 2009
Example of using mail-form-results with gpg
By the way, we are now using gpg as our PGP generator. You may see items named pgp, and items named gpg in the following example. This is as a result of our previous pgp strategy in which we provided both pgp 2.6.3 and gpg support. PGP 2.6.3 has been end of lifed for sometime and isn't available on modern system, so we're now only providing gpg support.
<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.