Introduction to Computer Forensics
PGP Lab Practice
- Open a new e-mail account (for example on yahoo) to use in this lab.
- Open PGP: START->Programs->PGP->PGP Desktop
- First, we need to create our keys. To create public and private keys do the following:From File Menu choose New PGP Key and follow directions.
- After the pair of keys was created you can encrypt and decrypt messages, but first we will export your public key to the file, so you can send you public key to others.
- To export the public key to the file do the following:
- Click PGP Keys
- Click My Private Keys
- Highlight the key in the big window and click on File Menu
- Choose Export ->Key
- Choose the file name and directory where you will store the key.
Encrypting a message in a file for local use:
- Open the Word and type in the following text: This is a forensics course
- Make sure that the file is saved but remains open
- Click on PGP lock icon
- Select Current Window
- Choose Encrypt or Encrypt and Sign
- Check Conventional Encryption
- Click OK and follow directions
- You can save encrypted message in the file and send it my e-mail to others.
Decrypting the file:
- The file with encrypted message should be on the screen
- Click PGP lock
- Select Current Window
- Click Decrypt and Verify
- Follow directions (you would need to provide a password that you use in encryption).
- The original message appears in the text viewer window.
Public Key Encryption and Decryption:
- You have already generated a pair of keys
- You have exported the key into the file – this is your PUBLIC KEY
- You can send it to others so others would be able to encrypt the message and send it to you and you would be able to use your PRIVATE KEY to decrypt
- To encrypt using public key, do the following:
- Open the file that you would like to encrypt (we can use the same file)
- Click PGP icon and select Current Window again
- Click Encrypt
- In the key selection dialog box, the upper window shows you the public key that you currently can use to encrypt. In our case, we have only your own public key.
- Drug the public key that you would like to use from the top window to the bottom window and click OK. You will see the encrypted file on the screen.
- You can save the encrypted message in the file and send it to the person whose public key was used in encryption.
- To decrypt, open the file with encrypted message (the file should be open, we didn’t close this file).
- Click PGP icon and select Current Window and then Decrypt and Verify
- Type the password (that you used when you created the keys) to decrypt.