Skip to content

West-Computing-Club/SEP01-HW

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Service-Exchange-Keys-101

An introductory assignment for learning public/private-key exchange.

Difficulty: Medium.

Recommended level:

  • Ability to code and understand python
  • Some basic understanding of networks

Please read Background.md to gain some understanding of Key-Exchange.

Environment Setup

Linux + Python3 + Git. Other environments not tested, but all UNIX environments should work.

Run the following:

git clone https://github.com/mzen17/SEP01-HW.git
cd SEP01-HW
sudo python3 -m test.py

Why does this program need sudo? It turns out, to create a socket in Linux, one needs root access.

Notes

  • You should only be modifying the client.py file. Other files are system libraries.
  • Sometimes the code will hang. Ctrl+C to quit.

This is what tests passing should look like:

image

Task 1

  • Implement SAT sharing with basic calculations.
  • Ensure it says test1 passed.

Task 2

  • Implement decrypt and encrypt for strings->int and int->string
  • Utilize it during SAT sharing.
  • Ensure test2 passes.

Task 3

IP.

Discussion and need help?

We will review the program in lecture.

Post questions on the discord!

About

SEP01 is a testing program designated for introducing students to key exchange concepts in programs such as SSH or HTTPS.

Resources

License

Stars

Watchers

Forks

Contributors

Languages