Using PGP With FileLink Step-By-Step Guide

Top  Previous  Next

 

PGP setup is done using the FileLink Configurator under the Configure PGP tab.

 

In order to use PGP with FileLink, you must have your own PGP public/private key-pair. You can either create a new one or you can import one.

 

In order to encrypt a file with FileLink, you must have imported the recipient's public key before encryption.

 

In order to decrypt a file with FileLink, you must have exported your public key and sent it to the person who will be encrypting the file before they encrypt it.

 

Creating a New Key-Pair

 

You may create a key-pair using the FileLink Configurator by following these steps:

 

ØClick the 'Create Key' button.
ØMake sure the 'Create Empty Keyring' box is not selected.
ØYou must enter a user name; an email address and/or comment field are optional.
ØEnter the size. (default is 1024)
ØEnter an expiration date. (default is never)
ØEnter a Passphrase and verify it.
ØSave the passphrase to use it without specifying it in your script (for added security).
ØSelect the folder where the keyring will be created.
ØClick 'OK' to create the keyring and add the key-pair to this keyring.

 

Importing a Key-Pair

 

You may import a key-pair using the FileLink Configurator by following these steps:

 

ØClick the 'Create Key' button.
ØMake sure the 'Create Empty Keyring' box is selected.
ØSelect the folder where the keyring will be created.
ØClick 'OK' to create the empty keyring.
ØClick the 'Manage Keys' button.
ØClick the 'Import...' button.
ØBrowse to the folder where your exported PGP keyring is located.
ØSelect the file and click 'OK'.
ØYour key should now be imported and ready to use.

 

Any key from PGP Desktop (a product from PGP Corporation) must already have been created and exported, please see the documentation for PGP Desktop for instructions on how to create/export a key-pair using this product.

 

Importing a Public Key

 

You may import a public key using the FileLink Configurator by following these steps:

 

ØClick the 'Manage Keys' button.
ØClick the 'Import...' button.
ØBrowse to the folder where the public key file is located.
ØSelect the file and click 'OK'.
ØThe key should now be imported and ready to use.

 

A public key must have been exported and received in order to import the public key.

 

Encrypting a File

 

This is done using PGPENCRYPT script command. For example:

 

PGPENCRYPT "file_to_encrypt" "destination_encrypted_file" /user="Recipient1"

 

You must have already imported the recipient's public key.

 

Decrypting a File

 

This is done using PGPDECRYPT script command. For example:

 

PGPDECRYPT "encrypted_file" "c:\temp\output"

 

You must have already exported your public key and sent it to the recipient.