Encryption Assignment (Windows)

.docx

School

George Mason University *

*We aren’t endorsed by this school

Course

110

Subject

Computer Science

Date

Jan 9, 2024

Type

docx

Pages

3

Uploaded by DeanDogMaster922

Report
PART 1 Installation: Goto: https://www.gnupg.org/download/index.html Scroll to "GnuPG binary releases". Click "Gpg4win" next to Windows. This will bring you to a 3rd party site. Click the big green download button labeled "Gpg4win 4.1.0 Size: 27 MByte". Set your donation amount to "$0" and click the blue "Download" button. Run the downloaded .exe file. Allow the app to make changes to your device if prompted. Proceed through the Setup wizard until you reach "Choose Components". Ensure GnuPG and Kleopatra are checked. You may uncheck everything else. Click "Next". Program Files(x86) is the recommended install location, but you can choose whatever you want. Click Install. Check "Run Kleopatra" and click "Finish". Create a key: Click on "File->New OpenPGP Key Pair" Enter your name and mason email. It will only be visible to you. Leave "Protect the generated key with a passphrase." unchecked. Click on Advanced Settings. Click the circle marked "RSA" and ensure the box marekd "+ RSA" is checked. Set both to 2,048 bits. Leave everything under "Certificate Usage" as is. Click OK. Click OK on the original original window. Right click on the created key. Select "Backup Secret Keys" save it to a safe place, naming it [your name].gpg. Message to be sent to GTA: Write a text file containing a brief message, joke, or riddle for your GTA. Save this file as [your username].txt Example: Bill Board CS110-001 bboard@masonlive.gmu.edu A physicist, an engineer and a programmer were in a car driving over a steep alpine pass when the brakes failed. The car was getting faster and faster, they were struggling to get round the corners and once or twice only the feeble crash barrier saved them from
crashing down the side of the mountain. They were sure they were all going to die, when suddenly they spotted an escape lane. They pulled into the escape lane, and came safely to a halt. The physicist said "We need to model the friction in the brake pads and the resultant temperature rise, see if we can work out why they failed". The engineer said "I think I've got a few tools in the back. I'll take a look and see if I can work out what's wrong". The programmer said "Why don't we get going again and see if it's reproducible?" File saved as: "bboard.txt" Import your GTA's Public key: Download your GTA's public key from Piazza. In Kleopatra, click "Import". Select the public key you just downloaded. Encrypting and Submitting Part 1: Click on "Sign/Encrypt" Select your "<username>.txt" message file. Select ONLY "Encrypt for others" checkbox. Optional: Select "Encrypt for me" checkbox and select your id. (This allows you to decrypt the message as well). Type in the text box the name of the public key you saved (GTA, if that is the name you used) DO NOT Encrypt with a password. If you do, the GTA will not be able to decrypt it. Select "Encrypt" Your message should be saved as "<username>.txt.gpg". The default is "<username>.txt.sig", so be sure to change it. Back in Kleopatra, right click on your key and click "Export". Save the file as a .asc file. Submit this file along with your encoded message ("<username>.txt.gpg") in Part 1 of the Encryption Assignment on Blackboard. Wait… Your GTA will decrypt your encrypted text file, modify it, and then encrypt it with his/her private key and your public key. The encrypted file will then be uploaded back into your submission for Part 1. Be sure to check back from time to time until you see the uploaded file.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help