About UsServicesSolutionsSupportContacts

Links

  Tutorials
  GnuPG
  
   Hacks and Add-ons
  Agorascript with buttons
  
   Tips
  Will post when requested
  
  
   
  
  
   
  
  
  
  
 
GNuPG And Agoracart
 

Creating GnuPG Keys Part Three

You should create a revocation key for your public key only if the public key is published. We will not be publishing this public key.

Exporting your public key

Now you need to generate a text copy of the public key, which will be used in the Agoracart manager to encrypt your E-Mails.
At the command/dos screen navigate to your C:\Program Files\GNU\GnuPG folder.
cd c:\
cd C:\Program Files\GNU\GnuPG
IMG
Type in:
gpg --armor --output nobodypub.txt --export nobody@noplace.com
NOTE: The spaces in the command are required. note where the spaces are then type exactly as shown above.
Of course customize nobodypub.txt and nobody@noplace.com to your requirements. Name the file "nobodypub.txt" to something that allows you to easily identify the proper key by fact that it is a public key and the fact that it is to be used for your store only. You need to be able to identify that it is a public ASCII key and not a private ASCII key from the file name.  This is why we use the "--output" command with pub in the file name.
Replace the export E-Mail addy with the E-Mail addy you entered when creating your keyset. IMG
An ASCII text file will be created with your public key in the C:\Program Files\GNU\GnuPG folder. When opened in notepad or another reliable plain text editor the file contents will display whether or not it is the public key or the private key. Ex.
-----BEGIN PGP PUBLIC KEY BLOCK-----
This labels this particular file as "pub" as shown in the nobodypub.txt file name for easy identification. Remember, this key is to be used only for your store's GNUPG encryption. do not distribute.

Exporting your private key

Next you need to export a text copy of the private key which, is used to decrypt your Agoracart merchant E-Mails. There is no need to generate the Private Key for any reason other than for back-up purposes. Except, maybe, if you're going to be using the same keyset on different computers.
Generating the private key is very similar to generating the public key...
If not already there, at the command/dos screen navigate to your C:\Program Files\GNU\GnuPG folder.
cd c:\
cd C:\Program Files\GNU\GnuPG
IMG
Type in:
gpg --armor --output nobodysecret.txt --export nobody@noplace.com
NOTE: The spaces in the command are required. note where the spaces are then type exactly as shown above.
Of course customize nobodysecret.txt and nobody@noplace.com to your requirements. Name the file "nobodysecret.txt" to something that allows you to easily identify the proper key by the fact that it is SECRET and is to be used for the store only. You need to be able to identify that it is a SECRET ASCII key and not a PRIVATE ASCII key!  This is why we use the "--output" command with secret in the file name.
Replace the export E-Mail addy with the E-Mail addy you entered when creating your keyset. IMG
An ASCII text file will be created with your SECRET key in the C:\Program Files\GNU\GnuPG folder. When opened in notepad or another reliable plain text editor the file contents will display whether or not it is the public key or the private key. Ex.
-----BEGIN PGP PRIVATE KEY BLOCK-----
This labels this particular file as "secret" as shown in the nobodysecret.txt file name for easy identification. Remember only you should have access to this key. do not distribute and keep archived under high encryption!.

 
 
 
© 2003 - 2006 CartSolutions.net. All rights reserved. Terms of Use and Disclaimer