Skip to content

bluuuk/security-privacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment 1 - Authenticated and Secured Transport like TLS

How to set everything up

cd assignment1
virtualenv super
source ./super/bin/activate
pip install -r requirements.txt

This creates a virtual environment and installs the needed python packages.

How to execute everything

While still sourcing the virtual environment, go to the encryption folder

cd encryption

In the folder client is the file data.csv that is supposed to be encrypted, send to the server and decrypted. At the moment, it just contains a test string because the actual data send is to big to be pushed to the repo. Therefore, exchange the file with data.csv (name is hard coded, so please stick to it).

Open one bash terminal and start the server(delentture):

python3 server.py

Open one additional terminal and start the client(controlER)

python3 client.py

The Public/Private Key Pair

The Public/Private Key Pair for Server/Client was generated via openSSL.

openssl genrsa -out private.pem 2048 
openssl rsa -in .pem -outform PEM -pubout -out public.pem

Protocol

Protocol

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published