BareMetal.com

Baremetal
My Account
Domain Registration Management Services
Web Services
Rates and Specs
Bulk Rates
CGI Library
FAQ
Order Form
Tech Support
Billing Info
Company Info
Charities
Legal Info
Employment
Privacy Statement

BM


Web Services

PGP Encrypted Forms:;

Return CGI Library
Return Form Handling

This is most usefull in combination with the secure server.

To use PGP to encode your data, simply use a template and put <PGP> ... </PGP> around the part you want PGP encoded...

We typically put the non-sensitive information in the template twice, so that the PGP decoded version is complete, and the plaintext version has everything EXCEPT the sensitive data.

PGP Keys: The webserver needs to have your public key, and it needs to be able to find it. For the template specified by the "TEMPLATE" field, the key is searched for based on the address specified by the TO field (e-mail address that the data is being sent to). For "FORMAT" templates, the search is based on the value of the LOGIN field.

Example template (sample output below):



      Domain: {domain}{ext}
     Purpose: {purpose}

        Name: {firstname} {lastname}
Company Name: {companyname}
     Address: {address}
        City: {city}
       State: {state}
         ZIP: {zip}
     Country: {country}
       Phone: {telephone}
         Fax: {fax}
      E-Mail: {FROM}

Instructions: {instructions}

 Pay by Card: {paybycreditcard}
   Card Type: {cc}
      Number: SUPRESSED - SEE PGP version below
Name on Card: {nameoncard}
      Expiry: {expiremonth}/{expireyear}

END OF FORM

<PGP>
       Domain: {domain}{ext}
     Purpose: {purpose}

        Name: {firstname} {lastname}
Company Name: {companyname}
     Address: {address}
        City: {city}
       State: {state}
         ZIP: {zip}
     Country: {country}
       Phone: {telephone}
         Fax: {fax}
      E-Mail: {FROM}

Instructions: {instructions}

 Pay by Card: {paybycreditcard}
   Card Type: {cc}
      Number: {buyersid}
Name on Card: {nameoncard}
      Expiry: {expiremonth}/{expireyear}

END OF FORM
</PGP>


And this produces messages like the following:


      Domain: example.com
     Purpose:

        Name: Tom Brown
Company Name: Some Company
     Address: 123 Some St
        City: SomeTown
       State: BC
         ZIP: V8T 2B8
     Country: CA
       Phone: 123-555-1212
         Fax:
      E-Mail: someone@example.com

Instructions: Please Email as soon as I can get started.

 Pay by Card: yes
   Card Type: MasterCard
      Number: SUPRESSED - SEE PGP version below
Name on Card: Tom Brown
      Expiry: 12/99
END OF FORM
-----BEGIN PGP MESSAGE-----
Version: PGP for Personal Privacy 5.0
MessageID: /sq8l/X1eguIXVScZJu9aIn0zl1E29nm

hQCMA8H+q4vyAcT7AQP/UDkkW8x6BeHRl+uzA5/swhHRIyIQhg44nG4QiRwUjpY9
T3FT/GN2XQaYmGxDs7sPglL1cVRf+irgq99ujVXj5JW+3ZlvhG+U7JkpW3KlmbWL
rrx6TgI1PLAcUTaDqKAvLWcV52HZ11wElKyZi2jXbrpTTduir2MoC1O7/hXJ2mOl
AcM536CKNlFCZltpLi5Rxbr7NoTmTsMSbDn94YD7T0XTN1Bqre2Pis9Egz1+KfvL
nSzyGAIkcab/UPRH0c072EFt3blfcDcYCff7xeySAsWc5ggYeDC83tVD8qw67lAh
IucWNHOaiTO96HJ/GUT+uED3R9V38Jc/LCZpIaiHN6ygOSAarqyO0bJ2Rg4j6CxT
JustGoingToTypeOverSomeFaMFfgXwjeWgqSlIOFOv+eT99Mk/zYXtNAs+az33F
ofthistoMakeItInvalidpsymhMO7K0RiaL5Pcg4OVZzvOZZlVG9M9utuAiOxOqJ
ij+hYcZmU4yGmgl45u5liMFSSSVr7tqVL1eoKIoWxoAJtyopcBB5yL2KiH4qJ33m
rrIuuFP9L/BzAXn0EFnv1NSdvOVBhnOXVDB0oTUXTxNZOvHSm1XMh9ymWBmSctYw
2x7+XOxfRAvsfynCv3puCiZKXmTsGk5/GA/slSZcn/U8O+1VOTju6BFZqT/J9uF3
Zf6hJzOOk+2Xfi3br3zyazablbUm5GzkGWktIFm4oBwU6Cy4DA+msF6seNX9pRKu
zsHe0mq+0LFBf/qqFagbUqAlgS87
=PkA6
-----END PGP MESSAGE-----


 
Home Page    Domain Registration Services    Web Services    Technical Support
About Baremetal    Privacy Statement    Billing Info    Charities
My Account    Legal Info    Search BareMetal

Copyright © 1996-2012, BareMetal.com Inc.
Last updated: Thursday, 28-May-2015 16:14:55 PDT
Last Accessed from: fwdproxy-prn-029.fbsv.net
Questions and comments to support@baremetal.com